removed state.nAssets

This commit is contained in:
tim
2025-10-29 19:35:41 -04:00
parent 20758cfb35
commit dd9b7474a6
9 changed files with 76 additions and 113 deletions

View File

@@ -426,7 +426,7 @@ contract NativeTest is Test {
uint256 aliceLpBefore = pool.balanceOf(alice);
// Call swapMint with native currency: deposit ETH as WETH (index 2)
(, uint256 lpMinted, ) = pool.swapMint{value: maxIn}(
(, uint256 lpMinted,) = pool.swapMint{value: maxIn}(
alice, // payer
alice, // receiver
2, // inputTokenIndex (WETH)
@@ -457,7 +457,7 @@ contract NativeTest is Test {
uint256 aliceEthBefore = alice.balance;
// Send excess native currency
(, uint256 lpMinted, ) = pool.swapMint{value: totalSent}(
(, uint256 lpMinted,) = pool.swapMint{value: totalSent}(
alice,
alice,
2, // WETH