forked from worldcoin/world-id-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gas-snapshot
148 lines (148 loc) · 15.6 KB
/
.gas-snapshot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
VerifierLookupTableConstruction:testCanConstructLookupTable() (gas: 340397)
VerifierLookupTableOwnershipManagement:testCannotAcceptOwnershipAsNonPendingOwner(address,address) (runs: 256, μ: 39091, ~: 39091)
VerifierLookupTableOwnershipManagement:testCannotRenounceOwnershipAsOwner() (gas: 10834)
VerifierLookupTableOwnershipManagement:testCannotRenounceOwnershipIfNotOwner(address) (runs: 256, μ: 15791, ~: 15791)
VerifierLookupTableOwnershipManagement:testCannotTransferOwnerIfNotOwner(address,address) (runs: 256, μ: 16170, ~: 16170)
VerifierLookupTableOwnershipManagement:testHasOwner() (gas: 9846)
VerifierLookupTableOwnershipManagement:testTransferOwner(address) (runs: 256, μ: 34974, ~: 34959)
VerifierLookupTableQuery:testCanAddVerifierWithValidBatchSize(uint256,address) (runs: 256, μ: 44893, ~: 44893)
VerifierLookupTableQuery:testCanDisableVerifier(uint256) (runs: 256, μ: 34678, ~: 34694)
VerifierLookupTableQuery:testCanGetVerifierForExtantBatchSize() (gas: 12329)
VerifierLookupTableQuery:testCanUpdateVerifierWithValidBatchSize(address) (runs: 256, μ: 30473, ~: 30473)
VerifierLookupTableQuery:testCannotAddVerifierForBatchSizeThatAlreadyExists(uint256) (runs: 256, μ: 42841, ~: 42841)
VerifierLookupTableQuery:testCannotAddVerifierUnlessOwner(address) (runs: 256, μ: 18120, ~: 18120)
VerifierLookupTableQuery:testCannotDisableVerifierUnlessOwner(address) (runs: 256, μ: 18063, ~: 18063)
VerifierLookupTableQuery:testCannotGetVerifierForMissingBatchSize(uint256) (runs: 256, μ: 13548, ~: 13548)
VerifierLookupTableQuery:testCannotUpdateVerifierIfNotOwner(address) (runs: 256, μ: 20305, ~: 20305)
WorldIDIdentityManagerCalculation:testCalculateIdentityDeletionInputHashFromParametersOnKnownInput() (gas: 30011)
WorldIDIdentityManagerCalculation:testCalculateIdentityRegistrationInputHashFromParametersOnKnownInput() (gas: 32564)
WorldIDIdentityManagerCalculation:testCannotCalculateIdentityDeletionInputHashIfNotViaProxy() (gas: 15709)
WorldIDIdentityManagerCalculation:testCannotCalculateIdentityRegistrationInputHashIfNotViaProxy() (gas: 17840)
WorldIDIdentityManagerConstruction:testCanConstructIdentityManagerWithDelegate() (gas: 5222580)
WorldIDIdentityManagerConstruction:testCanConstructIdentityManagerWithNoDelegate() (gas: 97655)
WorldIDIdentityManagerDataQuery:testCanGetLatestRoot(uint256) (runs: 256, μ: 5249820, ~: 5250131)
WorldIDIdentityManagerDataQuery:testCanGetTreeDepth(uint8) (runs: 256, μ: 5253194, ~: 5253194)
WorldIDIdentityManagerDataQuery:testCannotGetLatestRootIfNotViaProxy() (gas: 8589)
WorldIDIdentityManagerDataQuery:testCannotQueryRootIfNotViaProxy() (gas: 12024)
WorldIDIdentityManagerDataQuery:testQueryCurrentRoot(uint128) (runs: 256, μ: 5267856, ~: 5268556)
WorldIDIdentityManagerDataQuery:testQueryExpiredRoot(uint128[8],uint32,uint128,uint128,uint128[]) (runs: 256, μ: 6681808, ~: 6673561)
WorldIDIdentityManagerDataQuery:testQueryInvalidRoot(uint256) (runs: 256, μ: 53034, ~: 53034)
WorldIDIdentityManagerDataQuery:testQueryOlderRoot(uint128[8],uint32,uint128,uint128,uint128[]) (runs: 256, μ: 6681021, ~: 6672774)
WorldIDIdentityManagerGettersSetters:testCanGetDeleteIdentitiesVerifierLookupTableAddress() (gas: 26423)
WorldIDIdentityManagerGettersSetters:testCanGetRegisterIdentitiesVerifierLookupTableAddress() (gas: 26431)
WorldIDIdentityManagerGettersSetters:testCanGetRootHistoryExpiry() (gas: 24394)
WorldIDIdentityManagerGettersSetters:testCanGetSemaphoreVerifierAddress() (gas: 15279)
WorldIDIdentityManagerGettersSetters:testCanSetDeleteIdentitiesVerifierLookupTable() (gas: 1292473)
WorldIDIdentityManagerGettersSetters:testCanSetRegisterIdentitiesVerifierLookupTable() (gas: 1292361)
WorldIDIdentityManagerGettersSetters:testCanSetRootHistoryExpiry(uint256) (runs: 256, μ: 37849, ~: 37849)
WorldIDIdentityManagerGettersSetters:testCanSetSemaphoreVerifier() (gas: 1118385)
WorldIDIdentityManagerGettersSetters:testCannotGetDeleteIdentitiesVerifierLookupTableAddressUnlessViaProxy() (gas: 8685)
WorldIDIdentityManagerGettersSetters:testCannotGetRegisterIdentitiesVerifierLookupTableAddressUnlessViaProxy() (gas: 8642)
WorldIDIdentityManagerGettersSetters:testCannotGetRootHistoryExpiryUnlessViaProxy() (gas: 8679)
WorldIDIdentityManagerGettersSetters:testCannotGetSemaphoreVerifierAddressUnlessViaProxy() (gas: 8663)
WorldIDIdentityManagerGettersSetters:testCannotSetDeleteIdentitiesVerifierLookupTableUnlessOwner(address) (runs: 256, μ: 1299170, ~: 1299170)
WorldIDIdentityManagerGettersSetters:testCannotSetDeleteIdentitiesVerifierLookupTableUnlessViaProxy() (gas: 1260715)
WorldIDIdentityManagerGettersSetters:testCannotSetRegisterIdentitiesVerifierLookupTableUnlessOwner(address) (runs: 256, μ: 1299092, ~: 1299092)
WorldIDIdentityManagerGettersSetters:testCannotSetRegisterIdentitiesVerifierLookupTableUnlessViaProxy() (gas: 1260716)
WorldIDIdentityManagerGettersSetters:testCannotSetRootHistoryExpiryToZero() (gas: 43660)
WorldIDIdentityManagerGettersSetters:testCannotSetRootHistoryExpiryUnlessOwner(address) (runs: 256, μ: 1125149, ~: 1125149)
WorldIDIdentityManagerGettersSetters:testCannotSetRootHistoryExpiryUnlessViaProxy(uint256) (runs: 256, μ: 9075, ~: 9075)
WorldIDIdentityManagerGettersSetters:testCannotSetSemaphoreVerifierAddressUnlessViaProxy() (gas: 1086805)
WorldIDIdentityManagerGettersSetters:testCannotSetSemaphoreVerifierUnlessOwner(address) (runs: 256, μ: 1125172, ~: 1125172)
WorldIDIdentityManagerIdentityDeletion:testCannotDeleteIdentitiesAsNonIdentityOperator(address) (runs: 256, μ: 52790, ~: 52790)
WorldIDIdentityManagerIdentityDeletion:testCannotDeleteIdentitiesIfPostRootIncorrect(uint256) (runs: 256, μ: 7731869, ~: 7731869)
WorldIDIdentityManagerIdentityDeletion:testCannotDeleteIdentitiesWithIncorrectInputs(uint128[8],uint128,uint128) (runs: 256, μ: 8660281895701362104, ~: 8660281895701362052)
WorldIDIdentityManagerIdentityDeletion:testCannotDeleteIdentitiesWithInvalidBatchSize(uint128[8],uint128,bytes,uint128) (runs: 256, μ: 6504062, ~: 6504190)
WorldIDIdentityManagerIdentityDeletion:testCannotDeleteIdentitiesWithOutdatedRoot(uint256,uint256) (runs: 256, μ: 5287063, ~: 5287063)
WorldIDIdentityManagerIdentityDeletion:testCannotDelteIdentitiesIfNotViaProxy() (gas: 36680)
WorldIDIdentityManagerIdentityDeletion:testDeleteIdentitiesSelectsCorrectVerifier(uint128[8],uint128,uint128) (runs: 256, μ: 6813797, ~: 6813797)
WorldIDIdentityManagerIdentityDeletion:testDeleteIdentitiesWithCorrectInputs(uint128[8],uint128,bytes,uint128,address) (runs: 256, μ: 6539719, ~: 6540082)
WorldIDIdentityManagerIdentityDeletion:testDeleteIdentitiesWithCorrectInputsFromKnown() (gas: 7791778)
WorldIDIdentityManagerIdentityRegistration:testCannotRegisterIdentitiesAsNonIdentityOperator(address) (runs: 256, μ: 57334, ~: 57334)
WorldIDIdentityManagerIdentityRegistration:testCannotRegisterIdentitiesIfIdentitiesIncorrect(uint256) (runs: 256, μ: 7761173, ~: 7761173)
WorldIDIdentityManagerIdentityRegistration:testCannotRegisterIdentitiesIfNotViaProxy() (gas: 41039)
WorldIDIdentityManagerIdentityRegistration:testCannotRegisterIdentitiesIfPostRootIncorrect(uint256) (runs: 256, μ: 5536387, ~: 5536387)
WorldIDIdentityManagerIdentityRegistration:testCannotRegisterIdentitiesIfStartIndexIncorrect(uint32) (runs: 256, μ: 7736880, ~: 7736880)
WorldIDIdentityManagerIdentityRegistration:testCannotRegisterIdentitiesWithIncorrectInputs(uint128[8],uint32,uint128,uint128) (runs: 256, μ: 7739276, ~: 7739665)
WorldIDIdentityManagerIdentityRegistration:testCannotRegisterIdentitiesWithInvalidBatchSize(uint128[8],uint32,uint128,uint128,uint128[]) (runs: 256, μ: 6630322, ~: 6622271)
WorldIDIdentityManagerIdentityRegistration:testCannotRegisterIdentitiesWithOutdatedRoot(uint256,uint256) (runs: 256, μ: 5291629, ~: 5291629)
WorldIDIdentityManagerIdentityRegistration:testRegisterIdentitiesSelectsCorrectVerifier(uint128[8],uint32,uint128,uint128,uint128[]) (runs: 256, μ: 6956899, ~: 6947165)
WorldIDIdentityManagerIdentityRegistration:testRegisterIdentitiesWithCorrectInputs(uint128[8],uint32,uint128,uint128,uint128[],address) (runs: 256, μ: 6657737, ~: 6643594)
WorldIDIdentityManagerIdentityRegistration:testRegisterIdentitiesWithCorrectInputsFromKnown() (gas: 7796767)
WorldIDIdentityManagerIdentityRegistration:testRegisterIdentitiesWithRunsOfZeroes(uint8,uint8) (runs: 256, μ: 6575832, ~: 6579968)
WorldIDIdentityManagerInitialization:testCannotInitializeTheDelegate() (gas: 2665595)
WorldIDIdentityManagerInitialization:testCannotPassUnsupportedTreeDepth() (gas: 2787244)
WorldIDIdentityManagerInitialization:testInitialisation() (gas: 5228486)
WorldIDIdentityManagerInitialization:testInitialisation2() (gas: 3017581)
WorldIDIdentityManagerInitialization:testInitializationOnlyOnce() (gas: 106570)
WorldIDIdentityManagerOwnershipManagement:testCanSetIdentityOperatorAsOwner(address) (runs: 256, μ: 60354, ~: 60354)
WorldIDIdentityManagerOwnershipManagement:testCannotAcceptOwnershipAsNonPendingOwner(address,address) (runs: 256, μ: 81583, ~: 81583)
WorldIDIdentityManagerOwnershipManagement:testCannotGetIdentityOperatorWithoutProxy() (gas: 8663)
WorldIDIdentityManagerOwnershipManagement:testCannotRenounceOwnershipAsOwner() (gas: 14268)
WorldIDIdentityManagerOwnershipManagement:testCannotRenounceOwnershipIfNotOwner(address) (runs: 256, μ: 48767, ~: 48767)
WorldIDIdentityManagerOwnershipManagement:testCannotSetIdentityOperatorAsNonOwner(address,address) (runs: 256, μ: 51547, ~: 51547)
WorldIDIdentityManagerOwnershipManagement:testCannotSetIdentityOperatorWithoutProxy(address) (runs: 256, μ: 8973, ~: 8973)
WorldIDIdentityManagerOwnershipManagement:testCannotTransferOwnerIfNotOwner(address,address) (runs: 256, μ: 49153, ~: 49153)
WorldIDIdentityManagerOwnershipManagement:testHasIdentityOperator() (gas: 26421)
WorldIDIdentityManagerOwnershipManagement:testHasOwner() (gas: 21909)
WorldIDIdentityManagerOwnershipManagement:testTransferOwner(address) (runs: 256, μ: 65430, ~: 65430)
WorldIDIdentityManagerSemaphoreVerification:testOptimizedProofVerificationWithCorrectInputs(uint256[8]) (runs: 256, μ: 6548384, ~: 6548384)
WorldIDIdentityManagerSemaphoreVerification:testProofVerificationWithCorrectInputs(uint8,uint256,uint256,uint256,uint256[8]) (runs: 256, μ: 5364177, ~: 5364177)
WorldIDIdentityManagerSemaphoreVerification:testProofVerificationWithInorrectProof(uint8,uint256,uint256,uint256,uint256[8]) (runs: 256, μ: 5364415, ~: 5364415)
WorldIDIdentityManagerUninit:testShouldNotCallCalculateIdentityRegistrationInputHash() (gas: 2778282)
WorldIDIdentityManagerUninit:testShouldNotCallDeleteIdentitiesWhileUninit() (gas: 2791950)
WorldIDIdentityManagerUninit:testShouldNotCallGetDeleteIdentitiesVerifierLookupTableAddressWhileUninit() (gas: 2768329)
WorldIDIdentityManagerUninit:testShouldNotCallGetRegisterIdentitiesVerifierLookupTableAddressWhileUninit() (gas: 2768372)
WorldIDIdentityManagerUninit:testShouldNotCallGetRootHistoryExpiryWhileUninit() (gas: 2768350)
WorldIDIdentityManagerUninit:testShouldNotCallGetSemaphoreVerifierAddressWhileUninit() (gas: 2768282)
WorldIDIdentityManagerUninit:testShouldNotCallIdentityOperatorWhileUninit() (gas: 2768348)
WorldIDIdentityManagerUninit:testShouldNotCallLatestRootWhileUninit() (gas: 2768304)
WorldIDIdentityManagerUninit:testShouldNotCallQueryRootWhileUninit() (gas: 2768646)
WorldIDIdentityManagerUninit:testShouldNotCallRegisterIdentitiesWhileUninit() (gas: 2796565)
WorldIDIdentityManagerUninit:testShouldNotCallRequireValidRootWhileUninit() (gas: 2768559)
WorldIDIdentityManagerUninit:testShouldNotCallSetDeleteIdentitiesVerifierLookupTableWhileUninit() (gas: 4020413)
WorldIDIdentityManagerUninit:testShouldNotCallSetIdentityOperatorWhileUninit(address) (runs: 256, μ: 2768734, ~: 2768734)
WorldIDIdentityManagerUninit:testShouldNotCallSetRegisterIdentitiesVerifierLookupTableWhileUninit() (gas: 4020435)
WorldIDIdentityManagerUninit:testShouldNotCallSetRootHistoryExpiryWhileUninit() (gas: 2768506)
WorldIDIdentityManagerUninit:testShouldNotCallSetSemaphoreVerifierWhileUninit() (gas: 3846055)
WorldIDIdentityManagerUpdate:testCanUpgradeImplementationWithCall() (gas: 2296969)
WorldIDIdentityManagerUpdate:testCanUpgradeImplementationWithoutCall() (gas: 2283269)
WorldIDIdentityManagerUpdate:testCannotUpgradeUnlessManager(address) (runs: 256, μ: 2308281, ~: 2308281)
WorldIDIdentityManagerUpdate:testCannotUpgradeWithoutProxy() (gas: 2282271)
WorldIDRouterConstruction:testCanConstructRouterWithDelegate(address) (runs: 256, μ: 1668955, ~: 1668955)
WorldIDRouterConstruction:testCanConstructRouterWithNoDelegate() (gas: 97634)
WorldIDRouterDataQuery:testCanGetGroupCount() (gas: 24175)
WorldIDRouterDataQuery:testCannotGetGroupCountUnlessViaProxy() (gas: 8477)
WorldIDRouterOwnershipManagement:testCannotAcceptOwnershipAsNonPendingOwner(address,address) (runs: 256, μ: 81450, ~: 81450)
WorldIDRouterOwnershipManagement:testCannotRenounceOwnershipAsOwner() (gas: 14251)
WorldIDRouterOwnershipManagement:testCannotRenounceOwnershipIfNotOwner(address) (runs: 256, μ: 48734, ~: 48734)
WorldIDRouterOwnershipManagement:testCannotTransferOwnerIfNotOwner(address,address) (runs: 256, μ: 49107, ~: 49107)
WorldIDRouterOwnershipManagement:testHasOwner() (gas: 21761)
WorldIDRouterOwnershipManagement:testTransferOwner(address) (runs: 256, μ: 65169, ~: 65169)
WorldIDRouterRouting:testCanAddGroup(address) (runs: 256, μ: 64640, ~: 64640)
WorldIDRouterRouting:testCanDisableGroup(uint8,address) (runs: 256, μ: 2146303, ~: 1180177)
WorldIDRouterRouting:testCanGetRouteForValidGroup(uint8,address,address) (runs: 256, μ: 631363, ~: 334821)
WorldIDRouterRouting:testCanUpdateGroup(uint8,address) (runs: 256, μ: 649508, ~: 388646)
WorldIDRouterRouting:testCannotAddGroupUnlessOwner(address,address) (runs: 256, μ: 51508, ~: 51508)
WorldIDRouterRouting:testCannotAddGroupUnlessViaProxy(address) (runs: 256, μ: 8868, ~: 8868)
WorldIDRouterRouting:testCannotDisableGroupUnlessOwner(address) (runs: 256, μ: 49101, ~: 49101)
WorldIDRouterRouting:testCannotDisableGroupUnlessViaProxy(uint256) (runs: 256, μ: 8819, ~: 8819)
WorldIDRouterRouting:testCannotUpdateGroupUnlessOwner(address) (runs: 256, μ: 51457, ~: 51457)
WorldIDRouterRouting:testCannotUpdateGroupUnlessViaProxy(uint256,address) (runs: 256, μ: 9056, ~: 9056)
WorldIDRouterRouting:testShouldRevertOnDisabledGroup(uint8) (runs: 256, μ: 624903, ~: 383341)
WorldIDRouterRouting:testShouldRevertOnDisablingNonexistentGroup(uint256) (runs: 256, μ: 31804, ~: 31804)
WorldIDRouterRouting:testShouldRevertOnRouteRequestForMissingGroup(uint256) (runs: 256, μ: 29085, ~: 29085)
WorldIDRouterRouting:testShouldRevertOnUpdatingNonexistentGroup(uint256,address) (runs: 256, μ: 32077, ~: 32077)
WorldIDRouterRouting:testcannotGetRouteUnlessViaProxy(uint256) (runs: 256, μ: 8841, ~: 8841)
WorldIDRouterStateBridge:testCanAddStateBridgeAsGroup(uint8,address) (runs: 256, μ: 859187, ~: 639523)
WorldIDRouterStateBridge:testCanProxyVerifyProofForStateBridge(uint8,uint256,uint256,uint256,uint256,uint256[8]) (runs: 256, μ: 734091, ~: 432249)
WorldIDRouterStateBridge:testCanUpdateStateBridgeAsGroup(uint8) (runs: 256, μ: 735255, ~: 446062)
WorldIDRouterUninit:testCannotAddGroupWhileUninit(address) (runs: 256, μ: 1560605, ~: 1560605)
WorldIDRouterUninit:testCannotDisableGroupWhileUninit(uint256) (runs: 256, μ: 1560389, ~: 1560389)
WorldIDRouterUninit:testCannotGetGroupCountWhileUninit() (gas: 1560179)
WorldIDRouterUninit:testCannotGetRouteForWhileUninit(uint256) (runs: 256, μ: 1560478, ~: 1560478)
WorldIDRouterUninit:testCannotUpdateGroupWhileUninit(uint256,address) (runs: 256, μ: 1560805, ~: 1560805)
WorldIDRouterUpgrade:testCanUpgradeImplementationWithCall() (gas: 1554685)
WorldIDRouterUpgrade:testCanUpgradeImplementationWithoutCall() (gas: 1523873)
WorldIDRouterUpgrade:testCannotUpgradeUnlessManager(address) (runs: 256, μ: 1548909, ~: 1548909)
WorldIDRouterUpgrade:testCannotUpgradeWithoutProxy(address) (runs: 256, μ: 1512169, ~: 1512169)