diff --git a/foundry.toml b/foundry.toml index 2aed72ce..f3a782d6 100644 --- a/foundry.toml +++ b/foundry.toml @@ -25,7 +25,7 @@ out = 'out-via-ir' src = 'src/interfaces/' [fuzz] -runs = 500 +runs = 10000 max_test_rejects = 1000000 [rpc_endpoints] diff --git a/test/unit/BPool.t.sol b/test/unit/BPool.t.sol index 862bcfc7..1b126824 100644 --- a/test/unit/BPool.t.sol +++ b/test/unit/BPool.t.sol @@ -326,9 +326,9 @@ contract BPool_Unit_JoinPool is Base { // } vm.assume(_fuzz.balance0 > MIN_BALANCE); - vm.assume(_fuzz.balance0 < MIN_BALANCE * 1000000); // TODO: found a better max + vm.assume(_fuzz.balance0 < type(uint256).max / BONE); // TODO: found a better max vm.assume(_fuzz.balance1 > MIN_BALANCE); - vm.assume(_fuzz.balance1 < MIN_BALANCE * 1000000); // TODO: found a better max + vm.assume(_fuzz.balance1 < type(uint256).max / BONE); // TODO: found a better max // vm.assume(_fuzz.balance2 < MIN_BALANCE * 1000000); // TODO: found a better max // vm.assume(_fuzz.balance2 > MIN_BALANCE); // vm.assume(_fuzz.balance3 < MIN_BALANCE * 1000000); // TODO: found a better max