Skip to content

Commit

Permalink
Merge branch 'master' into amie-simulations
Browse files Browse the repository at this point in the history
  • Loading branch information
amiecorso committed Mar 15, 2024
2 parents 4a4cc0e + bca0fda commit 2066332
Show file tree
Hide file tree
Showing 62 changed files with 3,402 additions and 4,974 deletions.
247 changes: 116 additions & 131 deletions .gas-snapshot

Large diffs are not rendered by default.

63 changes: 26 additions & 37 deletions .gas-snapshot-production
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ UInt256ArrayLib_sum:test_library_overflow() (gas: 3613)
UInt256ArrayLib_sum:test_reference() (gas: 22196)
BridgedPolygonNORI_name:test() (gas: 16637)
BridgedPolygonNORI_permit:test() (gas: 91823)
Certificate__msgSenderERC721A:test() (gas: 1049)
Certificate**msgSenderERC721A:test() (gas: 1049)
Certificate_approve:test() (gas: 17625)
Certificate_burn:test() (gas: 183333)
Certificate_burn:test_reverts_when_paused() (gas: 54328)
Expand All @@ -39,23 +39,23 @@ LockedNORITest:testReentryTokensToSend() (gas: 1074281)
LockedNORITest:testTokensReceivedReverts() (gas: 68683)
LockedNORILib_availableAmount:test() (gas: 11685)
Market_ALLOWLIST_ROLE:test() (gas: 12690)
Market__addActiveRemoval:test() (gas: 182871)
Market__addActiveRemoval:test__lis2VintagesFor1SupplierFor2SubIdentifiers() (gas: 241002)
Market__addActiveRemoval:test__list1VintageFor1Supplier() (gas: 186028)
Market__addActiveRemoval:test__list1VintageFor2Suppliers() (gas: 359089)
Market__addActiveRemoval:test__list2VintagesFor1SupplierFor1SubIdentifier() (gas: 259259)
Market__isAuthorizedWithdrawal_false:test_returnsFalseWhenAllConditionsAreFalse() (gas: 7323)
Market__isAuthorizedWithdrawal_true:test_returnsTrueWhenMsgSenderEqualsOwner() (gas: 655)
Market__isAuthorizedWithdrawal_true:test_returnsTrueWhenMsgSenderHasDefaultAdminRole() (gas: 96769)
Market__isAuthorizedWithdrawal_true:test_returnsTrueWhenMsgSenderIsApprovedForAll() (gas: 9032)
Market__multicall_empty_bytes_reverts:test() (gas: 19379)
Market__multicall_initialize_reverts:test() (gas: 34233)
Market__validatePrioritySupply:test_supplyAfterPurchaseIsLessThanPriorityRestrictedThreshold() (gas: 3150)
Market__validatePrioritySupply:test_supplyAfterPurchaseIsZero() (gas: 3034)
Market__validatePrioritySupply_buyerIsAllowlistedAndAmountExceedsPriorityRestrictedThreshold:test() (gas: 5431)
Market__validatePrioritySupply_reverts_LowSupplyAllowlistRequired:test() (gas: 8339)
Market__validateSupply:test() (gas: 1066)
Market__validateSupply:test_reverts_OutOfSupply() (gas: 3847)
Market**addActiveRemoval:test() (gas: 182871)
Market**addActiveRemoval:test**lis2VintagesFor1SupplierFor2SubIdentifiers() (gas: 241002)
Market**addActiveRemoval:test**list1VintageFor1Supplier() (gas: 186028)
Market**addActiveRemoval:test**list1VintageFor2Suppliers() (gas: 359089)
Market**addActiveRemoval:test**list2VintagesFor1SupplierFor1SubIdentifier() (gas: 259259)
Market**isAuthorizedWithdrawal_false:test_returnsFalseWhenAllConditionsAreFalse() (gas: 7323)
Market**isAuthorizedWithdrawal_true:test_returnsTrueWhenMsgSenderEqualsOwner() (gas: 655)
Market**isAuthorizedWithdrawal_true:test_returnsTrueWhenMsgSenderHasDefaultAdminRole() (gas: 96769)
Market**isAuthorizedWithdrawal_true:test_returnsTrueWhenMsgSenderIsApprovedForAll() (gas: 9032)
Market**multicall_empty_bytes_reverts:test() (gas: 19379)
Market**multicall_initialize_reverts:test() (gas: 34233)
Market**validatePrioritySupply:test_supplyAfterPurchaseIsLessThanPriorityRestrictedThreshold() (gas: 3150)
Market**validatePrioritySupply:test_supplyAfterPurchaseIsZero() (gas: 3034)
Market**validatePrioritySupply_buyerIsAllowlistedAndAmountExceedsPriorityRestrictedThreshold:test() (gas: 5431)
Market**validatePrioritySupply_reverts_LowSupplyAllowlistRequired:test() (gas: 8339)
Market**validateSupply:test() (gas: 1066)
Market**validateSupply:test_reverts_OutOfSupply() (gas: 3847)
Market_getActiveSuppliers:test_1_supplier() (gas: 606278)
Market_getActiveSuppliers:test_3_suppliers() (gas: 1251614)
Market_getActiveSuppliers:test_no_suppliers() (gas: 21300)
Expand All @@ -79,14 +79,14 @@ Market_withdraw_as_DEFAULT_ADMIN_ROLE:test() (gas: 268736)
Market_withdraw_as_operator:test() (gas: 278426)
Market_withdraw_as_supplier:test() (gas: 267128)
Market_withdraw_reverts:test() (gas: 134049)
Removal__beforeTokenTransfer:test() (gas: 17731)
Removal__beforeTokenTransfer:test_paused_reverts_Paused() (gas: 30218)
Removal__createRemovalData:test() (gas: 23318)
Removal__createRemovalData:test_reverts_InvalidData() (gas: 26167)
Removal__createRemovalDataBatch:test() (gas: 30694)
Removal__createRemovalDataBatch:test_reverts_InvalidData2() (gas: 37786)
Removal__validateRemoval:test() (gas: 3295)
Removal__validateRemoval:test_reverts_InvalidData() (gas: 5953)
Removal**beforeTokenTransfer:test() (gas: 17731)
Removal**beforeTokenTransfer:test_paused_reverts_Paused() (gas: 30218)
Removal**createRemovalData:test() (gas: 23318)
Removal**createRemovalData:test_reverts_InvalidData() (gas: 26167)
Removal**createRemovalDataBatch:test() (gas: 30694)
Removal**createRemovalDataBatch:test_reverts_InvalidData2() (gas: 37786)
Removal**validateRemoval:test() (gas: 3295)
Removal**validateRemoval:test_reverts_InvalidData() (gas: 5953)
Removal_addBalance:test() (gas: 58459)
Removal_addBalance_reverts_RemovalNotYetMinted:test() (gas: 32909)
Removal_batchGetHoldbackPercentages_multipleIds:test() (gas: 11721)
Expand Down Expand Up @@ -133,17 +133,6 @@ RemovalQueue_getTotalBalanceFromRemovalQueue:test_100xRemovalsOfTheDifferentVint
RemovalQueue_getTotalBalanceFromRemovalQueue:test_100xRemovalsOfTheSameVintage() (gas: 610255)
RemovalQueue_insertRemovalByVintage:test_insertRemovalOnce() (gas: 118507)
RemovalQueue_insertRemovalByVintage:test_insertRemovalTwice() (gas: 119604)
RestrictedNORI__validateSchedule:test_startTimeNotZero() (gas: 503)
RestrictedNORI__validateSchedule_reverts:test_restrictionDurationZero() (gas: 3736)
RestrictedNORI__validateSchedule_reverts:test_startTimeZero() (gas: 3252)
RestrictedNORI_createSchedule:test() (gas: 44087)
RestrictedNORI_initialize:test() (gas: 21382)
RestrictedNORI_linearReleaseAmountAvailable:test() (gas: 12181)
RestrictedNORI_revokeUnreleasedTokens:test() (gas: 208397)
RestrictedNORI_scheduleExists:test() (gas: 15510)
RestrictedNORI_scheduleExists:test_doesntExist() (gas: 15411)
RestrictedNORI_transfers_revert:testSafeBatchTransferFromReverts() (gas: 28800)
RestrictedNORI_transfers_revert:testSafeTransferFromReverts() (gas: 24003)
Checkout_buyingFromOneRemoval:test() (gas: 681519)
Checkout_buyingFromTenRemovals:test() (gas: 1805323)
Checkout_buyingFromTenRemovals_singleSupplier:test() (gas: 1794451)
Expand Down
Loading

0 comments on commit 2066332

Please sign in to comment.