diff --git a/.gas-snapshot b/.gas-snapshot index fde0fadb..3b0e8a8c 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -60,8 +60,8 @@ testSafeTransferFromSelf() (gas: 59828) testFailMintToWrongReturnDataERC155Recipient() (gas: 263102) testInfiniteApproveTransferFrom() (gas: 387818) testApprove() (gas: 26558) -testMetaData() (gas: 6922) -testTransferFrom() (gas: 388156) +testMetaData() (gas: 6988) +testTransferFrom() (gas: 388134) testFailTransferFromInsufficientBalance() (gas: 359467) testFailPermitPastDeadline() (gas: 1467) testFailPermitReplay() (gas: 59219) diff --git a/src/test/ERC20.t.sol b/src/test/ERC20.t.sol index 522bd008..ee260034 100644 --- a/src/test/ERC20.t.sol +++ b/src/test/ERC20.t.sol @@ -287,11 +287,12 @@ contract ERC20Test is DSTestPlus { } function testPermit( - uint256 privateKey, + uint248 privKey, address to, uint256 amount, uint256 deadline ) public { + uint256 privateKey = privKey; if (deadline < block.timestamp) deadline = block.timestamp; if (privateKey == 0) privateKey = 1;