Skip to content

Commit 07c2dff

Browse files
authored
Merge pull request #16 from classcool/mmsaki/asynswap-tests
update fuzz test constraints mmsaki/asynswap tests
2 parents e51f74a + e819b7d commit 07c2dff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/AsyncCSMM.t.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ contract AsyncCsmmTest is SetupHook {
6060
vm.stopPrank();
6161
}
6262

63-
function testFuzzAsyncSwap(AsyncOrder memory order) public {
63+
function testFuzzAsyncSwapAndFillOrder(AsyncOrder memory order) public {
6464
vm.assume(order.amountIn >= 1);
6565
vm.assume(order.amountIn < 2 ** 128 / 2);
66+
vm.assume(order.owner != address(manager));
67+
vm.assume(order.owner != address(hook));
6668
topUp(order.owner, order.amountIn);
6769
topUp(user2, order.amountIn);
6870
user = order.owner;

0 commit comments

Comments
 (0)