per-asset fees
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user