diff --git a/.gas-snapshot b/.gas-snapshot index d63bdd7..90959ec 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -1,194 +1,194 @@ -ACLManagerTest:testCannotGrantACLManagerRole() (gas: 12206) -ACLManagerTest:testCannotGrantRoleByNonACLManager() (gas: 17353) -ACLManagerTest:testCannotGrantRoleToZeroAddress() (gas: 12195) -ACLManagerTest:testCannotRenounceRoleByACLManager() (gas: 12056) -ACLManagerTest:testCannotRenounceRoleByAttacker() (gas: 12346) -ACLManagerTest:testCannotTransferRoleByAttacker() (gas: 12473) -ACLManagerTest:testCannotTransferRoleToZeroAddress() (gas: 12193) -ACLManagerTest:testGrantRole() (gas: 23547) -ACLManagerTest:testRenounceRole() (gas: 27841) -ACLManagerTest:testRoles() (gas: 15393) -ACLManagerTest:testTransferRole() (gas: 21528) -BillboardTest:testApproveAndTransfer() (gas: 258132) -BillboardTest:testCalculateTax() (gas: 539822) -BillboardTest:testCannnotWithdrawTaxIfZero() (gas: 20140) -BillboardTest:testCannotApproveByAttacker() (gas: 224303) -BillboardTest:testCannotCalculateTax() (gas: 218883) -BillboardTest:testCannotClearAuctionIfAuctionNotEnded() (gas: 255576) -BillboardTest:testCannotClearAuctionIfClosed() (gas: 252825) -BillboardTest:testCannotClearAuctionIfNoBid() (gas: 260776) -BillboardTest:testCannotGetBlockFromEpoch() (gas: 8600) -BillboardTest:testCannotGetEpochFromBlock() (gas: 18393) -BillboardTest:testCannotPlaceBidIfAuctionEnded() (gas: 282966) -BillboardTest:testCannotPlaceBidIfClosed() (gas: 252745) -BillboardTest:testCannotPlaceBidIfNotWhitelisted() (gas: 465624) -BillboardTest:testCannotSafeTransferByAttacker() (gas: 221525) -BillboardTest:testCannotSetBoardByAttacker() (gas: 229589) -BillboardTest:testCannotSetBoardByOwner() (gas: 362030) -BillboardTest:testCannotSetClosedByAttacker() (gas: 228479) -BillboardTest:testCannotSetWhitelistByAttacker() (gas: 228664) -BillboardTest:testCannotTransferByOperator() (gas: 226771) -BillboardTest:testCannotTransferToZeroAddress() (gas: 222258) -BillboardTest:testCannotUpgradeRegistryByAttacker() (gas: 9017) -BillboardTest:testCannotWithdrawBidIfAuctionNotEndedOrCleared(uint96) (runs: 257, μ: 632850, ~: 632850) -BillboardTest:testCannotWithdrawBidIfNotFound(uint96) (runs: 257, μ: 750346, ~: 750346) -BillboardTest:testCannotWithdrawBidIfWon(uint96) (runs: 257, μ: 1026516, ~: 1026516) -BillboardTest:testCannotWithdrawBidTwice(uint96) (runs: 257, μ: 1111002, ~: 1111002) -BillboardTest:testClearAuction(uint96) (runs: 257, μ: 731815, ~: 731815) -BillboardTest:testClearAuctionIfAlreadyCleared() (gas: 738895) -BillboardTest:testClearAuctions() (gas: 1315317) -BillboardTest:testClearLastAuction(uint96) (runs: 257, μ: 732739, ~: 732739) -BillboardTest:testClearLastAuctions() (gas: 1332619) -BillboardTest:testGetBidderBids(uint8,uint8,uint8) (runs: 256, μ: 1508601, ~: 1140537) -BillboardTest:testGetBids(uint8,uint8,uint8) (runs: 256, μ: 8312589, ~: 6311372) -BillboardTest:testGetBlockFromEpoch() (gas: 16893) -BillboardTest:testGetEpochFromBlock() (gas: 17903) -BillboardTest:testGetTokenURI() (gas: 391345) -BillboardTest:testMintBoard() (gas: 585666) -BillboardTest:testPlaceBid(uint96) (runs: 257, μ: 840082, ~: 840702) -BillboardTest:testPlaceBidIfBoardWhitelistDisabled() (gas: 598166) -BillboardTest:testPlaceBidWithHigherPrice(uint96) (runs: 257, μ: 1011527, ~: 1011532) -BillboardTest:testPlaceBidWithSamePrices(uint96) (runs: 257, μ: 908846, ~: 909776) -BillboardTest:testPlaceBidZeroPrice() (gas: 432705) -BillboardTest:testSafeTransferByOperator() (gas: 235259) -BillboardTest:testSetBidURIs() (gas: 659834) -BillboardTest:testSetBoardByCreator() (gas: 342395) -BillboardTest:testSetBoardWhitelistDisabled() (gas: 244401) -BillboardTest:testSetClosed() (gas: 241110) -BillboardTest:testSetWhitelist() (gas: 245426) -BillboardTest:testUpgradeRegistry() (gas: 3924811) -BillboardTest:testWithdrawBid(uint96) (runs: 257, μ: 1098966, ~: 1098966) -BillboardTest:testWithdrawBidIfClosed(uint96) (runs: 257, μ: 697036, ~: 697036) -BillboardTest:testWithdrawTax(uint96) (runs: 257, μ: 737116, ~: 737116) -CurationTest:testCannotCurateERC20CurateZeroAmount() (gas: 12194) -CurationTest:testCannotCurateERC20EmptyURI() (gas: 15797) -CurationTest:testCannotCurateERC20IfNotApproval() (gas: 21624) -CurationTest:testCannotCurateERC20SelfCuration() (gas: 16031) -CurationTest:testCannotCurateERC20ZeroAddress() (gas: 15899) -CurationTest:testCannotCurateNativeTokenCurateZeroAmount() (gas: 9958) -CurationTest:testCannotCurateNativeTokenEmptyURI() (gas: 16468) -CurationTest:testCannotCurateNativeTokenSelfCuration() (gas: 16713) -CurationTest:testCannotCurateNativeTokenToContractRejector() (gas: 28554) -CurationTest:testCannotCurateNativeTokenZeroAddress() (gas: 16488) -CurationTest:testERC20Curation() (gas: 59908) -CurationTest:testNativeTokenCuration() (gas: 60085) -CurationTest:testNativeTokenCurationToContractAcceptor() (gas: 37466) -DistributionTest:testCannotClaimIfAlreadyClaimed() (gas: 284835) -DistributionTest:testCannotClaimIfInsufficientBalance() (gas: 394264) -DistributionTest:testCannotClaimIfInvalidProof() (gas: 245236) -DistributionTest:testCannotClaimIfInvalidTreeId() (gas: 243332) -DistributionTest:testCannotDropIfInsufficientAllowance(uint256) (runs: 257, μ: 212269, ~: 212283) -DistributionTest:testCannotDropIfInsufficientBalance(uint256) (runs: 257, μ: 214708, ~: 214740) -DistributionTest:testCannotDropIfZeroAmount() (gas: 148793) -DistributionTest:testCannotDropTwiceWithSameTreeId() (gas: 307260) -DistributionTest:testCannotSetAdminByAdmin() (gas: 17334) -DistributionTest:testCannotSetAdminByAttacker() (gas: 11134) -DistributionTest:testCannotSweepByAttacker() (gas: 230223) -DistributionTest:testCannotSweepIfZeroBalance() (gas: 232141) -DistributionTest:testClaim() (gas: 414576) -DistributionTest:testDrop() (gas: 568791) -DistributionTest:testSetAdmin() (gas: 20239) -DistributionTest:testSweep() (gas: 253087) -LogbookNFTSVGTest:testTokenURI(uint8,uint8,uint16) (runs: 257, μ: 2619845, ~: 1746470) -LogbookTest:testClaim() (gas: 135608) -LogbookTest:testDonate(uint96) (runs: 257, μ: 156550, ~: 156936) -LogbookTest:testDonateWithCommission(uint96,uint96) (runs: 257, μ: 146785, ~: 140444) -LogbookTest:testFork(uint96,string) (runs: 257, μ: 452546, ~: 453928) -LogbookTest:testForkRecursively(uint8,uint96) (runs: 257, μ: 5369772, ~: 1801537) -LogbookTest:testForkWithCommission(uint96,string,uint256) (runs: 257, μ: 342135, ~: 257636) -LogbookTest:testMulticall() (gas: 284999) -LogbookTest:testPublicSale() (gas: 207337) -LogbookTest:testPublish(string) (runs: 257, μ: 264063, ~: 263590) -LogbookTest:testPublishEn1000() (gas: 243477) -LogbookTest:testPublishEn140() (gas: 221241) -LogbookTest:testPublishEn200() (gas: 222826) -LogbookTest:testPublishEn2000() (gas: 270020) -LogbookTest:testPublishEn300() (gas: 225284) -LogbookTest:testPublishEn50() (gas: 218722) -LogbookTest:testPublishEn500() (gas: 230268) -LogbookTest:testPublishEn5000() (gas: 348496) -LogbookTest:testPublishZh100() (gas: 224502) -LogbookTest:testPublishZh20() (gas: 218704) -LogbookTest:testPublishZh200() (gas: 231104) -LogbookTest:testPublishZh2000() (gas: 371155) -LogbookTest:testPublishZh50() (gas: 221152) -LogbookTest:testPublishZh500() (gas: 250956) -LogbookTest:testPublishZh5000() (gas: 607690) -LogbookTest:testSetDescription() (gas: 140760) -LogbookTest:testSetForkPrice() (gas: 153925) -LogbookTest:testSetTitle() (gas: 168680) -LogbookTest:testSplitRoyalty(uint8,uint8,uint96) (runs: 257, μ: 1969363, ~: 965338) -LogbookTest:testWithdraw() (gas: 7284400) -SnapperTest:testCannotInitRegionByNotOwner() (gas: 11365) -SnapperTest:testCannotReInitRegion() (gas: 14373) -SnapperTest:testCannotTakeSnapshotBeforeInit() (gas: 15717) -SnapperTest:testCannotTakeSnapshotByNotOwner() (gas: 12478) -SnapperTest:testCannotTakeSnapshotWrongLastBlock() (gas: 49242) -SnapperTest:testCannotTakeSnapshotWrongSnapshotBlock() (gas: 23899) -SnapperTest:testInitRegion(uint256) (runs: 257, μ: 114408, ~: 114408) -SnapperTest:testTakeSnapshot() (gas: 47831) -TheSpaceTest:testBatchBid() (gas: 695308) -TheSpaceTest:testBatchSetPixels(uint16,uint8) (runs: 257, μ: 371405, ~: 372904) -TheSpaceTest:testBidDefaultedToken() (gas: 413399) -TheSpaceTest:testBidExistingToken() (gas: 360023) -TheSpaceTest:testBidNewToken() (gas: 303729) -TheSpaceTest:testCanTransferFromIfSettleTax() (gas: 357547) -TheSpaceTest:testCannotBidExceedAllowance() (gas: 60910) -TheSpaceTest:testCannotBidOutBoundTokens() (gas: 260482) -TheSpaceTest:testCannotBidPriceTooLow() (gas: 344174) -TheSpaceTest:testCannotGetTaxWithNonExistingToken() (gas: 16379) -TheSpaceTest:testCannotGetTokenURIInLogicContract() (gas: 300973) -TheSpaceTest:testCannotSetColorByAttacker() (gas: 305326) -TheSpaceTest:testCannotSetConfigByAttacker() (gas: 12031) -TheSpaceTest:testCannotSetPixel(uint256) (runs: 256, μ: 314857, ~: 314857) -TheSpaceTest:testCannotSetPriceByNonOwner() (gas: 305424) -TheSpaceTest:testCannotSetTokenImageURIByNonACLManager() (gas: 11862) -TheSpaceTest:testCannotSetTotalSupplyByAttacker() (gas: 11836) -TheSpaceTest:testCannotTransferFromIfDefault() (gas: 398147) -TheSpaceTest:testCannotUpgradeByAttacker() (gas: 11517) -TheSpaceTest:testCollectableTax() (gas: 335864) -TheSpaceTest:testDefault() (gas: 394548) -TheSpaceTest:testGetConfig() (gas: 14302) -TheSpaceTest:testGetExistingPixel() (gas: 311906) -TheSpaceTest:testGetNonExistingPixel() (gas: 60303) -TheSpaceTest:testGetNonExistingPrice() (gas: 19529) -TheSpaceTest:testGetOwner() (gas: 351931) -TheSpaceTest:testGetOwnerOfNonExistingToken() (gas: 13346) -TheSpaceTest:testGetPixelsByOwnerWithNoPixels() (gas: 24348) -TheSpaceTest:testGetPixelsByOwnerWithOnePixel() (gas: 321800) -TheSpaceTest:testGetPixelsPageByOwnerWithPixels() (gas: 588454) -TheSpaceTest:testGetPrice() (gas: 300501) -TheSpaceTest:testGetTax() (gas: 380480) -TheSpaceTest:testGetTokenImageURI() (gas: 14285) -TheSpaceTest:testGetTokenURI() (gas: 333462) -TheSpaceTest:testSetColor() (gas: 331348) -TheSpaceTest:testSetMintTax() (gas: 271715) -TheSpaceTest:testSetPixel(uint256) (runs: 256, μ: 403816, ~: 403816) -TheSpaceTest:testSetPrice(uint256) (runs: 256, μ: 304652, ~: 304652) -TheSpaceTest:testSetPriceByOperator(uint96) (runs: 257, μ: 354785, ~: 354785) -TheSpaceTest:testSetPriceTooHigh() (gas: 314504) -TheSpaceTest:testSetTaxRate() (gas: 347951) -TheSpaceTest:testSetTokenImageURI() (gas: 355813) -TheSpaceTest:testSetTotalSupply(uint256) (runs: 257, μ: 352202, ~: 352208) -TheSpaceTest:testSetTreasuryShare() (gas: 384288) -TheSpaceTest:testSettleTax() (gas: 339465) -TheSpaceTest:testTaxCalculation() (gas: 402405) -TheSpaceTest:testTokenShouldBeDefaulted() (gas: 325529) -TheSpaceTest:testTotalSupply() (gas: 7613) -TheSpaceTest:testUpgradeTo() (gas: 3215197) -TheSpaceTest:testWithdrawTreasury() (gas: 355172) -TheSpaceTest:testWithdrawUBI() (gas: 378319) -VaultTest:testCannotCurationInvalidURI() (gas: 12033) -VaultTest:testCannotCurationZeroAmount() (gas: 12358) -VaultTest:testCannotCurationZeroNativeAmount() (gas: 10004) -VaultTest:testCannotSetZeroSigner() (gas: 11066) -VaultTest:testCannotWithdrawAlreadyWithdrawn() (gas: 100199) -VaultTest:testCannotWithdrawExpired() (gas: 13075) -VaultTest:testCannotWithdrawInvalidSignature() (gas: 40010) -VaultTest:testCannotWithdrawZeroAddress() (gas: 11663) -VaultTest:testCannotWithdrawZeroAmount() (gas: 44392) -VaultTest:testERC20Curation(uint256) (runs: 256, μ: 81202, ~: 81202) -VaultTest:testERC20Withdrawal(uint256) (runs: 256, μ: 112216, ~: 112219) -VaultTest:testNativeCuration(uint256) (runs: 256, μ: 47876, ~: 47876) -VaultTest:testNativeWithdrawal(uint256) (runs: 256, μ: 98483, ~: 98483) -VaultTest:testSetSigner() (gas: 19504) \ No newline at end of file +ACLManagerTest:testCannotGrantACLManagerRole() (gas: 12192) +ACLManagerTest:testCannotGrantRoleByNonACLManager() (gas: 17349) +ACLManagerTest:testCannotGrantRoleToZeroAddress() (gas: 12248) +ACLManagerTest:testCannotRenounceRoleByACLManager() (gas: 12042) +ACLManagerTest:testCannotRenounceRoleByAttacker() (gas: 12344) +ACLManagerTest:testCannotTransferRoleByAttacker() (gas: 12581) +ACLManagerTest:testCannotTransferRoleToZeroAddress() (gas: 12179) +ACLManagerTest:testGrantRole() (gas: 24738) +ACLManagerTest:testRenounceRole() (gas: 29012) +ACLManagerTest:testRoles() (gas: 19079) +ACLManagerTest:testTransferRole() (gas: 22694) +BillboardTest:testApproveAndTransfer() (gas: 259269) +BillboardTest:testCalculateTax() (gas: 541017) +BillboardTest:testCannnotWithdrawTaxIfZero() (gas: 20868) +BillboardTest:testCannotApproveByAttacker() (gas: 224299) +BillboardTest:testCannotCalculateTax() (gas: 218868) +BillboardTest:testCannotClearAuctionIfAuctionNotEnded() (gas: 255649) +BillboardTest:testCannotClearAuctionIfClosed() (gas: 252924) +BillboardTest:testCannotClearAuctionIfNoBid() (gas: 260908) +BillboardTest:testCannotGetBlockFromEpoch() (gas: 8608) +BillboardTest:testCannotGetEpochFromBlock() (gas: 18458) +BillboardTest:testCannotPlaceBidIfAuctionEnded() (gas: 283039) +BillboardTest:testCannotPlaceBidIfClosed() (gas: 252821) +BillboardTest:testCannotPlaceBidIfNotWhitelisted() (gas: 527857) +BillboardTest:testCannotSafeTransferByAttacker() (gas: 221555) +BillboardTest:testCannotSetBoardByAttacker() (gas: 229639) +BillboardTest:testCannotSetBoardByOwner() (gas: 363205) +BillboardTest:testCannotSetClosedByAttacker() (gas: 228495) +BillboardTest:testCannotSetWhitelistByAttacker() (gas: 228746) +BillboardTest:testCannotTransferByOperator() (gas: 226742) +BillboardTest:testCannotTransferToZeroAddress() (gas: 222288) +BillboardTest:testCannotUpgradeRegistryByAttacker() (gas: 9003) +BillboardTest:testCannotWithdrawBidIfAuctionNotEndedOrCleared(uint96) (runs: 257, μ: 673872, ~: 673872) +BillboardTest:testCannotWithdrawBidIfNotFound(uint96) (runs: 257, μ: 791436, ~: 791436) +BillboardTest:testCannotWithdrawBidIfWon(uint96) (runs: 257, μ: 1104486, ~: 1104486) +BillboardTest:testCannotWithdrawBidTwice(uint96) (runs: 257, μ: 1189337, ~: 1189337) +BillboardTest:testClearAuction(uint96) (runs: 257, μ: 777201, ~: 777201) +BillboardTest:testClearAuctionIfAlreadyCleared() (gas: 782179) +BillboardTest:testClearAuctions() (gas: 1394642) +BillboardTest:testClearLastAuction(uint96) (runs: 257, μ: 774882, ~: 774882) +BillboardTest:testClearLastAuctions() (gas: 1411283) +BillboardTest:testGetBidderBids(uint8,uint8,uint8) (runs: 256, μ: 1556239, ~: 1181974) +BillboardTest:testGetBids(uint8,uint8,uint8) (runs: 256, μ: 9136192, ~: 7012649) +BillboardTest:testGetBlockFromEpoch() (gas: 23595) +BillboardTest:testGetEpochFromBlock() (gas: 25031) +BillboardTest:testGetTokenURI() (gas: 391841) +BillboardTest:testMintBoard() (gas: 590673) +BillboardTest:testPlaceBid(uint96) (runs: 257, μ: 884762, ~: 885382) +BillboardTest:testPlaceBidIfBoardWhitelistDisabled() (gas: 639837) +BillboardTest:testPlaceBidWithHigherPrice(uint96) (runs: 257, μ: 1079113, ~: 1079120) +BillboardTest:testPlaceBidWithSamePrices(uint96) (runs: 257, μ: 989245, ~: 990175) +BillboardTest:testPlaceBidZeroPrice() (gas: 434965) +BillboardTest:testSafeTransferByOperator() (gas: 235639) +BillboardTest:testSetBidURIs() (gas: 701970) +BillboardTest:testSetBoardByCreator() (gas: 343614) +BillboardTest:testSetBoardWhitelistDisabled() (gas: 245614) +BillboardTest:testSetClosed() (gas: 241913) +BillboardTest:testSetWhitelist() (gas: 246639) +BillboardTest:testUpgradeRegistry() (gas: 3926536) +BillboardTest:testWithdrawBid(uint96) (runs: 257, μ: 1178470, ~: 1178470) +BillboardTest:testWithdrawBidIfClosed(uint96) (runs: 257, μ: 738733, ~: 738733) +BillboardTest:testWithdrawTax(uint96) (runs: 257, μ: 779613, ~: 779613) +CurationTest:testCannotCurateERC20CurateZeroAmount() (gas: 12217) +CurationTest:testCannotCurateERC20EmptyURI() (gas: 15730) +CurationTest:testCannotCurateERC20IfNotApproval() (gas: 21581) +CurationTest:testCannotCurateERC20SelfCuration() (gas: 15988) +CurationTest:testCannotCurateERC20ZeroAddress() (gas: 15878) +CurationTest:testCannotCurateNativeTokenCurateZeroAmount() (gas: 9934) +CurationTest:testCannotCurateNativeTokenEmptyURI() (gas: 16487) +CurationTest:testCannotCurateNativeTokenSelfCuration() (gas: 16689) +CurationTest:testCannotCurateNativeTokenToContractRejector() (gas: 28511) +CurationTest:testCannotCurateNativeTokenZeroAddress() (gas: 16484) +CurationTest:testERC20Curation() (gas: 60640) +CurationTest:testNativeTokenCuration() (gas: 60835) +CurationTest:testNativeTokenCurationToContractAcceptor() (gas: 38198) +DistributionTest:testCannotClaimIfAlreadyClaimed() (gas: 317456) +DistributionTest:testCannotClaimIfInsufficientBalance() (gas: 456722) +DistributionTest:testCannotClaimIfInvalidProof() (gas: 277884) +DistributionTest:testCannotClaimIfInvalidTreeId() (gas: 275999) +DistributionTest:testCannotDropIfInsufficientAllowance(uint256) (runs: 257, μ: 244916, ~: 244931) +DistributionTest:testCannotDropIfInsufficientBalance(uint256) (runs: 257, μ: 247409, ~: 247439) +DistributionTest:testCannotDropIfZeroAmount() (gas: 181400) +DistributionTest:testCannotDropTwiceWithSameTreeId() (gas: 342882) +DistributionTest:testCannotSetAdminByAdmin() (gas: 17820) +DistributionTest:testCannotSetAdminByAttacker() (gas: 11076) +DistributionTest:testCannotSweepByAttacker() (gas: 262925) +DistributionTest:testCannotSweepIfZeroBalance() (gas: 264825) +DistributionTest:testClaim() (gas: 448837) +DistributionTest:testDrop() (gas: 635704) +DistributionTest:testSetAdmin() (gas: 20673) +DistributionTest:testSweep() (gas: 286740) +LogbookNFTSVGTest:testTokenURI(uint8,uint8,uint16) (runs: 257, μ: 2623005, ~: 1751415) +LogbookTest:testClaim() (gas: 137550) +LogbookTest:testDonate(uint96) (runs: 257, μ: 158117, ~: 158503) +LogbookTest:testDonateWithCommission(uint96,uint96) (runs: 257, μ: 149698, ~: 142033) +LogbookTest:testFork(uint96,string) (runs: 257, μ: 454991, ~: 456384) +LogbookTest:testForkRecursively(uint8,uint96) (runs: 257, μ: 4889838, ~: 1807501) +LogbookTest:testForkWithCommission(uint96,string,uint256) (runs: 257, μ: 355984, ~: 259645) +LogbookTest:testMulticall() (gas: 286532) +LogbookTest:testPublicSale() (gas: 210378) +LogbookTest:testPublish(string) (runs: 257, μ: 267229, ~: 266756) +LogbookTest:testPublishEn1000() (gas: 245448) +LogbookTest:testPublishEn140() (gas: 223081) +LogbookTest:testPublishEn200() (gas: 224730) +LogbookTest:testPublishEn2000() (gas: 271947) +LogbookTest:testPublishEn300() (gas: 227255) +LogbookTest:testPublishEn50() (gas: 220693) +LogbookTest:testPublishEn500() (gas: 232261) +LogbookTest:testPublishEn5000() (gas: 350445) +LogbookTest:testPublishZh100() (gas: 226451) +LogbookTest:testPublishZh20() (gas: 220631) +LogbookTest:testPublishZh200() (gas: 233053) +LogbookTest:testPublishZh2000() (gas: 373082) +LogbookTest:testPublishZh50() (gas: 223079) +LogbookTest:testPublishZh500() (gas: 252927) +LogbookTest:testPublishZh5000() (gas: 609639) +LogbookTest:testSetDescription() (gas: 142324) +LogbookTest:testSetForkPrice() (gas: 155901) +LogbookTest:testSetTitle() (gas: 170257) +LogbookTest:testSplitRoyalty(uint8,uint8,uint96) (runs: 257, μ: 1960000, ~: 1301133) +LogbookTest:testWithdraw() (gas: 7313564) +SnapperTest:testCannotInitRegionByNotOwner() (gas: 11417) +SnapperTest:testCannotReInitRegion() (gas: 14491) +SnapperTest:testCannotTakeSnapshotBeforeInit() (gas: 15814) +SnapperTest:testCannotTakeSnapshotByNotOwner() (gas: 12530) +SnapperTest:testCannotTakeSnapshotWrongLastBlock() (gas: 49487) +SnapperTest:testCannotTakeSnapshotWrongSnapshotBlock() (gas: 24070) +SnapperTest:testInitRegion(uint256) (runs: 257, μ: 115756, ~: 115756) +SnapperTest:testTakeSnapshot() (gas: 49361) +TheSpaceTest:testBatchBid() (gas: 696515) +TheSpaceTest:testBatchSetPixels(uint16,uint8) (runs: 257, μ: 372152, ~: 373676) +TheSpaceTest:testBidDefaultedToken() (gas: 415255) +TheSpaceTest:testBidExistingToken() (gas: 362302) +TheSpaceTest:testBidNewToken() (gas: 304528) +TheSpaceTest:testCanTransferFromIfSettleTax() (gas: 358718) +TheSpaceTest:testCannotBidExceedAllowance() (gas: 60926) +TheSpaceTest:testCannotBidOutBoundTokens() (gas: 260501) +TheSpaceTest:testCannotBidPriceTooLow() (gas: 344244) +TheSpaceTest:testCannotGetTaxWithNonExistingToken() (gas: 16387) +TheSpaceTest:testCannotGetTokenURIInLogicContract() (gas: 301027) +TheSpaceTest:testCannotSetColorByAttacker() (gas: 305380) +TheSpaceTest:testCannotSetConfigByAttacker() (gas: 12039) +TheSpaceTest:testCannotSetPixel(uint256) (runs: 256, μ: 314908, ~: 314908) +TheSpaceTest:testCannotSetPriceByNonOwner() (gas: 305523) +TheSpaceTest:testCannotSetTokenImageURIByNonACLManager() (gas: 11804) +TheSpaceTest:testCannotSetTotalSupplyByAttacker() (gas: 11866) +TheSpaceTest:testCannotTransferFromIfDefault() (gas: 399037) +TheSpaceTest:testCannotUpgradeByAttacker() (gas: 11547) +TheSpaceTest:testCollectableTax() (gas: 337337) +TheSpaceTest:testDefault() (gas: 395486) +TheSpaceTest:testGetConfig() (gas: 17967) +TheSpaceTest:testGetExistingPixel() (gas: 313056) +TheSpaceTest:testGetNonExistingPixel() (gas: 61459) +TheSpaceTest:testGetNonExistingPrice() (gas: 22372) +TheSpaceTest:testGetOwner() (gas: 352746) +TheSpaceTest:testGetOwnerOfNonExistingToken() (gas: 16271) +TheSpaceTest:testGetPixelsByOwnerWithNoPixels() (gas: 28369) +TheSpaceTest:testGetPixelsByOwnerWithOnePixel() (gas: 328637) +TheSpaceTest:testGetPixelsPageByOwnerWithPixels() (gas: 603828) +TheSpaceTest:testGetPrice() (gas: 300907) +TheSpaceTest:testGetTax() (gas: 381222) +TheSpaceTest:testGetTokenImageURI() (gas: 17153) +TheSpaceTest:testGetTokenURI() (gas: 333501) +TheSpaceTest:testSetColor() (gas: 331781) +TheSpaceTest:testSetMintTax() (gas: 272102) +TheSpaceTest:testSetPixel(uint256) (runs: 256, μ: 404679, ~: 404679) +TheSpaceTest:testSetPrice(uint256) (runs: 256, μ: 305096, ~: 305096) +TheSpaceTest:testSetPriceByOperator(uint96) (runs: 257, μ: 355212, ~: 355212) +TheSpaceTest:testSetPriceTooHigh() (gas: 314558) +TheSpaceTest:testSetTaxRate() (gas: 349944) +TheSpaceTest:testSetTokenImageURI() (gas: 356208) +TheSpaceTest:testSetTotalSupply(uint256) (runs: 257, μ: 353438, ~: 353443) +TheSpaceTest:testSetTreasuryShare() (gas: 385104) +TheSpaceTest:testSettleTax() (gas: 340300) +TheSpaceTest:testTaxCalculation() (gas: 405108) +TheSpaceTest:testTokenShouldBeDefaulted() (gas: 325940) +TheSpaceTest:testTotalSupply() (gas: 10459) +TheSpaceTest:testUpgradeTo() (gas: 3216342) +TheSpaceTest:testWithdrawTreasury() (gas: 356353) +TheSpaceTest:testWithdrawUBI() (gas: 379460) +VaultTest:testCannotCurationInvalidURI() (gas: 12073) +VaultTest:testCannotCurationZeroAmount() (gas: 12410) +VaultTest:testCannotCurationZeroNativeAmount() (gas: 10095) +VaultTest:testCannotSetZeroSigner() (gas: 11074) +VaultTest:testCannotWithdrawAlreadyWithdrawn() (gas: 101113) +VaultTest:testCannotWithdrawExpired() (gas: 13133) +VaultTest:testCannotWithdrawInvalidSignature() (gas: 40068) +VaultTest:testCannotWithdrawZeroAddress() (gas: 11696) +VaultTest:testCannotWithdrawZeroAmount() (gas: 44473) +VaultTest:testERC20Curation(uint256) (runs: 256, μ: 81614, ~: 81614) +VaultTest:testERC20Withdrawal(uint256) (runs: 256, μ: 112868, ~: 112871) +VaultTest:testNativeCuration(uint256) (runs: 256, μ: 48382, ~: 48382) +VaultTest:testNativeWithdrawal(uint256) (runs: 256, μ: 99401, ~: 99401) +VaultTest:testSetSigner() (gas: 19888) \ No newline at end of file diff --git a/lib/forge-std b/lib/forge-std index cb69e9c..1eea5ba 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit cb69e9c07fbd002819c8c6c8db3caeab76b90d6b +Subproject commit 1eea5bae12ae557d589f9f0f0edae2faa47cb262