Skip to content

Commit

Permalink
📐 Scaling tests
Browse files Browse the repository at this point in the history
  • Loading branch information
z0r0z committed Jan 21, 2024
1 parent de8f217 commit c2b041f
Show file tree
Hide file tree
Showing 4 changed files with 571 additions and 110 deletions.
37 changes: 19 additions & 18 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
DagonTest:testBurn(address,uint96) (runs: 256, μ: 152620, ~: 152620)
DagonTest:testDeploy() (gas: 2076167)
DagonScalesTest:testIsValidSignatureALOT() (gas: 34615892725)
DagonTest:testBurn(address,uint96) (runs: 256, μ: 152642, ~: 152642)
DagonTest:testDeploy() (gas: 2071165)
DagonTest:testFailBurnOverBalance(address,uint96) (runs: 256, μ: 187133, ~: 188222)
DagonTest:testFailBurnOverThreshold(address,uint96) (runs: 256, μ: 219319, ~: 220408)
DagonTest:testFailInvalidThresholdExceedsSupply() (gas: 159181)
DagonTest:testFailInvalidThresholdExceedsSupply() (gas: 159203)
DagonTest:testFailInvalidThresholdExceedsSupply2() (gas: 164582)
DagonTest:testFailInvalidThresholdNull() (gas: 158981)
DagonTest:testFailIsValidSignature2of3ForInsufficientSignatures() (gas: 199625)
DagonTest:testFailIsValidSignatureOutOfOrder() (gas: 236780)
DagonTest:testFailIsValidSignatureWeighted() (gas: 228757)
DagonTest:testFailIsValidSignatureWeightedERC1155() (gas: 37189)
DagonTest:testFailIsValidSignatureWeightedERC20() (gas: 237823)
DagonTest:testFailIsValidSignatureWeightedERC6909() (gas: 230379)
DagonTest:testFailIsValidSignatureWeightedERC721() (gas: 208687)
DagonTest:testFailSetTokenInvalidStd(address) (runs: 256, μ: 158162, ~: 158162)
DagonTest:testFailTransferFromInactiveAuth(address,address,uint96) (runs: 256, μ: 191674, ~: 192374)
DagonTest:testFailTransferOverBalance(address,address,uint96) (runs: 256, μ: 186437, ~: 187137)
DagonTest:testInstall() (gas: 137296)
DagonTest:testIsValidSignature() (gas: 150112)
DagonTest:testFailTransferFromInactiveAuth(address,address,uint96) (runs: 256, μ: 191618, ~: 192396)
DagonTest:testFailTransferOverBalance(address,address,uint96) (runs: 256, μ: 186281, ~: 187137)
DagonTest:testInstall() (gas: 137318)
DagonTest:testIsValidSignature() (gas: 150134)
DagonTest:testIsValidSignature2of3() (gas: 195901)
DagonTest:testIsValidSignature3of3() (gas: 203429)
DagonTest:testIsValidSignatureMany() (gas: 433972)
DagonTest:testIsValidSignatureOnchain() (gas: 196826)
DagonTest:testIsValidSignatureVeryMany() (gas: 1236384)
DagonTest:testIsValidSignatureMany() (gas: 433994)
DagonTest:testIsValidSignatureOnchain() (gas: 196848)
DagonTest:testIsValidSignatureVeryMany() (gas: 1236406)
DagonTest:testIsValidSignatureWeighted() (gas: 232474)
DagonTest:testIsValidSignatureWeightedERC1155() (gas: 247360)
DagonTest:testIsValidSignatureWeightedERC20() (gas: 247096)
DagonTest:testIsValidSignatureWeightedERC1155() (gas: 247382)
DagonTest:testIsValidSignatureWeightedERC20() (gas: 247118)
DagonTest:testIsValidSignatureWeightedERC6909() (gas: 247788)
DagonTest:testIsValidSignatureWeightedERC721() (gas: 208344)
DagonTest:testNameAndSymbolAndDecimals(uint256) (runs: 256, μ: 15425, ~: 15425)
DagonTest:testIsValidSignatureWeightedERC721() (gas: 208366)
DagonTest:testNameAndSymbolAndDecimals(uint256) (runs: 256, μ: 15447, ~: 15447)
DagonTest:testSetAuth(address) (runs: 256, μ: 144744, ~: 144744)
DagonTest:testSetThreshold() (gas: 147272)
DagonTest:testSetToken(address) (runs: 256, μ: 148604, ~: 148604)
DagonTest:testSetToken(address) (runs: 256, μ: 148626, ~: 148626)
DagonTest:testSetURI() (gas: 165570)
DagonTest:testSpoofSignatures(bytes) (runs: 256, μ: 16508, ~: 16437)
DagonTest:testTransfer(address,address,uint88) (runs: 256, μ: 175931, ~: 176787)
DagonTest:testTransferWithAuth(address,address,uint96) (runs: 256, μ: 179459, ~: 180256)
DagonTest:testUserVoted() (gas: 194800)
DagonTest:testTransferWithAuth(address,address,uint96) (runs: 256, μ: 179558, ~: 180278)
DagonTest:testUserVoted() (gas: 194822)
Loading

0 comments on commit c2b041f

Please sign in to comment.