Skip to content

Commit

Permalink
Merge branch 'main' into feat/certora
Browse files Browse the repository at this point in the history
  • Loading branch information
adhusson authored Oct 31, 2024
2 parents 79873ea + 726c7c1 commit 4040b02
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/forge/fork/Permit2BundlerForkTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ error InvalidNonce();
contract Permit2BundlerForkTest is ForkTest {
using SafeTransferLib for ERC20;

function testApprove2(uint256 seed, uint256 privateKey, uint256 deadline, uint256 amount) public {
function testApprove2(uint256 seed, uint256 privateKey, uint256 amount) public {
privateKey = bound(privateKey, 1, type(uint160).max);
deadline = bound(deadline, block.timestamp, type(uint48).max);
amount = bound(amount, MIN_AMOUNT, MAX_AMOUNT);

address user = vm.addr(privateKey);
Expand Down Expand Up @@ -41,9 +40,8 @@ contract Permit2BundlerForkTest is ForkTest {
Permit2Bundler(address(bundler)).approve2(permitSingle, signature, false);
}

function testApprove2InvalidNonce(uint256 seed, uint256 privateKey, uint256 deadline, uint256 amount) public {
function testApprove2InvalidNonce(uint256 seed, uint256 privateKey, uint256 amount) public {
privateKey = bound(privateKey, 1, type(uint160).max);
deadline = bound(deadline, block.timestamp, type(uint48).max);
amount = bound(amount, MIN_AMOUNT, MAX_AMOUNT);

address user = vm.addr(privateKey);
Expand Down

0 comments on commit 4040b02

Please sign in to comment.