per-asset fees
This commit is contained in:
@@ -721,7 +721,7 @@ contract PartyPoolTest is Test {
|
||||
|
||||
uint256 input = 10_000;
|
||||
// Call swapMint as alice, receive LP to alice
|
||||
uint256 minted = pool.swapMint(alice, alice, 0, input, 0);
|
||||
(, uint256 minted, ) = pool.swapMint(alice, alice, 0, input, 0);
|
||||
|
||||
// minted should be > 0
|
||||
assertTrue(minted > 0, "swapMint should mint LP");
|
||||
@@ -751,7 +751,7 @@ contract PartyPoolTest is Test {
|
||||
|
||||
uint256 aliceBalBefore = token0.balanceOf(alice);
|
||||
|
||||
uint256 minted = pool.swapMint(alice, alice, 0, largeInput, 0);
|
||||
(, uint256 minted, ) = pool.swapMint(alice, alice, 0, largeInput, 0);
|
||||
|
||||
// minted should be > 0
|
||||
assertTrue(minted > 0, "swapMint large input should still mint LP");
|
||||
|
||||
Reference in New Issue
Block a user