Skip to content

Commit

Permalink
gas
Browse files Browse the repository at this point in the history
  • Loading branch information
snreynolds committed Nov 9, 2022
1 parent 6440231 commit cedb045
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
143347
146412
2 changes: 1 addition & 1 deletion .forge-snapshots/permitBatchTransferFromSingleToken.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
88797
91861
2 changes: 1 addition & 1 deletion .forge-snapshots/permitTransferFromBatchTypedWitness.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
121164
124230
2 changes: 1 addition & 1 deletion .forge-snapshots/permitTransferFromCompactSig.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
88532
91597
2 changes: 1 addition & 1 deletion .forge-snapshots/permitTransferFromSingleToken.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
88584
91649
2 changes: 1 addition & 1 deletion .forge-snapshots/permitTransferFromTypedWitness.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
91004
94069
2 changes: 1 addition & 1 deletion .forge-snapshots/single recipient 2 tokens.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
118470
121535
2 changes: 1 addition & 1 deletion .forge-snapshots/single recipient many tokens.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
133612
136679
63 changes: 32 additions & 31 deletions .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ CompactSignature:testCompactSignature27() (gas: 253)
CompactSignature:testCompactSignature28() (gas: 141)
EIP712Test:testDomainSeparator() (gas: 5759)
EIP712Test:testDomainSeparatorAfterFork() (gas: 10652)
NonceBitmapTest:testHighNonces() (gas: 35958)
NonceBitmapTest:testInvalidateFullWord() (gas: 62805)
NonceBitmapTest:testInvalidateNonzeroWord() (gas: 85285)
NonceBitmapTest:testLowNonces() (gas: 40671)
NonceBitmapTest:testNonceWordBoundary() (gas: 42042)
NonceBitmapTest:testUseTwoRandomNonces(uint256,uint256) (runs: 256, μ: 48832, ~: 51523)
NonceBitmapTest:testUsingNonceTwiceFails(uint256) (runs: 256, μ: 21775, ~: 21798)
NonceBitmapTest:testHighNonces() (gas: 40742)
NonceBitmapTest:testInvalidateFullWord() (gas: 78128)
NonceBitmapTest:testInvalidateNonzeroWord() (gas: 91181)
NonceBitmapTest:testLowNonces() (gas: 47153)
NonceBitmapTest:testNonceLLL() (gas: 24694)
NonceBitmapTest:testNonceWordBoundary() (gas: 45869)
NonceBitmapTest:testUseTwoRandomNonces(uint256,uint256) (runs: 256, μ: 52455, ~: 55157)
NonceBitmapTest:testUsingNonceTwiceFails(uint256) (runs: 256, μ: 24698, ~: 24720)
Permit2LibTest:testOZSafePermit() (gas: 24311)
Permit2LibTest:testOZSafePermitPlusOZSafeTransferFrom() (gas: 129066)
Permit2LibTest:testOZSafeTransferFrom() (gas: 38787)
Expand All @@ -50,28 +51,28 @@ Permit2LibTest:testTransferFrom2() (gas: 38404)
Permit2LibTest:testTransferFrom2Full() (gas: 53437)
Permit2LibTest:testTransferFrom2InvalidAmount() (gas: 12519)
Permit2LibTest:testTransferFrom2NonPermitToken() (gas: 53305)
SignatureTransferTest:testGasMultiplePermitBatchTransferFrom() (gas: 270806)
SignatureTransferTest:testGasSinglePermitBatchTransferFrom() (gas: 186156)
SignatureTransferTest:testGasSinglePermitTransferFrom() (gas: 123942)
SignatureTransferTest:testInvalidateUnorderedNonces() (gas: 41090)
SignatureTransferTest:testPermitBatchTransferFrom() (gas: 161923)
SignatureTransferTest:testPermitBatchTransferFromSingleRecipient() (gas: 190202)
SignatureTransferTest:testPermitBatchTransferFromTypedWitness() (gas: 242340)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidType() (gas: 87187)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidTypeHash() (gas: 86650)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidTypeName() (gas: 88123)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidWitness() (gas: 88168)
SignatureTransferTest:testGasMultiplePermitBatchTransferFrom() (gas: 273871)
SignatureTransferTest:testGasSinglePermitBatchTransferFrom() (gas: 189220)
SignatureTransferTest:testGasSinglePermitTransferFrom() (gas: 127007)
SignatureTransferTest:testInvalidateUnorderedNonces() (gas: 43542)
SignatureTransferTest:testPermitBatchTransferFrom() (gas: 164988)
SignatureTransferTest:testPermitBatchTransferFromSingleRecipient() (gas: 193267)
SignatureTransferTest:testPermitBatchTransferFromTypedWitness() (gas: 245406)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidType() (gas: 90253)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidTypeHash() (gas: 89716)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidTypeName() (gas: 91189)
SignatureTransferTest:testPermitBatchTransferFromTypedWitnessInvalidWitness() (gas: 91234)
SignatureTransferTest:testPermitBatchTransferInvalidAmountsLengthMismatch() (gas: 43738)
SignatureTransferTest:testPermitBatchTransferMultiAddr() (gas: 160297)
SignatureTransferTest:testPermitBatchTransferSingleRecipientManyTokens() (gas: 211821)
SignatureTransferTest:testPermitTransferFrom() (gas: 93055)
SignatureTransferTest:testPermitTransferFromCompactSig() (gas: 124006)
SignatureTransferTest:testPermitTransferFromIncorrectSigLength() (gas: 51277)
SignatureTransferTest:testPermitTransferFromInvalidNonce() (gas: 73250)
SignatureTransferTest:testPermitTransferFromRandomNonceAndAmount(uint256,uint128) (runs: 256, μ: 95689, ~: 96665)
SignatureTransferTest:testPermitTransferFromToSpender() (gas: 93341)
SignatureTransferTest:testPermitTransferFromTypedWitness() (gas: 127811)
SignatureTransferTest:testPermitTransferFromTypedWitnessInvalidType() (gas: 58515)
SignatureTransferTest:testPermitTransferFromTypedWitnessInvalidTypeName() (gas: 59569)
SignatureTransferTest:testPermitTransferFromTypedWitnessInvalidTypehash() (gas: 57505)
SignatureTransferTest:testPermitTransferSpendLessThanFull(uint256,uint128) (runs: 256, μ: 98024, ~: 99742)
SignatureTransferTest:testPermitBatchTransferMultiAddr() (gas: 163362)
SignatureTransferTest:testPermitBatchTransferSingleRecipientManyTokens() (gas: 214888)
SignatureTransferTest:testPermitTransferFrom() (gas: 96120)
SignatureTransferTest:testPermitTransferFromCompactSig() (gas: 127071)
SignatureTransferTest:testPermitTransferFromIncorrectSigLength() (gas: 54341)
SignatureTransferTest:testPermitTransferFromInvalidNonce() (gas: 76880)
SignatureTransferTest:testPermitTransferFromRandomNonceAndAmount(uint256,uint128) (runs: 256, μ: 98754, ~: 99730)
SignatureTransferTest:testPermitTransferFromToSpender() (gas: 96406)
SignatureTransferTest:testPermitTransferFromTypedWitness() (gas: 130876)
SignatureTransferTest:testPermitTransferFromTypedWitnessInvalidType() (gas: 61580)
SignatureTransferTest:testPermitTransferFromTypedWitnessInvalidTypeName() (gas: 62634)
SignatureTransferTest:testPermitTransferFromTypedWitnessInvalidTypehash() (gas: 60570)
SignatureTransferTest:testPermitTransferSpendLessThanFull(uint256,uint128) (runs: 256, μ: 101089, ~: 102807)

0 comments on commit cedb045

Please sign in to comment.