@layerzerolabs/utils-upgradeable-evm-contracts 1.2.8 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,23 +4,23 @@
4
4
 
5
5
  ✅ forge-1.3.6-hardhat-2.26.3
6
6
  🔧 forge version: 1.3.6
7
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-JjjP8i
7
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-RFkkNy
8
8
  📦 Copied 8 workspace package source(s)
9
9
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
10
- (node:199178) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
10
+ (node:200146) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
11
11
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
12
12
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
13
13
  (Use `node --trace-warnings ...` to show where the warning was created)
14
14
  📦 Docker volumes:
15
- -v /tmp/lz-scoped-workspace-JjjP8i:/workspace
15
+ -v /tmp/lz-scoped-workspace-RFkkNy:/workspace
16
16
  -v /home/runner/work/monorepo-internal/monorepo-internal/contracts/common/utils/evm/upgradeable:/workspace/contracts/common/utils/evm/upgradeable
17
17
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
18
18
  $ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
19
19
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 (amd64)
20
20
  👤 Running container as UID:GID 1001:1001
21
- $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-JjjP8i:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/contracts/common/utils/evm/upgradeable:/workspace/contracts/common/utils/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/contracts/common/utils/evm/upgradeable 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 forge test
21
+ $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-RFkkNy:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/contracts/common/utils/evm/upgradeable:/workspace/contracts/common/utils/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/contracts/common/utils/evm/upgradeable 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 forge test
22
22
  Compiling 84 files with Solc 0.8.22
23
- Solc 0.8.22 finished in 12.27s
23
+ Solc 0.8.22 finished in 11.24s
24
24
  Compiler run successful with warnings:
25
25
  Warning (2018): Function state mutability can be restricted to view
26
26
  --> test/EnumerableSetPagination.t.sol:91:5:
@@ -143,49 +143,11 @@ Warning (2018): Function state mutability can be restricted to view
143
143
  | ^ (Relevant source part starts here and spans across multiple lines).
144
144
 
145
145
 
146
- Ran 35 tests for test/RateLimiterBaseUpgradeable.t.sol:RateLimiterBaseUpgradeableTest
147
- [PASS] test_checkpointRateLimits_Empty() (gas: 10824)
148
- [PASS] test_checkpointRateLimits_Multiple() (gas: 151676)
149
- [PASS] test_checkpointRateLimits_PreservesDecay() (gas: 91907)
150
- [PASS] test_checkpointRateLimits_Single() (gas: 85741)
151
- [PASS] test_constructor_MaxScaledDecimals() (gas: 1389503)
152
- [PASS] test_constructor_Revert_InvalidScaledDecimals() (gas: 38049)
153
- [PASS] test_constructor_ZeroScaledDecimals() (gas: 1389321)
154
- [PASS] test_getRateLimitUsages_BothDisabled() (gas: 25007)
155
- [PASS] test_getRateLimitUsages_GloballyDisabled() (gas: 46159)
156
- [PASS] test_getRateLimitUsages_InboundDisabled() (gas: 23907)
157
- [PASS] test_getRateLimitUsages_OutboundDisabled() (gas: 23940)
158
- [PASS] test_getRateLimitUsages_WithDecay() (gas: 86849)
159
- [PASS] test_globalState_IgnoresIdSpecificConfig() (gas: 2123212)
160
- [PASS] test_globalState_SharesStateAcrossIds() (gas: 2086558)
161
- [PASS] test_globalState_UsesDefaultIdForState() (gas: 2083978)
162
- [PASS] test_inflow_DefaultConfig_SpecificState_Inbound_Gross_NotExempt() (gas: 51618)
163
- [PASS] test_inflow_GloballyDisabled() (gas: 52015)
164
- [PASS] test_inflow_WithScaleDecimals() (gas: 2080458)
165
- [PASS] test_initial_state_closed() (gas: 2034659)
166
- [PASS] test_outflow_DefaultConfig_SpecificState_Outbound_Gross_NotExempt() (gas: 51752)
167
- [PASS] test_outflow_ExplicitConfig_SpecificState_Both_Gross_Exempt() (gas: 30559)
168
- [PASS] test_outflow_ExplicitConfig_SpecificState_Outbound_Gross_NotExempt() (gas: 32670)
169
- [PASS] test_outflow_GloballyDisabled() (gas: 52036)
170
- [PASS] test_outflow_Revert_RateLimitExceeded() (gas: 76468)
171
- [PASS] test_outflow_WithScaleDecimals() (gas: 2080385)
172
- [PASS] test_setRateLimitAddressExemptions() (gas: 59682)
173
- [PASS] test_setRateLimitAddressExemptions_Revert_AlreadyExempt() (gas: 21817)
174
- [PASS] test_setRateLimitConfigs_DoesNotAutoCheckpoint() (gas: 94677)
175
- [PASS] test_setRateLimitConfigs_Multiple() (gas: 107608)
176
- [PASS] test_setRateLimitConfigs_Single() (gas: 76669)
177
- [PASS] test_setRateLimitGlobalConfig() (gas: 49357)
178
- [PASS] test_setRateLimitStates_Revert_FutureTimestamp() (gas: 16394)
179
- [PASS] test_setRateLimitStates_Single() (gas: 49974)
180
- [PASS] test_storageHash() (gas: 3414)
181
- [PASS] test_upscaleRateLimitAmount() (gas: 2014907)
182
- Suite result: ok. 35 passed; 0 failed; 0 skipped; finished in 42.86ms (40.18ms CPU time)
183
-
184
146
  Ran 40 tests for test/RateLimiterRBACUpgradeable.t.sol:RateLimiterRBACUpgradeableTest
185
147
  [PASS] test_checkpointRateLimits_Empty() (gas: 13362)
186
148
  [PASS] test_checkpointRateLimits_Multiple() (gas: 154640)
187
149
  [PASS] test_checkpointRateLimits_PreservesDecay() (gas: 95004)
188
- [PASS] test_checkpointRateLimits_Revert_Unauthorized() (gas: 19822)
150
+ [PASS] test_checkpointRateLimits_Revert_Unauthorized() (gas: 19814)
189
151
  [PASS] test_checkpointRateLimits_Single() (gas: 88573)
190
152
  [PASS] test_constructor_MaxScaledDecimals() (gas: 1389525)
191
153
  [PASS] test_constructor_Revert_InvalidScaledDecimals() (gas: 38027)
@@ -210,71 +172,201 @@ Ran 40 tests for test/RateLimiterRBACUpgradeable.t.sol:RateLimiterRBACUpgradeabl
210
172
  [PASS] test_outflow_WithScaleDecimals() (gas: 2816351)
211
173
  [PASS] test_setRateLimitAddressExemptions() (gas: 62304)
212
174
  [PASS] test_setRateLimitAddressExemptions_Revert_AlreadyExempt() (gas: 24241)
213
- [PASS] test_setRateLimitAddressExemptions_Revert_Unauthorized() (gas: 19937)
175
+ [PASS] test_setRateLimitAddressExemptions_Revert_Unauthorized() (gas: 19928)
214
176
  [PASS] test_setRateLimitConfigs_DoesNotAutoCheckpoint() (gas: 97507)
215
177
  [PASS] test_setRateLimitConfigs_Multiple() (gas: 110012)
216
- [PASS] test_setRateLimitConfigs_Revert_Unauthorized() (gas: 21285)
178
+ [PASS] test_setRateLimitConfigs_Revert_Unauthorized() (gas: 21277)
217
179
  [PASS] test_setRateLimitConfigs_Single() (gas: 79162)
218
180
  [PASS] test_setRateLimitGlobalConfig() (gas: 52231)
219
- [PASS] test_setRateLimitGlobalConfig_Revert_Unauthorized() (gas: 19463)
181
+ [PASS] test_setRateLimitGlobalConfig_Revert_Unauthorized() (gas: 19455)
220
182
  [PASS] test_setRateLimitStates_Revert_FutureTimestamp() (gas: 18907)
221
- [PASS] test_setRateLimitStates_Revert_Unauthorized() (gas: 20566)
183
+ [PASS] test_setRateLimitStates_Revert_Unauthorized() (gas: 20546)
222
184
  [PASS] test_setRateLimitStates_Single() (gas: 52512)
223
185
  [PASS] test_storageHash() (gas: 3392)
224
186
  [PASS] test_upscaleRateLimitAmount() (gas: 2750380)
225
- Suite result: ok. 40 passed; 0 failed; 0 skipped; finished in 41.52ms (32.34ms CPU time)
187
+ Suite result: ok. 40 passed; 0 failed; 0 skipped; finished in 17.00ms (20.98ms CPU time)
188
+
189
+ Ran 35 tests for test/RateLimiterBaseUpgradeable.t.sol:RateLimiterBaseUpgradeableTest
190
+ [PASS] test_checkpointRateLimits_Empty() (gas: 10824)
191
+ [PASS] test_checkpointRateLimits_Multiple() (gas: 151676)
192
+ [PASS] test_checkpointRateLimits_PreservesDecay() (gas: 91907)
193
+ [PASS] test_checkpointRateLimits_Single() (gas: 85741)
194
+ [PASS] test_constructor_MaxScaledDecimals() (gas: 1389503)
195
+ [PASS] test_constructor_Revert_InvalidScaledDecimals() (gas: 38049)
196
+ [PASS] test_constructor_ZeroScaledDecimals() (gas: 1389321)
197
+ [PASS] test_getRateLimitUsages_BothDisabled() (gas: 25007)
198
+ [PASS] test_getRateLimitUsages_GloballyDisabled() (gas: 46159)
199
+ [PASS] test_getRateLimitUsages_InboundDisabled() (gas: 23907)
200
+ [PASS] test_getRateLimitUsages_OutboundDisabled() (gas: 23940)
201
+ [PASS] test_getRateLimitUsages_WithDecay() (gas: 86849)
202
+ [PASS] test_globalState_IgnoresIdSpecificConfig() (gas: 2123212)
203
+ [PASS] test_globalState_SharesStateAcrossIds() (gas: 2086558)
204
+ [PASS] test_globalState_UsesDefaultIdForState() (gas: 2083978)
205
+ [PASS] test_inflow_DefaultConfig_SpecificState_Inbound_Gross_NotExempt() (gas: 51618)
206
+ [PASS] test_inflow_GloballyDisabled() (gas: 52015)
207
+ [PASS] test_inflow_WithScaleDecimals() (gas: 2080458)
208
+ [PASS] test_initial_state_closed() (gas: 2034659)
209
+ [PASS] test_outflow_DefaultConfig_SpecificState_Outbound_Gross_NotExempt() (gas: 51752)
210
+ [PASS] test_outflow_ExplicitConfig_SpecificState_Both_Gross_Exempt() (gas: 30559)
211
+ [PASS] test_outflow_ExplicitConfig_SpecificState_Outbound_Gross_NotExempt() (gas: 32670)
212
+ [PASS] test_outflow_GloballyDisabled() (gas: 52036)
213
+ [PASS] test_outflow_Revert_RateLimitExceeded() (gas: 76468)
214
+ [PASS] test_outflow_WithScaleDecimals() (gas: 2080385)
215
+ [PASS] test_setRateLimitAddressExemptions() (gas: 59682)
216
+ [PASS] test_setRateLimitAddressExemptions_Revert_AlreadyExempt() (gas: 21817)
217
+ [PASS] test_setRateLimitConfigs_DoesNotAutoCheckpoint() (gas: 94677)
218
+ [PASS] test_setRateLimitConfigs_Multiple() (gas: 107608)
219
+ [PASS] test_setRateLimitConfigs_Single() (gas: 76669)
220
+ [PASS] test_setRateLimitGlobalConfig() (gas: 49357)
221
+ [PASS] test_setRateLimitStates_Revert_FutureTimestamp() (gas: 16394)
222
+ [PASS] test_setRateLimitStates_Single() (gas: 49974)
223
+ [PASS] test_storageHash() (gas: 3414)
224
+ [PASS] test_upscaleRateLimitAmount() (gas: 2014907)
225
+ Suite result: ok. 35 passed; 0 failed; 0 skipped; finished in 20.05ms (17.30ms CPU time)
226
226
 
227
227
  Ran 5 tests for test/FeeHandlerBaseUpgradeable.t.sol:FeeHandlerBaseUpgradeableTest
228
- [PASS] test_feeDeposit() (gas: 17576)
229
- [PASS] test_setFeeDeposit() (gas: 24995)
228
+ [PASS] test_feeDeposit() (gas: 17598)
229
+ [PASS] test_setFeeDeposit() (gas: 24907)
230
230
  [PASS] test_setFeeDeposit_Fuzz(address) (runs: 1000, μ: 21454, ~: 21454)
231
231
  [PASS] test_setFeeDeposit_Revert_ZeroAddress() (gas: 13273)
232
232
  [PASS] test_storageHash() (gas: 3337)
233
- Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 57.61ms (57.08ms CPU time)
233
+ Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 50.78ms (50.20ms CPU time)
234
+
235
+ Ran 27 tests for test/PauseRBACUpgradeable.t.sol:PauseRBACUpgradeableTest
236
+ [PASS] test_assertNotPaused_Fuzz(bool) (runs: 1000, μ: 26626, ~: 12786)
237
+ [PASS] test_assertNotPaused_Revert_Paused() (gas: 40859)
238
+ [PASS] test_assertNotPaused_Success() (gas: 12539)
239
+ [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15969)
240
+ [PASS] test_initialize_Revert_AlreadyInitialized_AdminUnchanged() (gas: 51358)
241
+ [PASS] test_isPaused_InitialState() (gas: 15629)
242
+ [PASS] test_modifierEnforcement_WithRoles() (gas: 219691)
243
+ [PASS] test_multipleRoleGrants() (gas: 395725)
244
+ [PASS] test_pause() (gas: 42109)
245
+ [PASS] test_renounceRole_Success_FunctionsRevert() (gas: 35880)
246
+ [PASS] test_roleTransfer_GrantAndRevoke() (gas: 181540)
247
+ [PASS] test_setPaused_Fuzz(bool) (runs: 1000, μ: 31015, ~: 42378)
248
+ [PASS] test_setPaused_Idempotent_InitialState_Reverts() (gas: 20507)
249
+ [PASS] test_setPaused_Idempotent_Reverts() (gas: 41497)
250
+ [PASS] test_setPaused_Revert_Unauthorized() (gas: 20199)
251
+ [PASS] test_setPaused_Success() (gas: 42640)
252
+ [PASS] test_setPaused_Success_MultipleOperations() (gas: 59456)
253
+ [PASS] test_setPaused_Success_ToggleMultipleTimes() (gas: 79509)
254
+ [PASS] test_storageHash() (gas: 3414)
255
+ [PASS] test_unpause() (gas: 35177)
256
+ [PASS] test_whenNotPaused_Fuzz(bool) (runs: 1000, μ: 41903, ~: 39122)
257
+ [PASS] test_whenNotPaused_Revert_Paused() (gas: 44622)
258
+ [PASS] test_whenNotPaused_Revert_WithReturnValue() (gas: 40955)
259
+ [PASS] test_whenNotPaused_Success() (gas: 38986)
260
+ [PASS] test_whenNotPaused_Success_AfterUnpause() (gas: 52848)
261
+ [PASS] test_whenNotPaused_Success_MultipleCalls() (gas: 63439)
262
+ [PASS] test_whenNotPaused_WithReturnValue() (gas: 15646)
263
+ Suite result: ok. 27 passed; 0 failed; 0 skipped; finished in 98.21ms (154.27ms CPU time)
234
264
 
235
265
  Ran 6 tests for test/FeeHandlerRBACUpgradeable.t.sol:FeeHandlerRBACUpgradeableTest
236
- [PASS] test_feeDeposit() (gas: 17638)
237
- [PASS] test_setFeeDeposit() (gas: 27596)
238
- [PASS] test_setFeeDeposit_Fuzz(address) (runs: 1000, μ: 24052, ~: 24055)
239
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22370)
266
+ [PASS] test_feeDeposit() (gas: 17660)
267
+ [PASS] test_setFeeDeposit() (gas: 27618)
268
+ [PASS] test_setFeeDeposit_Fuzz(address) (runs: 1000, μ: 24055, ~: 24055)
269
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 24359)
240
270
  [PASS] test_setFeeDeposit_Revert_ZeroAddress() (gas: 15811)
241
271
  [PASS] test_storageHash() (gas: 3315)
242
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 48.22ms (47.65ms CPU time)
272
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 137.92ms (137.21ms CPU time)
273
+
274
+ Ran 47 tests for test/PauseByIDRBACUpgradeable.t.sol:PauseByIDRBACUpgradeableTest
275
+ [PASS] test_assertNotPaused_Revert_DefaultPaused() (gas: 43478)
276
+ [PASS] test_assertNotPaused_Revert_SpecificPaused() (gas: 46209)
277
+ [PASS] test_assertNotPaused_Success() (gas: 14891)
278
+ [PASS] test_defaultPause_AffectsMultipleIDs() (gas: 55680)
279
+ [PASS] test_defaultPaused_InitialState() (gas: 15572)
280
+ [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 18020)
281
+ [PASS] test_isPaused_Default() (gas: 47316)
282
+ [PASS] test_isPaused_InitialState() (gas: 22172)
283
+ [PASS] test_isPaused_MultipleIDs() (gas: 80142)
284
+ [PASS] test_isPaused_Override() (gas: 75171)
285
+ [PASS] test_isPaused_Specific() (gas: 50105)
286
+ [PASS] test_isPaused_SpecificDisabled() (gas: 55561)
287
+ [PASS] test_pauseConfig() (gas: 51028)
288
+ [PASS] test_roleManagement_grantAndRevoke() (gas: 174204)
289
+ [PASS] test_setDefaultPaused() (gas: 42196)
290
+ [PASS] test_setDefaultPaused_Fuzz(bool) (runs: 1000, μ: 30281, ~: 18826)
291
+ [PASS] test_setDefaultPaused_Idempotent_InitialState_Reverts() (gas: 20523)
292
+ [PASS] test_setDefaultPaused_Idempotent_Reverts() (gas: 41737)
293
+ [PASS] test_setDefaultPaused_Revert_Unauthorized() (gas: 22489)
294
+ [PASS] test_setDefaultPaused_Success() (gas: 40744)
295
+ [PASS] test_setPaused() (gas: 48361)
296
+ [PASS] test_setPaused_DormantData() (gas: 297504)
297
+ [PASS] test_setPaused_EmptyArray() (gas: 15702)
298
+ [PASS] test_setPaused_EmptyArrayWithUnpauserRole() (gas: 102594)
299
+ [PASS] test_setPaused_Fuzz(uint256,bool,bool) (runs: 1000, μ: 43766, ~: 48696)
300
+ [PASS] test_setPaused_Fuzz_EffectiveStateRoleCheck(bool,bool,bool) (runs: 1000, μ: 225639, ~: 219074)
301
+ [PASS] test_setPaused_Revert_EmptyArrayUnauthorized() (gas: 25048)
302
+ [PASS] test_setPaused_Revert_MixedBatchWithDisabledConfigs_NeedsBothRoles() (gas: 134340)
303
+ [PASS] test_setPaused_Revert_PauserCannotCauseEffectiveUnpause() (gas: 109682)
304
+ [PASS] test_setPaused_Revert_Unauthorized() (gas: 25986)
305
+ [PASS] test_setPaused_Revert_UnpauserCannotCauseEffectivePause() (gas: 132969)
306
+ [PASS] test_setPaused_Success() (gas: 45897)
307
+ [PASS] test_setPaused_Success_Batch() (gas: 345312)
308
+ [PASS] test_setPaused_Success_EdgeCase_IDMaxUint256() (gas: 45858)
309
+ [PASS] test_setPaused_Success_EdgeCase_IDZero() (gas: 45875)
310
+ [PASS] test_setPaused_Success_MixedBatchWithDisabledConfigs_BothRoles() (gas: 243537)
311
+ [PASS] test_setPaused_Success_PauserCanSetDisabledWhenDefaultPaused() (gas: 135474)
312
+ [PASS] test_setPaused_Success_Toggle() (gas: 58022)
313
+ [PASS] test_setPaused_Success_UnpauserCanSetDisabledWhenDefaultUnpaused() (gas: 132087)
314
+ [PASS] test_specificOverridesDefault_Fuzz(bool,bool) (runs: 1000, μ: 61968, ~: 50341)
315
+ [PASS] test_storageHash() (gas: 3392)
316
+ [PASS] test_whenNotPaused_Revert_DefaultPaused() (gas: 47171)
317
+ [PASS] test_whenNotPaused_Revert_SpecificPaused() (gas: 49932)
318
+ [PASS] test_whenNotPaused_Success() (gas: 41299)
319
+ [PASS] test_whenNotPaused_Success_SpecificUnpaused() (gas: 94341)
320
+ [PASS] test_whenNotPaused_WithReturnValue() (gas: 17859)
321
+ [PASS] test_whenNotPaused_WithReturnValue_Reverts() (gas: 46165)
322
+ Suite result: ok. 47 passed; 0 failed; 0 skipped; finished in 367.47ms (492.30ms CPU time)
323
+
324
+ Ran 31 tests for test/PauseByIDBaseUpgradeable.t.sol:PauseByIDBaseUpgradeableTest
325
+ [PASS] test_assertNotPaused_Revert_DefaultPaused() (gas: 40927)
326
+ [PASS] test_assertNotPaused_Revert_SpecificPaused() (gas: 40924)
327
+ [PASS] test_assertNotPaused_Success() (gas: 14934)
328
+ [PASS] test_defaultPause_AffectsMultipleIDs() (gas: 52995)
329
+ [PASS] test_defaultPaused_InitialState() (gas: 15571)
330
+ [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15852)
331
+ [PASS] test_isPaused_Default() (gas: 44698)
332
+ [PASS] test_isPaused_InitialState() (gas: 22070)
333
+ [PASS] test_isPaused_MultipleIDs() (gas: 73915)
334
+ [PASS] test_isPaused_Override() (gas: 69381)
335
+ [PASS] test_isPaused_Specific() (gas: 46709)
336
+ [PASS] test_isPaused_SpecificDisabled() (gas: 51615)
337
+ [PASS] test_pauseConfig() (gas: 45626)
338
+ [PASS] test_setDefaultPaused() (gas: 39667)
339
+ [PASS] test_setDefaultPaused_Fuzz(bool) (runs: 1000, μ: 28313, ~: 39918)
340
+ [PASS] test_setDefaultPaused_Idempotent_InitialState_Reverts() (gas: 17984)
341
+ [PASS] test_setDefaultPaused_Idempotent_Reverts() (gas: 38782)
342
+ [PASS] test_setPaused() (gas: 43060)
343
+ [PASS] test_setPaused_EmptyArray() (gas: 10900)
344
+ [PASS] test_setPaused_Fuzz(uint256,bool,bool) (runs: 1000, μ: 38179, ~: 43373)
345
+ [PASS] test_setPaused_Success_EdgeCase_IDMaxUint256() (gas: 40562)
346
+ [PASS] test_setPaused_Success_EdgeCase_IDZero() (gas: 40524)
347
+ [PASS] test_setPaused_Success_Toggle() (gas: 51442)
348
+ [PASS] test_specificOverridesDefault_Fuzz(bool,bool) (runs: 1000, μ: 58162, ~: 46989)
349
+ [PASS] test_storageHash() (gas: 3480)
350
+ [PASS] test_whenNotPaused_Revert_DefaultPaused() (gas: 44708)
351
+ [PASS] test_whenNotPaused_Revert_SpecificPaused() (gas: 44758)
352
+ [PASS] test_whenNotPaused_Success() (gas: 41297)
353
+ [PASS] test_whenNotPaused_Success_SpecificUnpaused() (gas: 88596)
354
+ [PASS] test_whenNotPaused_WithReturnValue() (gas: 17880)
355
+ [PASS] test_whenNotPaused_WithReturnValue_Reverts() (gas: 40880)
356
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 372.09ms (311.98ms CPU time)
243
357
 
244
358
  Ran 10 tests for test/RateLimiterUtils.t.sol:RateLimiterUtilsTest
245
359
  [PASS] test_decodeConfigBitmapFlags_AllFalse() (gas: 10012)
246
360
  [PASS] test_decodeConfigBitmapFlags_AllTrue() (gas: 10034)
247
361
  [PASS] test_decodeConfigBitmapFlags_Mixed() (gas: 9990)
248
362
  [PASS] test_decodeOverrideDefaultConfig_False() (gas: 8488)
249
- [PASS] test_decodeOverrideDefaultConfig_Fuzz(uint24) (runs: 1000, μ: 3387, ~: 3383)
363
+ [PASS] test_decodeOverrideDefaultConfig_Fuzz(uint24) (runs: 1000, μ: 3388, ~: 3393)
250
364
  [PASS] test_decodeOverrideDefaultConfig_True() (gas: 8456)
251
365
  [PASS] test_encodeConfigBitmap_AllFalse() (gas: 8957)
252
366
  [PASS] test_encodeConfigBitmap_AllTrue() (gas: 8999)
253
367
  [PASS] test_encodeConfigBitmap_Mixed() (gas: 8977)
254
368
  [PASS] test_encodeDecode_Fuzz(bool,bool,bool,bool,bool) (runs: 1000, μ: 5017, ~: 5017)
255
- Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 134.83ms (49.60ms CPU time)
256
-
257
- Ran 19 tests for test/PauseBaseUpgradeable.t.sol:PauseBaseUpgradeableTest
258
- [PASS] test_assertNotPaused_Fuzz(bool) (runs: 1000, μ: 25518, ~: 12763)
259
- [PASS] test_assertNotPaused_Revert_Paused() (gas: 38375)
260
- [PASS] test_assertNotPaused_Success() (gas: 12516)
261
- [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15725)
262
- [PASS] test_isPaused_InitialState() (gas: 15595)
263
- [PASS] test_pause() (gas: 39592)
264
- [PASS] test_setPaused_Fuzz(bool) (runs: 1000, μ: 28370, ~: 39861)
265
- [PASS] test_setPaused_Idempotent_InitialState_Reverts() (gas: 17914)
266
- [PASS] test_setPaused_Idempotent_Reverts() (gas: 38543)
267
- [PASS] test_setPaused_Success_ToggleMultipleTimes() (gas: 74144)
268
- [PASS] test_storageHash() (gas: 3414)
269
- [PASS] test_unpause() (gas: 31115)
270
- [PASS] test_whenNotPaused_Fuzz(bool) (runs: 1000, μ: 40388, ~: 38893)
271
- [PASS] test_whenNotPaused_Revert_Paused() (gas: 41855)
272
- [PASS] test_whenNotPaused_Revert_WithReturnValue() (gas: 38375)
273
- [PASS] test_whenNotPaused_Success() (gas: 38744)
274
- [PASS] test_whenNotPaused_Success_AfterUnpause() (gas: 48261)
275
- [PASS] test_whenNotPaused_Success_MultipleCalls() (gas: 56792)
276
- [PASS] test_whenNotPaused_WithReturnValue() (gas: 15624)
277
- Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 163.43ms (306.26ms CPU time)
369
+ Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 935.02ms (49.58ms CPU time)
278
370
 
279
371
  Ran 29 tests for test/AllowlistBaseUpgradeable.t.sol:AllowlistBaseUpgradeableTest
280
372
  [PASS] test_SwitchModes_PreservesState() (gas: 186406)
@@ -306,7 +398,7 @@ Ran 29 tests for test/AllowlistBaseUpgradeable.t.sol:AllowlistBaseUpgradeableTes
306
398
  [PASS] test_setWhitelisted_RemoveFromWhitelist() (gas: 94878)
307
399
  [PASS] test_setWhitelisted_Revert_AlreadyWhitelisted() (gas: 119358)
308
400
  [PASS] test_storageHash() (gas: 3458)
309
- Suite result: ok. 29 passed; 0 failed; 0 skipped; finished in 229.11ms (424.65ms CPU time)
401
+ Suite result: ok. 29 passed; 0 failed; 0 skipped; finished in 1.16s (474.64ms CPU time)
310
402
 
311
403
  Ran 33 tests for test/AccessControl2StepUpgradeable.t.sol:AccessControl2StepUpgradeableTest
312
404
  [PASS] test_acceptDefaultAdminTransfer_Events() (gas: 97372)
@@ -320,948 +412,833 @@ Ran 33 tests for test/AccessControl2StepUpgradeable.t.sol:AccessControl2StepUpgr
320
412
  [PASS] test_beginDefaultAdminTransfer_Revert_Unauthorized() (gas: 23351)
321
413
  [PASS] test_beginDefaultAdminTransfer_Success() (gas: 50886)
322
414
  [PASS] test_beginDefaultAdminTransfer_Success_CancelsBySettingZero() (gas: 35608)
323
- [PASS] test_beginDefaultAdminTransfer_Success_OverwritesPending() (gas: 50268)
415
+ [PASS] test_beginDefaultAdminTransfer_Success_OverwritesPending() (gas: 50279)
324
416
  [PASS] test_defaultAdmin_ReturnsInitialAdmin() (gas: 17748)
325
417
  [PASS] test_grantRole_Revert_DefaultAdminRole() (gas: 22754)
326
418
  [PASS] test_grantRole_Success_NonAdminRole() (gas: 116081)
327
419
  [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15933)
328
- [PASS] test_initialize_Revert_InvalidDefaultAdmin() (gas: 863678)
329
- [PASS] test_initialize_Success_AdminHasRole() (gas: 32722)
330
- [PASS] test_integration_TransferAndTransferAgain() (gas: 234392)
331
- [PASS] test_integration_TransferCancelRetransfer() (gas: 120851)
332
- [PASS] test_pendingDefaultAdmin_InitiallyZero() (gas: 15672)
333
- [PASS] test_renounceRole_Revert_DefaultAdminRole() (gas: 18191)
334
- [PASS] test_renounceRole_Revert_DefaultAdminRoleDuringPendingTransfer() (gas: 47370)
335
- [PASS] test_renounceRole_Success_NonAdminRole_Admin() (gas: 93290)
336
- [PASS] test_renounceRole_Success_NonAdminRole_NonAdmin() (gas: 94023)
337
- [PASS] test_revokeRole_Revert_DefaultAdminRole_Admin() (gas: 22885)
338
- [PASS] test_revokeRole_Revert_DefaultAdminRole_NonAdmin() (gas: 25784)
339
- [PASS] test_revokeRole_Revert_NonAdminRole_NonAdmin() (gas: 124079)
340
- [PASS] test_revokeRole_Success_NonAdminRole_Admin() (gas: 95654)
341
- [PASS] test_setRoleAdmin_Revert_DefaultAdminRole() (gas: 18062)
342
- [PASS] test_setRoleAdmin_Success_NonAdminRole_Other() (gas: 42684)
343
- [PASS] test_setRoleAdmin_Success_NonAdminRole_Self() (gas: 23859)
344
- [PASS] test_storageHash() (gas: 3380)
345
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 313.57ms (379.08ms CPU time)
346
-
347
- Ran 24 tests for test/FeeConfigRBACUpgradeable.t.sol:FeeConfigRBACUpgradeableTest
348
- [PASS] test_getAmountBeforeFee_BoundaryConditions() (gas: 51175)
349
- [PASS] test_getAmountBeforeFee_Default() (gas: 47637)
350
- [PASS] test_getAmountBeforeFee_Fuzz(uint16,uint224) (runs: 1000, μ: 47538, ~: 48966)
351
- [PASS] test_getAmountBeforeFee_MaxBps() (gas: 47301)
352
- [PASS] test_getAmountBeforeFee_Rounding() (gas: 48148)
353
- [PASS] test_getAmountBeforeFee_Specific() (gas: 71482)
354
- [PASS] test_getAmountBeforeFee_SpecificDisabled() (gas: 67096)
355
- [PASS] test_getAmountBeforeFee_ZeroAmount() (gas: 43173)
356
- [PASS] test_getAmountBeforeFee_ZeroBps() (gas: 22479)
357
- [PASS] test_getFee_BoundaryConditions() (gas: 75442)
358
- [PASS] test_getFee_Default() (gas: 43108)
359
- [PASS] test_getFee_Fuzz(uint16,uint32,uint240) (runs: 1000, μ: 45715, ~: 47017)
360
- [PASS] test_getFee_Rounding() (gas: 45449)
361
- [PASS] test_getFee_Specific() (gas: 66985)
362
- [PASS] test_getFee_SpecificDisabled() (gas: 66943)
363
- [PASS] test_setDefaultFeeBps() (gas: 42199)
364
- [PASS] test_setDefaultFeeBps_Fuzz(uint16) (runs: 1000, μ: 35268, ~: 42268)
365
- [PASS] test_setDefaultFeeBps_RevertInvalid() (gas: 16371)
366
- [PASS] test_setDefaultFeeBps_Revert_Unauthorized() (gas: 20432)
367
- [PASS] test_setFeeBps() (gas: 77237)
368
- Logs:
369
- Bound result 500
370
-
371
- [PASS] test_setFeeBps_Fuzz(uint16,uint32,uint16,bool) (runs: 1000, μ: 68954, ~: 77570)
372
- [PASS] test_setFeeBps_RevertInvalid() (gas: 16575)
373
- [PASS] test_setFeeBps_Revert_Unauthorized() (gas: 20531)
374
- [PASS] test_storageHash() (gas: 3436)
375
- Suite result: ok. 24 passed; 0 failed; 0 skipped; finished in 501.41ms (601.29ms CPU time)
376
-
377
- Ran 47 tests for test/PauseByIDRBACUpgradeable.t.sol:PauseByIDRBACUpgradeableTest
378
- [PASS] test_assertNotPaused_Revert_DefaultPaused() (gas: 43478)
379
- [PASS] test_assertNotPaused_Revert_SpecificPaused() (gas: 46209)
380
- [PASS] test_assertNotPaused_Success() (gas: 14891)
381
- [PASS] test_defaultPause_AffectsMultipleIDs() (gas: 55680)
382
- [PASS] test_defaultPaused_InitialState() (gas: 15572)
383
- [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 18031)
384
- [PASS] test_isPaused_Default() (gas: 47316)
385
- [PASS] test_isPaused_InitialState() (gas: 22172)
386
- [PASS] test_isPaused_MultipleIDs() (gas: 80142)
387
- [PASS] test_isPaused_Override() (gas: 75171)
388
- [PASS] test_isPaused_Specific() (gas: 50105)
389
- [PASS] test_isPaused_SpecificDisabled() (gas: 55561)
390
- [PASS] test_pauseConfig() (gas: 51028)
391
- [PASS] test_roleManagement_grantAndRevoke() (gas: 172245)
392
- [PASS] test_setDefaultPaused() (gas: 42196)
393
- [PASS] test_setDefaultPaused_Fuzz(bool) (runs: 1000, μ: 30659, ~: 42446)
394
- [PASS] test_setDefaultPaused_Idempotent_InitialState_Reverts() (gas: 20523)
395
- [PASS] test_setDefaultPaused_Idempotent_Reverts() (gas: 41737)
396
- [PASS] test_setDefaultPaused_Revert_Unauthorized() (gas: 20560)
397
- [PASS] test_setDefaultPaused_Success() (gas: 40744)
398
- [PASS] test_setPaused() (gas: 48361)
399
- [PASS] test_setPaused_DormantData() (gas: 295234)
400
- [PASS] test_setPaused_EmptyArray() (gas: 15702)
401
- [PASS] test_setPaused_EmptyArrayWithUnpauserRole() (gas: 100683)
402
- [PASS] test_setPaused_Fuzz(uint256,bool,bool) (runs: 1000, μ: 43765, ~: 48696)
403
- [PASS] test_setPaused_Fuzz_EffectiveStateRoleCheck(bool,bool,bool) (runs: 1000, μ: 222875, ~: 216804)
404
- [PASS] test_setPaused_Revert_EmptyArrayUnauthorized() (gas: 23131)
405
- [PASS] test_setPaused_Revert_MixedBatchWithDisabledConfigs_NeedsBothRoles() (gas: 132176)
406
- [PASS] test_setPaused_Revert_PauserCannotCauseEffectiveUnpause() (gas: 107518)
407
- [PASS] test_setPaused_Revert_Unauthorized() (gas: 24037)
408
- [PASS] test_setPaused_Revert_UnpauserCannotCauseEffectivePause() (gas: 130805)
409
- [PASS] test_setPaused_Success() (gas: 45897)
410
- [PASS] test_setPaused_Success_Batch() (gas: 345312)
411
- [PASS] test_setPaused_Success_EdgeCase_IDMaxUint256() (gas: 45858)
412
- [PASS] test_setPaused_Success_EdgeCase_IDZero() (gas: 45875)
413
- [PASS] test_setPaused_Success_MixedBatchWithDisabledConfigs_BothRoles() (gas: 241273)
414
- [PASS] test_setPaused_Success_PauserCanSetDisabledWhenDefaultPaused() (gas: 133457)
415
- [PASS] test_setPaused_Success_Toggle() (gas: 58022)
416
- [PASS] test_setPaused_Success_UnpauserCanSetDisabledWhenDefaultUnpaused() (gas: 130070)
417
- [PASS] test_specificOverridesDefault_Fuzz(bool,bool) (runs: 1000, μ: 62067, ~: 50341)
418
- [PASS] test_storageHash() (gas: 3392)
419
- [PASS] test_whenNotPaused_Revert_DefaultPaused() (gas: 47171)
420
- [PASS] test_whenNotPaused_Revert_SpecificPaused() (gas: 49932)
421
- [PASS] test_whenNotPaused_Success() (gas: 41299)
422
- [PASS] test_whenNotPaused_Success_SpecificUnpaused() (gas: 94341)
423
- [PASS] test_whenNotPaused_WithReturnValue() (gas: 17859)
424
- [PASS] test_whenNotPaused_WithReturnValue_Reverts() (gas: 46165)
425
- Suite result: ok. 47 passed; 0 failed; 0 skipped; finished in 1.22s (801.43ms CPU time)
426
-
427
- Ran 22 tests for test/FeeConfigBaseUpgradeable.t.sol:FeeConfigBaseUpgradeableTest
428
- [PASS] test_getAmountBeforeFee_BoundaryConditions() (gas: 48074)
429
- [PASS] test_getAmountBeforeFee_Default() (gas: 45067)
430
- [PASS] test_getAmountBeforeFee_Fuzz(uint16,uint224) (runs: 1000, μ: 45007, ~: 46317)
431
- [PASS] test_getAmountBeforeFee_MaxBps() (gas: 44658)
432
- [PASS] test_getAmountBeforeFee_Rounding() (gas: 45406)
433
- [PASS] test_getAmountBeforeFee_Specific() (gas: 68448)
434
- [PASS] test_getAmountBeforeFee_SpecificDisabled() (gas: 64007)
435
- [PASS] test_getAmountBeforeFee_ZeroAmount() (gas: 40642)
436
- [PASS] test_getAmountBeforeFee_ZeroBps() (gas: 22306)
437
- [PASS] test_getFee_BoundaryConditions() (gas: 71791)
438
- [PASS] test_getFee_Default() (gas: 40577)
439
- [PASS] test_getFee_Fuzz(uint16,uint32,uint240) (runs: 1000, μ: 43049, ~: 44486)
440
- [PASS] test_getFee_Rounding() (gas: 42835)
441
- [PASS] test_getFee_Specific() (gas: 63968)
442
- [PASS] test_getFee_SpecificDisabled() (gas: 63920)
443
- [PASS] test_setDefaultFeeBps() (gas: 39576)
444
- [PASS] test_setDefaultFeeBps_Fuzz(uint16) (runs: 1000, μ: 31906, ~: 39667)
445
- [PASS] test_setDefaultFeeBps_RevertInvalid() (gas: 13860)
446
- [PASS] test_setFeeBps() (gas: 73871)
447
- Logs:
448
- Bound result 500
449
-
450
- [PASS] test_setFeeBps_Fuzz(uint16,uint32,uint16,bool) (runs: 1000, μ: 65491, ~: 74224)
451
- [PASS] test_setFeeBps_RevertInvalid() (gas: 14075)
452
- [PASS] test_storageHash() (gas: 3426)
453
- Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 1.29s (414.05ms CPU time)
454
-
455
- Ran 32 tests for test/AllowlistRBACUpgradeable.t.sol:AllowlistRBACUpgradeableTest
456
- [PASS] test_SwitchModes_PreservesState() (gas: 195548)
457
- [PASS] test_constructor_InitialMode() (gas: 15778)
458
- [PASS] test_constructor_InitializeWhitelist() (gas: 2171134)
459
- [PASS] test_isAllowlisted_Blacklist_Blacklisted() (gas: 127952)
460
- [PASS] test_isAllowlisted_Blacklist_NotBlacklisted() (gas: 45551)
461
- [PASS] test_isAllowlisted_Fuzz_Blacklist_Blacklisted(address) (runs: 1000, μ: 115161, ~: 115161)
462
- [PASS] test_isAllowlisted_Fuzz_Blacklist_NotBlacklisted(address) (runs: 1000, μ: 43599, ~: 43599)
463
- [PASS] test_isAllowlisted_Fuzz_Open(address) (runs: 1000, μ: 15886, ~: 15886)
464
- [PASS] test_isAllowlisted_Fuzz_Whitelist_NotWhitelisted(address) (runs: 1000, μ: 43652, ~: 43652)
465
- [PASS] test_isAllowlisted_Fuzz_Whitelist_Whitelisted(address) (runs: 1000, μ: 115159, ~: 115159)
466
- [PASS] test_isAllowlisted_Open_AllAllowed() (gas: 26122)
467
- [PASS] test_isAllowlisted_Whitelist_NotWhitelisted() (gas: 45582)
468
- [PASS] test_isAllowlisted_Whitelist_Whitelisted() (gas: 127862)
469
- [PASS] test_onlyAllowlisted_Blacklist_RevertIfBlacklisted() (gas: 126878)
470
- [PASS] test_onlyAllowlisted_Open_AllAllowed() (gas: 22694)
471
- [PASS] test_onlyAllowlisted_Whitelist_RevertIfNotWhitelisted() (gas: 124784)
472
- [PASS] test_setAllowlistMode_Revert_Unauthorized() (gas: 20371)
473
- [PASS] test_setBlacklisted_EmptyArray() (gas: 13361)
474
- [PASS] test_setBlacklisted_MultipleUsers() (gas: 173727)
475
- [PASS] test_setBlacklisted_RemoveFromBlacklist() (gas: 99570)
476
- [PASS] test_setBlacklisted_Revert_AlreadyBlacklisted() (gas: 125055)
477
- [PASS] test_setBlacklisted_Revert_Unauthorized() (gas: 23329)
478
- [PASS] test_setMode_Blacklist() (gas: 42605)
479
- [PASS] test_setMode_MultipleChanges() (gas: 43274)
480
- [PASS] test_setMode_RevertSameMode() (gas: 51355)
481
- [PASS] test_setMode_Whitelist() (gas: 42714)
482
- [PASS] test_setWhitelisted_EmptyArray() (gas: 13339)
483
- [PASS] test_setWhitelisted_MultipleUsers() (gas: 173661)
484
- [PASS] test_setWhitelisted_RemoveFromWhitelist() (gas: 99588)
485
- [PASS] test_setWhitelisted_Revert_AlreadyWhitelisted() (gas: 125059)
486
- [PASS] test_setWhitelisted_Revert_Unauthorized() (gas: 23176)
487
- [PASS] test_storageHash() (gas: 3480)
488
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.39s (522.81ms CPU time)
489
-
490
- Ran 27 tests for test/PauseRBACUpgradeable.t.sol:PauseRBACUpgradeableTest
491
- [PASS] test_assertNotPaused_Fuzz(bool) (runs: 1000, μ: 27221, ~: 41090)
492
- [PASS] test_assertNotPaused_Revert_Paused() (gas: 40859)
493
- [PASS] test_assertNotPaused_Success() (gas: 12539)
494
- [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15965)
495
- [PASS] test_initialize_Revert_AlreadyInitialized_AdminUnchanged() (gas: 49417)
496
- [PASS] test_isPaused_InitialState() (gas: 15629)
497
- [PASS] test_modifierEnforcement_WithRoles() (gas: 218598)
498
- [PASS] test_multipleRoleGrants() (gas: 394130)
499
- [PASS] test_pause() (gas: 42109)
500
- [PASS] test_renounceRole_Success_FunctionsRevert() (gas: 36029)
501
- [PASS] test_roleTransfer_GrantAndRevoke() (gas: 180125)
502
- [PASS] test_setPaused_Fuzz(bool) (runs: 1000, μ: 30897, ~: 42378)
503
- [PASS] test_setPaused_Idempotent_InitialState_Reverts() (gas: 20507)
504
- [PASS] test_setPaused_Idempotent_Reverts() (gas: 41497)
505
- [PASS] test_setPaused_Revert_Unauthorized() (gas: 20279)
506
- [PASS] test_setPaused_Success() (gas: 40691)
507
- [PASS] test_setPaused_Success_MultipleOperations() (gas: 58020)
508
- [PASS] test_setPaused_Success_ToggleMultipleTimes() (gas: 79509)
509
- [PASS] test_storageHash() (gas: 3414)
510
- [PASS] test_unpause() (gas: 35177)
511
- [PASS] test_whenNotPaused_Fuzz(bool) (runs: 1000, μ: 41686, ~: 44479)
512
- [PASS] test_whenNotPaused_Revert_Paused() (gas: 44372)
513
- [PASS] test_whenNotPaused_Revert_WithReturnValue() (gas: 40903)
514
- [PASS] test_whenNotPaused_Success() (gas: 38800)
515
- [PASS] test_whenNotPaused_Success_AfterUnpause() (gas: 52332)
516
- [PASS] test_whenNotPaused_Success_MultipleCalls() (gas: 61669)
517
- [PASS] test_whenNotPaused_WithReturnValue() (gas: 15658)
518
- Suite result: ok. 27 passed; 0 failed; 0 skipped; finished in 1.39s (277.21ms CPU time)
420
+ [PASS] test_initialize_Revert_InvalidDefaultAdmin() (gas: 863678)
421
+ [PASS] test_initialize_Success_AdminHasRole() (gas: 32722)
422
+ [PASS] test_integration_TransferAndTransferAgain() (gas: 234392)
423
+ [PASS] test_integration_TransferCancelRetransfer() (gas: 120851)
424
+ [PASS] test_pendingDefaultAdmin_InitiallyZero() (gas: 15672)
425
+ [PASS] test_renounceRole_Revert_DefaultAdminRole() (gas: 18191)
426
+ [PASS] test_renounceRole_Revert_DefaultAdminRoleDuringPendingTransfer() (gas: 47370)
427
+ [PASS] test_renounceRole_Success_NonAdminRole_Admin() (gas: 93290)
428
+ [PASS] test_renounceRole_Success_NonAdminRole_NonAdmin() (gas: 94023)
429
+ [PASS] test_revokeRole_Revert_DefaultAdminRole_Admin() (gas: 22885)
430
+ [PASS] test_revokeRole_Revert_DefaultAdminRole_NonAdmin() (gas: 25784)
431
+ [PASS] test_revokeRole_Revert_NonAdminRole_NonAdmin() (gas: 124079)
432
+ [PASS] test_revokeRole_Success_NonAdminRole_Admin() (gas: 95654)
433
+ [PASS] test_setRoleAdmin_Revert_DefaultAdminRole() (gas: 18062)
434
+ [PASS] test_setRoleAdmin_Success_NonAdminRole_Other() (gas: 42684)
435
+ [PASS] test_setRoleAdmin_Success_NonAdminRole_Self() (gas: 23859)
436
+ [PASS] test_storageHash() (gas: 3380)
437
+ Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 1.36s (430.89ms CPU time)
519
438
 
520
- Ran 8 tests for test/RateLimiterRBACUpgradeableInvariant.t.sol:RateLimiterRBACUpgradeableInvariantGlobalStateTest
439
+ Ran 8 tests for test/RateLimiterRBACUpgradeableInvariant.t.sol:RateLimiterRBACUpgradeableInvariantTest
521
440
  [PASS] invariant_AvailableConsistent() (runs: 256, calls: 3840, reverts: 0)
522
441
 
523
442
  ╭-----------------------------------+---------------------+-------+---------+----------╮
524
443
  | Contract | Selector | Calls | Reverts | Discards |
525
444
  +======================================================================================+
526
- | RateLimiterRBACUpgradeableHandler | inflow | 508 | 0 | 0 |
445
+ | RateLimiterRBACUpgradeableHandler | inflow | 542 | 0 | 0 |
527
446
  |-----------------------------------+---------------------+-------+---------+----------|
528
- | RateLimiterRBACUpgradeableHandler | outflow | 541 | 0 | 0 |
447
+ | RateLimiterRBACUpgradeableHandler | outflow | 539 | 0 | 0 |
529
448
  |-----------------------------------+---------------------+-------+---------+----------|
530
- | RateLimiterRBACUpgradeableHandler | setConfig | 573 | 0 | 0 |
449
+ | RateLimiterRBACUpgradeableHandler | setConfig | 552 | 0 | 0 |
531
450
  |-----------------------------------+---------------------+-------+---------+----------|
532
- | RateLimiterRBACUpgradeableHandler | setState | 580 | 0 | 0 |
451
+ | RateLimiterRBACUpgradeableHandler | setState | 568 | 0 | 0 |
533
452
  |-----------------------------------+---------------------+-------+---------+----------|
534
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 554 | 0 | 0 |
453
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 574 | 0 | 0 |
535
454
  |-----------------------------------+---------------------+-------+---------+----------|
536
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 548 | 0 | 0 |
455
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 528 | 0 | 0 |
537
456
  |-----------------------------------+---------------------+-------+---------+----------|
538
- | RateLimiterRBACUpgradeableHandler | warp | 536 | 0 | 0 |
457
+ | RateLimiterRBACUpgradeableHandler | warp | 537 | 0 | 0 |
539
458
  ╰-----------------------------------+---------------------+-------+---------+----------╯
540
459
 
541
460
  Logs:
542
- Bound result 452
543
- Bound result 9900000000023720904299
544
- Bound result 9900000037601110189097
545
- Bound result 1620
546
- Bound result 6687
547
- Bound result 9900000000000411029180
548
- Bound result 6914264337593535947489
549
- Bound result 3123
550
- Bound result 1378
551
- Bound result 46
552
- Bound result 26859
553
- Bound result 3352
554
- Bound result 3
555
- Bound result 1229
556
- Bound result 8307
557
- Bound result 4812421941287723879844
558
- Bound result 5575
559
- Bound result 9900000000000000005818
560
- Bound result 9900000000000000001147
561
- Bound result 6052
562
- Bound result 7448
461
+ Bound result 7938
462
+ Bound result 743562185218377077
463
+ Bound result 663714114
464
+ Bound result 519
465
+ Bound result 1
466
+ Bound result 1434
467
+ Bound result 1827
468
+ Bound result 1588
469
+ Bound result 6088514778278652143599
470
+ Bound result 9900000000000000113886
471
+ Bound result 6239
472
+ Bound result 2261
473
+ Bound result 1908562454564632574
474
+ Bound result 40
563
475
 
564
476
  [PASS] invariant_ConfigBitmapConsistency() (runs: 256, calls: 3840, reverts: 0)
565
477
 
566
478
  ╭-----------------------------------+---------------------+-------+---------+----------╮
567
479
  | Contract | Selector | Calls | Reverts | Discards |
568
480
  +======================================================================================+
569
- | RateLimiterRBACUpgradeableHandler | inflow | 544 | 0 | 0 |
481
+ | RateLimiterRBACUpgradeableHandler | inflow | 556 | 0 | 0 |
570
482
  |-----------------------------------+---------------------+-------+---------+----------|
571
- | RateLimiterRBACUpgradeableHandler | outflow | 529 | 0 | 0 |
483
+ | RateLimiterRBACUpgradeableHandler | outflow | 534 | 0 | 0 |
572
484
  |-----------------------------------+---------------------+-------+---------+----------|
573
- | RateLimiterRBACUpgradeableHandler | setConfig | 546 | 0 | 0 |
485
+ | RateLimiterRBACUpgradeableHandler | setConfig | 570 | 0 | 0 |
574
486
  |-----------------------------------+---------------------+-------+---------+----------|
575
- | RateLimiterRBACUpgradeableHandler | setState | 588 | 0 | 0 |
487
+ | RateLimiterRBACUpgradeableHandler | setState | 566 | 0 | 0 |
576
488
  |-----------------------------------+---------------------+-------+---------+----------|
577
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 532 | 0 | 0 |
489
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 565 | 0 | 0 |
578
490
  |-----------------------------------+---------------------+-------+---------+----------|
579
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 541 | 0 | 0 |
491
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 548 | 0 | 0 |
580
492
  |-----------------------------------+---------------------+-------+---------+----------|
581
- | RateLimiterRBACUpgradeableHandler | warp | 560 | 0 | 0 |
493
+ | RateLimiterRBACUpgradeableHandler | warp | 501 | 0 | 0 |
582
494
  ╰-----------------------------------+---------------------+-------+---------+----------╯
583
495
 
584
496
  Logs:
585
- Bound result 1548580883601478649517
586
- Bound result 4479867
587
- Bound result 1
588
- Bound result 275326166901063307525
589
- Bound result 514264337593504336253
590
- Bound result 216734224410546591882
497
+ Bound result 9900000000000000002654
498
+ Bound result 9900000000000000003340
499
+ Bound result 1921
500
+ Bound result 873
501
+ Bound result 3
502
+ Bound result 168352919750081
503
+ Bound result 27638585
504
+ Bound result 0
505
+ Bound result 97693615154362996930
506
+ Bound result 25164436771504
507
+ Bound result 0
591
508
  Bound result 0
592
- Bound result 1874863407976662570135
593
- Bound result 714458837924287871680
594
- Bound result 9900000000000508542456
595
- Bound result 9900000000000000000407
596
- Bound result 8995
597
- Bound result 7820
598
- Bound result 4602884991323874048850
599
- Bound result 9900027881197501094996
600
- Bound result 377
601
- Bound result 31
602
- Bound result 144
603
- Bound result 73213732616918306116
604
- Bound result 9900000000000000005621
605
- Bound result 9991855308653467102964
606
- Bound result 3463
607
- Bound result 687
608
- Bound result 775
609
- Bound result 1348
509
+ Bound result 9900000000000001854610
510
+ Bound result 9952969263309445683242
511
+ Bound result 10
512
+ Bound result 485
513
+ Bound result 6166365383668416141516
514
+ Bound result 8932344197216803664195
515
+ Bound result 9878
516
+ Bound result 3814
517
+ Bound result 283
518
+ Bound result 3996
519
+ Bound result 1446
520
+ Bound result 4
521
+ Bound result 261429761832
522
+ Bound result 74
523
+ Bound result 357482027
610
524
 
611
525
  [PASS] invariant_ConfigConsistency() (runs: 256, calls: 3840, reverts: 0)
612
526
 
613
527
  ╭-----------------------------------+---------------------+-------+---------+----------╮
614
528
  | Contract | Selector | Calls | Reverts | Discards |
615
529
  +======================================================================================+
616
- | RateLimiterRBACUpgradeableHandler | inflow | 580 | 0 | 0 |
530
+ | RateLimiterRBACUpgradeableHandler | inflow | 533 | 0 | 0 |
617
531
  |-----------------------------------+---------------------+-------+---------+----------|
618
- | RateLimiterRBACUpgradeableHandler | outflow | 541 | 0 | 0 |
532
+ | RateLimiterRBACUpgradeableHandler | outflow | 527 | 0 | 0 |
619
533
  |-----------------------------------+---------------------+-------+---------+----------|
620
- | RateLimiterRBACUpgradeableHandler | setConfig | 599 | 0 | 0 |
534
+ | RateLimiterRBACUpgradeableHandler | setConfig | 532 | 0 | 0 |
621
535
  |-----------------------------------+---------------------+-------+---------+----------|
622
- | RateLimiterRBACUpgradeableHandler | setState | 526 | 0 | 0 |
536
+ | RateLimiterRBACUpgradeableHandler | setState | 590 | 0 | 0 |
623
537
  |-----------------------------------+---------------------+-------+---------+----------|
624
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 537 | 0 | 0 |
538
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 523 | 0 | 0 |
625
539
  |-----------------------------------+---------------------+-------+---------+----------|
626
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 538 | 0 | 0 |
540
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 513 | 0 | 0 |
627
541
  |-----------------------------------+---------------------+-------+---------+----------|
628
- | RateLimiterRBACUpgradeableHandler | warp | 519 | 0 | 0 |
542
+ | RateLimiterRBACUpgradeableHandler | warp | 622 | 0 | 0 |
629
543
  ╰-----------------------------------+---------------------+-------+---------+----------╯
630
544
 
631
545
  Logs:
632
- Bound result 1736814038240406134510
633
- Bound result 1058
634
- Bound result 718
635
- Bound result 6554
636
- Bound result 113
637
- Bound result 255
638
- Bound result 1481
639
- Bound result 9449
640
- Bound result 990
641
- Bound result 943
642
- Bound result 29737036263899241466
643
- Bound result 1177839823627468095543
644
- Bound result 3073559828434448285249
645
- Bound result 4612
646
- Bound result 2682
647
- Bound result 12934
648
- Bound result 9900000000029706865942
649
- Bound result 9660994027430679475617
650
- Bound result 3015
651
- Bound result 96
652
- Bound result 9900000000000000003047
653
- Bound result 9900000000000000001172
654
- Bound result 2335
655
- Bound result 72
546
+ Bound result 8652
547
+ Bound result 1240
548
+ Bound result 1294955566520201
549
+ Bound result 1431176826918301668034
550
+ Bound result 9
551
+ Bound result 514264337593504336254
552
+ Bound result 0
553
+ Bound result 168
554
+ Bound result 3039
555
+ Bound result 240
556
+ Bound result 142
557
+ Bound result 8121
558
+ Bound result 5652
559
+ Bound result 523
560
+ Bound result 1916647990860038051180
561
+ Bound result 7056
562
+ Bound result 8298
563
+ Bound result 47
564
+ Bound result 2193
565
+ Bound result 495
566
+ Bound result 495
656
567
 
657
568
  [PASS] invariant_ExemptionConsistency() (runs: 256, calls: 3840, reverts: 0)
658
569
 
659
570
  ╭-----------------------------------+---------------------+-------+---------+----------╮
660
571
  | Contract | Selector | Calls | Reverts | Discards |
661
572
  +======================================================================================+
662
- | RateLimiterRBACUpgradeableHandler | inflow | 546 | 0 | 0 |
573
+ | RateLimiterRBACUpgradeableHandler | inflow | 561 | 0 | 0 |
663
574
  |-----------------------------------+---------------------+-------+---------+----------|
664
- | RateLimiterRBACUpgradeableHandler | outflow | 520 | 0 | 0 |
575
+ | RateLimiterRBACUpgradeableHandler | outflow | 568 | 0 | 0 |
665
576
  |-----------------------------------+---------------------+-------+---------+----------|
666
- | RateLimiterRBACUpgradeableHandler | setConfig | 531 | 0 | 0 |
577
+ | RateLimiterRBACUpgradeableHandler | setConfig | 546 | 0 | 0 |
667
578
  |-----------------------------------+---------------------+-------+---------+----------|
668
- | RateLimiterRBACUpgradeableHandler | setState | 557 | 0 | 0 |
579
+ | RateLimiterRBACUpgradeableHandler | setState | 520 | 0 | 0 |
669
580
  |-----------------------------------+---------------------+-------+---------+----------|
670
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 542 | 0 | 0 |
581
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 537 | 0 | 0 |
671
582
  |-----------------------------------+---------------------+-------+---------+----------|
672
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 575 | 0 | 0 |
583
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 557 | 0 | 0 |
673
584
  |-----------------------------------+---------------------+-------+---------+----------|
674
- | RateLimiterRBACUpgradeableHandler | warp | 569 | 0 | 0 |
585
+ | RateLimiterRBACUpgradeableHandler | warp | 551 | 0 | 0 |
675
586
  ╰-----------------------------------+---------------------+-------+---------+----------╯
676
587
 
677
588
  Logs:
678
- Bound result 1931
679
- Bound result 815
680
- Bound result 1
681
- Bound result 68
682
- Bound result 155444206180294169609
683
- Bound result 283342707
684
- Bound result 116977713357590587
685
- Bound result 720
686
- Bound result 9900000000126678020215
687
- Bound result 100000000000000000003
688
- Bound result 4558
689
- Bound result 3417
690
- Bound result 14255
691
- Bound result 11
692
- Bound result 1435
589
+ Bound result 6839
590
+ Bound result 3
591
+ Bound result 2
592
+ Bound result 9900005043220398239818
593
+ Bound result 9900000000000000000034
594
+ Bound result 6962
595
+ Bound result 137
596
+ Bound result 1050
597
+ Bound result 7300
598
+ Bound result 90
599
+ Bound result 6562
600
+ Bound result 4730
601
+ Bound result 9939
602
+ Bound result 8882
693
603
 
694
604
  [PASS] invariant_GhostConsistency() (runs: 256, calls: 3840, reverts: 0)
695
605
 
696
606
  ╭-----------------------------------+---------------------+-------+---------+----------╮
697
607
  | Contract | Selector | Calls | Reverts | Discards |
698
608
  +======================================================================================+
699
- | RateLimiterRBACUpgradeableHandler | inflow | 538 | 0 | 0 |
609
+ | RateLimiterRBACUpgradeableHandler | inflow | 547 | 0 | 0 |
700
610
  |-----------------------------------+---------------------+-------+---------+----------|
701
- | RateLimiterRBACUpgradeableHandler | outflow | 529 | 0 | 0 |
611
+ | RateLimiterRBACUpgradeableHandler | outflow | 569 | 0 | 0 |
702
612
  |-----------------------------------+---------------------+-------+---------+----------|
703
- | RateLimiterRBACUpgradeableHandler | setConfig | 567 | 0 | 0 |
613
+ | RateLimiterRBACUpgradeableHandler | setConfig | 557 | 0 | 0 |
704
614
  |-----------------------------------+---------------------+-------+---------+----------|
705
- | RateLimiterRBACUpgradeableHandler | setState | 551 | 0 | 0 |
615
+ | RateLimiterRBACUpgradeableHandler | setState | 543 | 0 | 0 |
706
616
  |-----------------------------------+---------------------+-------+---------+----------|
707
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 549 | 0 | 0 |
617
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 554 | 0 | 0 |
708
618
  |-----------------------------------+---------------------+-------+---------+----------|
709
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 538 | 0 | 0 |
619
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 521 | 0 | 0 |
710
620
  |-----------------------------------+---------------------+-------+---------+----------|
711
- | RateLimiterRBACUpgradeableHandler | warp | 568 | 0 | 0 |
621
+ | RateLimiterRBACUpgradeableHandler | warp | 549 | 0 | 0 |
712
622
  ╰-----------------------------------+---------------------+-------+---------+----------╯
713
623
 
714
624
  Logs:
715
- Bound result 811
716
- Bound result 582
717
- Bound result 8397
718
- Bound result 1399
719
- Bound result 9351
720
- Bound result 9900000000000027395763
721
- Bound result 100000000000000000002
722
- Bound result 3187
723
- Bound result 9341
724
- Bound result 2416
725
- Bound result 791671132
726
- Bound result 561
727
- Bound result 6
728
- Bound result 35449142038
729
- Bound result 750100
730
- Bound result 22
731
- Bound result 2419
732
- Bound result 9900000000000000000232
733
- Bound result 9900000000004294967296
734
- Bound result 2461
735
- Bound result 2096
625
+ Bound result 9900000000000344526423
626
+ Bound result 9900000000000000004513
627
+ Bound result 746
628
+ Bound result 8764
629
+ Bound result 3856056067
630
+ Bound result 9900000000000000005055
631
+ Bound result 9900000000000000001854
632
+ Bound result 5185
633
+ Bound result 5549
634
+ Bound result 8001
635
+ Bound result 1795
636
+ Bound result 14325633530974656033946
637
+ Bound result 331434984580659861
638
+ Bound result 296
639
+ Bound result 537997120866
640
+ Bound result 18
641
+ Bound result 9900000000000452777888
642
+ Bound result 9900000000000000003575
643
+ Bound result 9849
644
+ Bound result 5632
645
+ Bound result 10213771662336123144852
736
646
 
737
647
  [PASS] invariant_LastUpdatedNotFuture() (runs: 256, calls: 3840, reverts: 0)
738
648
 
739
649
  ╭-----------------------------------+---------------------+-------+---------+----------╮
740
650
  | Contract | Selector | Calls | Reverts | Discards |
741
651
  +======================================================================================+
742
- | RateLimiterRBACUpgradeableHandler | inflow | 547 | 0 | 0 |
652
+ | RateLimiterRBACUpgradeableHandler | inflow | 543 | 0 | 0 |
743
653
  |-----------------------------------+---------------------+-------+---------+----------|
744
- | RateLimiterRBACUpgradeableHandler | outflow | 562 | 0 | 0 |
654
+ | RateLimiterRBACUpgradeableHandler | outflow | 523 | 0 | 0 |
745
655
  |-----------------------------------+---------------------+-------+---------+----------|
746
- | RateLimiterRBACUpgradeableHandler | setConfig | 552 | 0 | 0 |
656
+ | RateLimiterRBACUpgradeableHandler | setConfig | 562 | 0 | 0 |
747
657
  |-----------------------------------+---------------------+-------+---------+----------|
748
- | RateLimiterRBACUpgradeableHandler | setState | 508 | 0 | 0 |
658
+ | RateLimiterRBACUpgradeableHandler | setState | 545 | 0 | 0 |
749
659
  |-----------------------------------+---------------------+-------+---------+----------|
750
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 543 | 0 | 0 |
660
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 579 | 0 | 0 |
751
661
  |-----------------------------------+---------------------+-------+---------+----------|
752
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 596 | 0 | 0 |
662
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 515 | 0 | 0 |
753
663
  |-----------------------------------+---------------------+-------+---------+----------|
754
- | RateLimiterRBACUpgradeableHandler | warp | 532 | 0 | 0 |
664
+ | RateLimiterRBACUpgradeableHandler | warp | 573 | 0 | 0 |
755
665
  ╰-----------------------------------+---------------------+-------+---------+----------╯
756
666
 
757
667
  Logs:
758
- Bound result 616
759
- Bound result 2165
760
- Bound result 21
761
- Bound result 3043
762
- Bound result 359
763
- Bound result 7393
764
- Bound result 459
765
- Bound result 2
766
- Bound result 15349333446
767
- Bound result 19
768
- Bound result 2
769
- Bound result 72120
770
- Bound result 45
771
- Bound result 1
772
- Bound result 206113159719234512
773
- Bound result 631894822407
774
- Bound result 30
775
- Bound result 1740
776
- Bound result 9900000000000000001675
777
- Bound result 7998996683314043846436
778
- Bound result 1041
779
- Bound result 3450
668
+ Bound result 9900000000000000000824
669
+ Bound result 9900000000000613063845
670
+ Bound result 417
671
+ Bound result 4893
672
+ Bound result 6699
673
+ Bound result 2348707489717669982469
674
+ Bound result 9900021373682299873086
675
+ Bound result 8958
676
+ Bound result 9999
677
+ Bound result 9900000000041642268223
678
+ Bound result 100000000000000000000
679
+ Bound result 6241
680
+ Bound result 10
681
+ Bound result 31147600888132
682
+ Bound result 210968819
683
+ Bound result 6002
684
+ Bound result 5
685
+ Bound result 15775181346105165161912
686
+ Bound result 826984041511484
687
+ Bound result 811
688
+ Bound result 9900000000003689055019
689
+ Bound result 9900000000003796991296
690
+ Bound result 566
691
+ Bound result 1004
692
+ Bound result 1587
693
+ Bound result 9900000000000000005690
694
+ Bound result 9900000000000000006853
695
+ Bound result 23
696
+ Bound result 9888
697
+ Bound result 10285
698
+ Bound result 10312
780
699
 
781
700
  [PASS] invariant_PristineIdUntouched() (runs: 256, calls: 3840, reverts: 0)
782
701
 
783
702
  ╭-----------------------------------+---------------------+-------+---------+----------╮
784
703
  | Contract | Selector | Calls | Reverts | Discards |
785
704
  +======================================================================================+
786
- | RateLimiterRBACUpgradeableHandler | inflow | 497 | 0 | 0 |
705
+ | RateLimiterRBACUpgradeableHandler | inflow | 603 | 0 | 0 |
787
706
  |-----------------------------------+---------------------+-------+---------+----------|
788
- | RateLimiterRBACUpgradeableHandler | outflow | 535 | 0 | 0 |
707
+ | RateLimiterRBACUpgradeableHandler | outflow | 487 | 0 | 0 |
789
708
  |-----------------------------------+---------------------+-------+---------+----------|
790
- | RateLimiterRBACUpgradeableHandler | setConfig | 542 | 0 | 0 |
709
+ | RateLimiterRBACUpgradeableHandler | setConfig | 558 | 0 | 0 |
791
710
  |-----------------------------------+---------------------+-------+---------+----------|
792
- | RateLimiterRBACUpgradeableHandler | setState | 565 | 0 | 0 |
711
+ | RateLimiterRBACUpgradeableHandler | setState | 561 | 0 | 0 |
793
712
  |-----------------------------------+---------------------+-------+---------+----------|
794
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 565 | 0 | 0 |
713
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 557 | 0 | 0 |
795
714
  |-----------------------------------+---------------------+-------+---------+----------|
796
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 604 | 0 | 0 |
715
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 564 | 0 | 0 |
797
716
  |-----------------------------------+---------------------+-------+---------+----------|
798
- | RateLimiterRBACUpgradeableHandler | warp | 532 | 0 | 0 |
717
+ | RateLimiterRBACUpgradeableHandler | warp | 510 | 0 | 0 |
799
718
  ╰-----------------------------------+---------------------+-------+---------+----------╯
800
719
 
801
720
  Logs:
802
- Bound result 1485
803
- Bound result 21
804
- Bound result 979
805
- Bound result 2277
806
- Bound result 9900000000098948848864
807
- Bound result 100000000000000000001
808
- Bound result 7310
809
- Bound result 74
810
- Bound result 9481167181146085100979
811
- Bound result 2074
812
- Bound result 1320
813
- Bound result 2004
814
- Bound result 36148380071
815
- Bound result 2719922
816
- Bound result 1908
817
- Bound result 247671704908
818
- Bound result 3793250972595378243
819
- Bound result 688
820
- Bound result 2
821
- Bound result 100000000000000000000
822
- Bound result 6914264337593535947491
823
- Bound result 29
824
- Bound result 1661
721
+ Bound result 1889
722
+ Bound result 9900000000000000000165
723
+ Bound result 100000000000000000002
724
+ Bound result 166
725
+ Bound result 5775
726
+ Bound result 126001497455170971036
727
+ Bound result 37321
728
+ Bound result 9900000000000000003931
729
+ Bound result 5083937887562345968612
730
+ Bound result 8924
731
+ Bound result 6112
732
+ Bound result 1894
733
+ Bound result 1307031099
734
+ Bound result 9900000000000000008144
735
+ Bound result 9900000000001263864545
736
+ Bound result 1122
737
+ Bound result 1576
738
+ Bound result 2991
739
+ Bound result 9900000000000000002103
740
+ Bound result 9900000000000000009704
741
+ Bound result 7402
742
+ Bound result 3642
743
+ Bound result 9924
825
744
 
826
745
  [PASS] invariant_RevertConsistency() (runs: 256, calls: 3840, reverts: 0)
827
746
 
828
747
  ╭-----------------------------------+---------------------+-------+---------+----------╮
829
748
  | Contract | Selector | Calls | Reverts | Discards |
830
749
  +======================================================================================+
831
- | RateLimiterRBACUpgradeableHandler | inflow | 523 | 0 | 0 |
750
+ | RateLimiterRBACUpgradeableHandler | inflow | 512 | 0 | 0 |
832
751
  |-----------------------------------+---------------------+-------+---------+----------|
833
- | RateLimiterRBACUpgradeableHandler | outflow | 531 | 0 | 0 |
752
+ | RateLimiterRBACUpgradeableHandler | outflow | 580 | 0 | 0 |
834
753
  |-----------------------------------+---------------------+-------+---------+----------|
835
- | RateLimiterRBACUpgradeableHandler | setConfig | 520 | 0 | 0 |
754
+ | RateLimiterRBACUpgradeableHandler | setConfig | 554 | 0 | 0 |
836
755
  |-----------------------------------+---------------------+-------+---------+----------|
837
- | RateLimiterRBACUpgradeableHandler | setState | 580 | 0 | 0 |
756
+ | RateLimiterRBACUpgradeableHandler | setState | 532 | 0 | 0 |
838
757
  |-----------------------------------+---------------------+-------+---------+----------|
839
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 554 | 0 | 0 |
758
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 556 | 0 | 0 |
840
759
  |-----------------------------------+---------------------+-------+---------+----------|
841
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 569 | 0 | 0 |
760
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 574 | 0 | 0 |
842
761
  |-----------------------------------+---------------------+-------+---------+----------|
843
- | RateLimiterRBACUpgradeableHandler | warp | 563 | 0 | 0 |
762
+ | RateLimiterRBACUpgradeableHandler | warp | 532 | 0 | 0 |
844
763
  ╰-----------------------------------+---------------------+-------+---------+----------╯
845
764
 
846
765
  Logs:
847
- Bound result 10606647823578181610
848
- Bound result 9900000000000000178684
849
- Bound result 100000000000000000000
850
- Bound result 9998
851
- Bound result 9300
852
- Bound result 9388
853
- Bound result 2544
854
- Bound result 0
855
- Bound result 9900000002147620972234
856
- Bound result 9900000000000000000417
857
- Bound result 6241
858
- Bound result 1309
859
- Bound result 542
860
- Bound result 18870501204219449971006
861
- Bound result 225569
766
+ Bound result 514264337593543950335
767
+ Bound result 434
862
768
  Bound result 3
769
+ Bound result 158071627093403
770
+ Bound result 20
771
+ Bound result 1684
772
+ Bound result 514264337593543950334
773
+ Bound result 1477
774
+ Bound result 9677629563385959
775
+ Bound result 71653997732301
776
+ Bound result 497
777
+ Bound result 45093940
778
+ Bound result 198506145256530980
779
+ Bound result 530
863
780
  Bound result 1
864
- Bound result 3551326
865
- Bound result 1352666287025906513
866
- Bound result 9858
781
+ Bound result 8727
782
+ Bound result 523433401375661689601
867
783
 
868
- Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.42s (9.01s CPU time)
784
+ Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.36s (8.73s CPU time)
869
785
 
870
- Ran 8 tests for test/RateLimiterRBACUpgradeableInvariant.t.sol:RateLimiterRBACUpgradeableInvariantTest
786
+ Ran 19 tests for test/PauseBaseUpgradeable.t.sol:PauseBaseUpgradeableTest
787
+ [PASS] test_assertNotPaused_Fuzz(bool) (runs: 1000, μ: 25208, ~: 12763)
788
+ [PASS] test_assertNotPaused_Revert_Paused() (gas: 38375)
789
+ [PASS] test_assertNotPaused_Success() (gas: 12516)
790
+ [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15725)
791
+ [PASS] test_isPaused_InitialState() (gas: 15595)
792
+ [PASS] test_pause() (gas: 39592)
793
+ [PASS] test_setPaused_Fuzz(bool) (runs: 1000, μ: 28110, ~: 39861)
794
+ [PASS] test_setPaused_Idempotent_InitialState_Reverts() (gas: 17914)
795
+ [PASS] test_setPaused_Idempotent_Reverts() (gas: 38543)
796
+ [PASS] test_setPaused_Success_ToggleMultipleTimes() (gas: 74144)
797
+ [PASS] test_storageHash() (gas: 3414)
798
+ [PASS] test_unpause() (gas: 31115)
799
+ [PASS] test_whenNotPaused_Fuzz(bool) (runs: 1000, μ: 40713, ~: 39155)
800
+ [PASS] test_whenNotPaused_Revert_Paused() (gas: 42105)
801
+ [PASS] test_whenNotPaused_Revert_WithReturnValue() (gas: 38427)
802
+ [PASS] test_whenNotPaused_Success() (gas: 38930)
803
+ [PASS] test_whenNotPaused_Success_AfterUnpause() (gas: 48777)
804
+ [PASS] test_whenNotPaused_Success_MultipleCalls() (gas: 58208)
805
+ [PASS] test_whenNotPaused_WithReturnValue() (gas: 15612)
806
+ Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 1.53s (182.11ms CPU time)
807
+
808
+ Ran 8 tests for test/RateLimiterRBACUpgradeableInvariant.t.sol:RateLimiterRBACUpgradeableInvariantGlobalStateTest
871
809
  [PASS] invariant_AvailableConsistent() (runs: 256, calls: 3840, reverts: 0)
872
810
 
873
811
  ╭-----------------------------------+---------------------+-------+---------+----------╮
874
812
  | Contract | Selector | Calls | Reverts | Discards |
875
813
  +======================================================================================+
876
- | RateLimiterRBACUpgradeableHandler | inflow | 543 | 0 | 0 |
814
+ | RateLimiterRBACUpgradeableHandler | inflow | 574 | 0 | 0 |
877
815
  |-----------------------------------+---------------------+-------+---------+----------|
878
- | RateLimiterRBACUpgradeableHandler | outflow | 519 | 0 | 0 |
816
+ | RateLimiterRBACUpgradeableHandler | outflow | 538 | 0 | 0 |
879
817
  |-----------------------------------+---------------------+-------+---------+----------|
880
- | RateLimiterRBACUpgradeableHandler | setConfig | 589 | 0 | 0 |
818
+ | RateLimiterRBACUpgradeableHandler | setConfig | 542 | 0 | 0 |
881
819
  |-----------------------------------+---------------------+-------+---------+----------|
882
- | RateLimiterRBACUpgradeableHandler | setState | 563 | 0 | 0 |
820
+ | RateLimiterRBACUpgradeableHandler | setState | 530 | 0 | 0 |
883
821
  |-----------------------------------+---------------------+-------+---------+----------|
884
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 547 | 0 | 0 |
822
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 522 | 0 | 0 |
885
823
  |-----------------------------------+---------------------+-------+---------+----------|
886
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 556 | 0 | 0 |
824
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 577 | 0 | 0 |
887
825
  |-----------------------------------+---------------------+-------+---------+----------|
888
- | RateLimiterRBACUpgradeableHandler | warp | 523 | 0 | 0 |
826
+ | RateLimiterRBACUpgradeableHandler | warp | 557 | 0 | 0 |
889
827
  ╰-----------------------------------+---------------------+-------+---------+----------╯
890
828
 
891
829
  Logs:
892
- Bound result 100328
893
- Bound result 1663988164610123696057
894
- Bound result 475785
895
- Bound result 1
896
- Bound result 319
897
- Bound result 784
830
+ Bound result 46647
831
+ Bound result 360459320890115868480
832
+ Bound result 9900029671688840852750
833
+ Bound result 5583
834
+ Bound result 18
835
+ Bound result 9900757531943769654143
836
+ Bound result 9900001939643901365667
837
+ Bound result 344
838
+ Bound result 465
839
+ Bound result 10645
840
+ Bound result 11191600658700526724719
841
+ Bound result 86580543531556
842
+ Bound result 9900757531943769654143
843
+ Bound result 1618733760
844
+ Bound result 4147918859299493663445
845
+ Bound result 1253786026000873936947
898
846
  Bound result 0
899
- Bound result 392173355372290913730
900
- Bound result 441
901
- Bound result 537174172434044694112
902
- Bound result 6282
903
- Bound result 678
904
- Bound result 9456905736582705805
905
- Bound result 13591879461
906
- Bound result 1115511093974316443714
907
- Bound result 489
908
- Bound result 9900007096987149084627
909
- Bound result 9900000000001032493803
910
- Bound result 497
911
- Bound result 30
912
- Bound result 7431
913
- Bound result 3482
914
- Bound result 63
915
- Bound result 14033297352986617913003
916
- Bound result 77326629676205
847
+ Bound result 7986
848
+ Bound result 1763627
849
+ Bound result 18206401802793762
850
+ Bound result 0
851
+ Bound result 1066907510158752227348
852
+ Bound result 6914264337593535947490
853
+ Bound result 12
854
+ Bound result 4398
855
+ Bound result 7057
917
856
 
918
857
  [PASS] invariant_ConfigBitmapConsistency() (runs: 256, calls: 3840, reverts: 0)
919
858
 
920
859
  ╭-----------------------------------+---------------------+-------+---------+----------╮
921
860
  | Contract | Selector | Calls | Reverts | Discards |
922
861
  +======================================================================================+
923
- | RateLimiterRBACUpgradeableHandler | inflow | 542 | 0 | 0 |
862
+ | RateLimiterRBACUpgradeableHandler | inflow | 558 | 0 | 0 |
924
863
  |-----------------------------------+---------------------+-------+---------+----------|
925
- | RateLimiterRBACUpgradeableHandler | outflow | 584 | 0 | 0 |
864
+ | RateLimiterRBACUpgradeableHandler | outflow | 562 | 0 | 0 |
926
865
  |-----------------------------------+---------------------+-------+---------+----------|
927
- | RateLimiterRBACUpgradeableHandler | setConfig | 564 | 0 | 0 |
866
+ | RateLimiterRBACUpgradeableHandler | setConfig | 522 | 0 | 0 |
928
867
  |-----------------------------------+---------------------+-------+---------+----------|
929
- | RateLimiterRBACUpgradeableHandler | setState | 562 | 0 | 0 |
868
+ | RateLimiterRBACUpgradeableHandler | setState | 538 | 0 | 0 |
930
869
  |-----------------------------------+---------------------+-------+---------+----------|
931
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 544 | 0 | 0 |
870
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 539 | 0 | 0 |
932
871
  |-----------------------------------+---------------------+-------+---------+----------|
933
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 505 | 0 | 0 |
872
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 560 | 0 | 0 |
934
873
  |-----------------------------------+---------------------+-------+---------+----------|
935
- | RateLimiterRBACUpgradeableHandler | warp | 539 | 0 | 0 |
874
+ | RateLimiterRBACUpgradeableHandler | warp | 561 | 0 | 0 |
936
875
  ╰-----------------------------------+---------------------+-------+---------+----------╯
937
876
 
938
877
  Logs:
939
- Bound result 3573
940
- Bound result 934805284
941
- Bound result 344526421
878
+ Bound result 1006
879
+ Bound result 780
880
+ Bound result 2003375881112529310
881
+ Bound result 1819729935479965507365
882
+ Bound result 504
883
+ Bound result 3
942
884
  Bound result 1
943
- Bound result 46020171
944
- Bound result 514264337593543950332
945
- Bound result 158610279475200
946
- Bound result 1661571
947
- Bound result 514264337593504336254
948
- Bound result 0
949
- Bound result 8463055308
950
- Bound result 9
951
- Bound result 9900000507845587545131
952
- Bound result 824030058523604428037
953
- Bound result 2716
954
- Bound result 6241
955
- Bound result 9900024795862163276820
956
- Bound result 9920505445588318811298
957
- Bound result 8247
958
- Bound result 12
885
+ Bound result 900686989187468938738
959
886
 
960
887
  [PASS] invariant_ConfigConsistency() (runs: 256, calls: 3840, reverts: 0)
961
888
 
962
889
  ╭-----------------------------------+---------------------+-------+---------+----------╮
963
890
  | Contract | Selector | Calls | Reverts | Discards |
964
891
  +======================================================================================+
965
- | RateLimiterRBACUpgradeableHandler | inflow | 528 | 0 | 0 |
892
+ | RateLimiterRBACUpgradeableHandler | inflow | 548 | 0 | 0 |
966
893
  |-----------------------------------+---------------------+-------+---------+----------|
967
- | RateLimiterRBACUpgradeableHandler | outflow | 578 | 0 | 0 |
894
+ | RateLimiterRBACUpgradeableHandler | outflow | 593 | 0 | 0 |
968
895
  |-----------------------------------+---------------------+-------+---------+----------|
969
- | RateLimiterRBACUpgradeableHandler | setConfig | 533 | 0 | 0 |
896
+ | RateLimiterRBACUpgradeableHandler | setConfig | 536 | 0 | 0 |
970
897
  |-----------------------------------+---------------------+-------+---------+----------|
971
- | RateLimiterRBACUpgradeableHandler | setState | 560 | 0 | 0 |
898
+ | RateLimiterRBACUpgradeableHandler | setState | 558 | 0 | 0 |
972
899
  |-----------------------------------+---------------------+-------+---------+----------|
973
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 541 | 0 | 0 |
900
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 546 | 0 | 0 |
974
901
  |-----------------------------------+---------------------+-------+---------+----------|
975
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 553 | 0 | 0 |
902
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 562 | 0 | 0 |
976
903
  |-----------------------------------+---------------------+-------+---------+----------|
977
- | RateLimiterRBACUpgradeableHandler | warp | 547 | 0 | 0 |
904
+ | RateLimiterRBACUpgradeableHandler | warp | 497 | 0 | 0 |
978
905
  ╰-----------------------------------+---------------------+-------+---------+----------╯
979
906
 
980
907
  Logs:
981
- Bound result 645482110905166912324
982
- Bound result 1831908794040158325432
983
- Bound result 401472089959490854185
984
- Bound result 5
985
- Bound result 0
986
- Bound result 927356862852934536829
987
- Bound result 815
988
- Bound result 329
989
- Bound result 225725077
990
- Bound result 514264337593504336253
991
- Bound result 0
992
- Bound result 3976321243
993
- Bound result 3973
994
- Bound result 0
995
- Bound result 3
996
- Bound result 9900000000000000007740
997
- Bound result 9900000000000000000025
998
- Bound result 3955
999
- Bound result 578
1000
- Bound result 4866
1001
- Bound result 9904316375016999611120
1002
- Bound result 1972430923601754067877
908
+ Bound result 9900000000000000002908
909
+ Bound result 9900000000000000010948
910
+ Bound result 8795
911
+ Bound result 8801
912
+ Bound result 9900000000000000000223
913
+ Bound result 9900000000000000001586
914
+ Bound result 6051
915
+ Bound result 7151
916
+ Bound result 7063
917
+ Bound result 635
918
+ Bound result 1
919
+ Bound result 126513849
1003
920
  Bound result 10
1004
- Bound result 6001
921
+ Bound result 7796
922
+ Bound result 5856
923
+ Bound result 1982
924
+ Bound result 4513327282563986734
925
+ Bound result 10645
926
+ Bound result 10469
927
+ Bound result 140
928
+ Bound result 266
929
+ Bound result 6361
930
+ Bound result 15871563965
1005
931
 
1006
932
  [PASS] invariant_ExemptionConsistency() (runs: 256, calls: 3840, reverts: 0)
1007
933
 
1008
934
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1009
935
  | Contract | Selector | Calls | Reverts | Discards |
1010
936
  +======================================================================================+
1011
- | RateLimiterRBACUpgradeableHandler | inflow | 528 | 0 | 0 |
937
+ | RateLimiterRBACUpgradeableHandler | inflow | 560 | 0 | 0 |
1012
938
  |-----------------------------------+---------------------+-------+---------+----------|
1013
- | RateLimiterRBACUpgradeableHandler | outflow | 575 | 0 | 0 |
939
+ | RateLimiterRBACUpgradeableHandler | outflow | 548 | 0 | 0 |
1014
940
  |-----------------------------------+---------------------+-------+---------+----------|
1015
- | RateLimiterRBACUpgradeableHandler | setConfig | 564 | 0 | 0 |
941
+ | RateLimiterRBACUpgradeableHandler | setConfig | 573 | 0 | 0 |
1016
942
  |-----------------------------------+---------------------+-------+---------+----------|
1017
- | RateLimiterRBACUpgradeableHandler | setState | 552 | 0 | 0 |
943
+ | RateLimiterRBACUpgradeableHandler | setState | 583 | 0 | 0 |
1018
944
  |-----------------------------------+---------------------+-------+---------+----------|
1019
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 560 | 0 | 0 |
945
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 521 | 0 | 0 |
1020
946
  |-----------------------------------+---------------------+-------+---------+----------|
1021
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 523 | 0 | 0 |
947
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 518 | 0 | 0 |
1022
948
  |-----------------------------------+---------------------+-------+---------+----------|
1023
- | RateLimiterRBACUpgradeableHandler | warp | 538 | 0 | 0 |
949
+ | RateLimiterRBACUpgradeableHandler | warp | 537 | 0 | 0 |
1024
950
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1025
951
 
1026
952
  Logs:
1027
- Bound result 44200218074
1028
- Bound result 9900000000045495692240
1029
- Bound result 9900000006284542095551
1030
- Bound result 6241
1031
- Bound result 4341
1032
- Bound result 19700965608594406092633
1033
- Bound result 2950134782757049742087
1034
- Bound result 1
1035
- Bound result 2233625730
1036
- Bound result 5320756347662
1037
- Bound result 12834414562989669087410
1038
- Bound result 8204
953
+ Bound result 9900001121344581979789
954
+ Bound result 9900000000020123444211
955
+ Bound result 62
956
+ Bound result 13
957
+ Bound result 2130906141702938992
958
+ Bound result 3
959
+ Bound result 1304
960
+ Bound result 18846437335942910876264
961
+ Bound result 8307
962
+ Bound result 731
1039
963
  Bound result 0
1040
- Bound result 9900000000000001976518
1041
- Bound result 4561742027891098280905
1042
- Bound result 147
1043
- Bound result 6241
1044
- Bound result 2590
1045
- Bound result 452777887
1046
- Bound result 1
1047
- Bound result 1
1048
- Bound result 3362395015160
1049
- Bound result 887609337669933140682
1050
- Bound result 1
1051
- Bound result 320048802512520584725
1052
- Bound result 9900027880653097152688
1053
- Bound result 9900016822727333249033
1054
- Bound result 8996
1055
- Bound result 6239
964
+ Bound result 9900000051573452485596
965
+ Bound result 9900411334092934843586
966
+ Bound result 3656
967
+ Bound result 8524
968
+ Bound result 725
969
+ Bound result 8077207562
970
+ Bound result 10178
971
+ Bound result 9103576753121436200016
972
+ Bound result 9905709892656256682139
973
+ Bound result 1313
974
+ Bound result 3891
975
+ Bound result 273724534291008394700
1056
976
 
1057
977
  [PASS] invariant_GhostConsistency() (runs: 256, calls: 3840, reverts: 0)
1058
978
 
1059
979
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1060
980
  | Contract | Selector | Calls | Reverts | Discards |
1061
981
  +======================================================================================+
1062
- | RateLimiterRBACUpgradeableHandler | inflow | 553 | 0 | 0 |
982
+ | RateLimiterRBACUpgradeableHandler | inflow | 570 | 0 | 0 |
1063
983
  |-----------------------------------+---------------------+-------+---------+----------|
1064
- | RateLimiterRBACUpgradeableHandler | outflow | 570 | 0 | 0 |
984
+ | RateLimiterRBACUpgradeableHandler | outflow | 559 | 0 | 0 |
1065
985
  |-----------------------------------+---------------------+-------+---------+----------|
1066
- | RateLimiterRBACUpgradeableHandler | setConfig | 537 | 0 | 0 |
986
+ | RateLimiterRBACUpgradeableHandler | setConfig | 526 | 0 | 0 |
1067
987
  |-----------------------------------+---------------------+-------+---------+----------|
1068
- | RateLimiterRBACUpgradeableHandler | setState | 567 | 0 | 0 |
988
+ | RateLimiterRBACUpgradeableHandler | setState | 551 | 0 | 0 |
1069
989
  |-----------------------------------+---------------------+-------+---------+----------|
1070
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 551 | 0 | 0 |
990
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 547 | 0 | 0 |
1071
991
  |-----------------------------------+---------------------+-------+---------+----------|
1072
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 523 | 0 | 0 |
992
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 496 | 0 | 0 |
1073
993
  |-----------------------------------+---------------------+-------+---------+----------|
1074
- | RateLimiterRBACUpgradeableHandler | warp | 539 | 0 | 0 |
994
+ | RateLimiterRBACUpgradeableHandler | warp | 591 | 0 | 0 |
1075
995
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1076
996
 
1077
997
  Logs:
1078
- Bound result 1340
1079
- Bound result 1572
1080
- Bound result 1971
1081
- Bound result 4
1082
- Bound result 9900000000000000000173
1083
- Bound result 9900000000000000000486
1084
- Bound result 6211
1085
- Bound result 5574
1086
- Bound result 1496637379279141786121
1087
- Bound result 4390
1088
- Bound result 4202047188
1089
- Bound result 8679
1090
- Bound result 4376
998
+ Bound result 1451642670479447367823
999
+ Bound result 160
1000
+ Bound result 1676
1001
+ Bound result 183813924518321735816
1002
+ Bound result 9900000000000000006891
1003
+ Bound result 55
1004
+ Bound result 9996
1005
+ Bound result 642
1006
+ Bound result 346306110787391611985
1007
+ Bound result 2012965625220
1008
+ Bound result 6493756330965100506
1009
+ Bound result 518914804
1091
1010
  Bound result 1
1011
+ Bound result 5
1092
1012
 
1093
1013
  [PASS] invariant_LastUpdatedNotFuture() (runs: 256, calls: 3840, reverts: 0)
1094
1014
 
1095
1015
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1096
1016
  | Contract | Selector | Calls | Reverts | Discards |
1097
1017
  +======================================================================================+
1098
- | RateLimiterRBACUpgradeableHandler | inflow | 501 | 0 | 0 |
1018
+ | RateLimiterRBACUpgradeableHandler | inflow | 561 | 0 | 0 |
1099
1019
  |-----------------------------------+---------------------+-------+---------+----------|
1100
- | RateLimiterRBACUpgradeableHandler | outflow | 533 | 0 | 0 |
1020
+ | RateLimiterRBACUpgradeableHandler | outflow | 566 | 0 | 0 |
1101
1021
  |-----------------------------------+---------------------+-------+---------+----------|
1102
- | RateLimiterRBACUpgradeableHandler | setConfig | 561 | 0 | 0 |
1022
+ | RateLimiterRBACUpgradeableHandler | setConfig | 563 | 0 | 0 |
1103
1023
  |-----------------------------------+---------------------+-------+---------+----------|
1104
- | RateLimiterRBACUpgradeableHandler | setState | 556 | 0 | 0 |
1024
+ | RateLimiterRBACUpgradeableHandler | setState | 526 | 0 | 0 |
1105
1025
  |-----------------------------------+---------------------+-------+---------+----------|
1106
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 535 | 0 | 0 |
1026
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 562 | 0 | 0 |
1107
1027
  |-----------------------------------+---------------------+-------+---------+----------|
1108
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 584 | 0 | 0 |
1028
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 544 | 0 | 0 |
1109
1029
  |-----------------------------------+---------------------+-------+---------+----------|
1110
- | RateLimiterRBACUpgradeableHandler | warp | 570 | 0 | 0 |
1030
+ | RateLimiterRBACUpgradeableHandler | warp | 518 | 0 | 0 |
1111
1031
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1112
1032
 
1113
1033
  Logs:
1114
- Bound result 7082
1115
- Bound result 186099735756211201328
1034
+ Bound result 1097
1035
+ Bound result 10358
1036
+ Bound result 3644407703
1037
+ Bound result 75
1038
+ Bound result 24126
1039
+ Bound result 31960593
1040
+ Bound result 9900000000000000000022
1041
+ Bound result 7234607919185110061679
1042
+ Bound result 6702
1043
+ Bound result 1687
1044
+ Bound result 11969483808328121145598
1045
+ Bound result 6914264337593363886342
1046
+ Bound result 43468756631303973
1047
+ Bound result 363
1048
+ Bound result 79
1049
+ Bound result 12491728045948010454678
1050
+ Bound result 526
1051
+ Bound result 8653
1052
+ Bound result 9900000000003711257500
1053
+ Bound result 9900000003699969945273
1054
+ Bound result 2501
1055
+ Bound result 2374
1116
1056
  Bound result 1
1117
- Bound result 2130107514633010
1118
- Bound result 3902
1119
- Bound result 1246
1120
- Bound result 514264337593543950333
1121
- Bound result 3021
1122
- Bound result 45534840732951
1123
- Bound result 6914264337593535947490
1124
- Bound result 9900000046358333908879
1125
- Bound result 4034
1126
- Bound result 6817
1127
- Bound result 16
1128
- Bound result 6127
1129
- Bound result 9900000000000000000334
1130
- Bound result 6914264337593535947490
1131
- Bound result 1030
1132
- Bound result 2906
1133
- Bound result 7029
1134
1057
 
1135
1058
  [PASS] invariant_PristineIdUntouched() (runs: 256, calls: 3840, reverts: 0)
1136
1059
 
1137
1060
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1138
1061
  | Contract | Selector | Calls | Reverts | Discards |
1139
1062
  +======================================================================================+
1140
- | RateLimiterRBACUpgradeableHandler | inflow | 538 | 0 | 0 |
1063
+ | RateLimiterRBACUpgradeableHandler | inflow | 555 | 0 | 0 |
1141
1064
  |-----------------------------------+---------------------+-------+---------+----------|
1142
- | RateLimiterRBACUpgradeableHandler | outflow | 559 | 0 | 0 |
1065
+ | RateLimiterRBACUpgradeableHandler | outflow | 524 | 0 | 0 |
1143
1066
  |-----------------------------------+---------------------+-------+---------+----------|
1144
- | RateLimiterRBACUpgradeableHandler | setConfig | 523 | 0 | 0 |
1067
+ | RateLimiterRBACUpgradeableHandler | setConfig | 552 | 0 | 0 |
1145
1068
  |-----------------------------------+---------------------+-------+---------+----------|
1146
- | RateLimiterRBACUpgradeableHandler | setState | 573 | 0 | 0 |
1069
+ | RateLimiterRBACUpgradeableHandler | setState | 588 | 0 | 0 |
1147
1070
  |-----------------------------------+---------------------+-------+---------+----------|
1148
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 556 | 0 | 0 |
1071
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 528 | 0 | 0 |
1149
1072
  |-----------------------------------+---------------------+-------+---------+----------|
1150
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 550 | 0 | 0 |
1073
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 571 | 0 | 0 |
1151
1074
  |-----------------------------------+---------------------+-------+---------+----------|
1152
- | RateLimiterRBACUpgradeableHandler | warp | 541 | 0 | 0 |
1075
+ | RateLimiterRBACUpgradeableHandler | warp | 522 | 0 | 0 |
1153
1076
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1154
1077
 
1155
1078
  Logs:
1156
- Bound result 9900000000000026403862
1157
- Bound result 177610587240003021062
1158
- Bound result 3016
1159
- Bound result 7503
1160
- Bound result 9900000000000000006853
1161
- Bound result 9900000000000000009378
1162
- Bound result 3350
1163
- Bound result 6028
1164
- Bound result 10220
1165
- Bound result 6509
1166
- Bound result 8911
1167
- Bound result 780
1168
- Bound result 4375
1169
- Bound result 4581
1170
- Bound result 649010003639538861676
1171
- Bound result 100000000000000000003
1172
- Bound result 257
1173
- Bound result 6006
1174
- Bound result 712
1175
- Bound result 37287
1176
- Bound result 5186
1177
- Bound result 222
1178
- Bound result 2
1179
- Bound result 1966
1180
- Bound result 398
1181
- Bound result 2408
1079
+ Bound result 8361798740
1080
+ Bound result 1339178633527364017425
1081
+ Bound result 1
1082
+ Bound result 3737
1083
+ Bound result 9911668819574802234833
1084
+ Bound result 9900000000000022892731
1085
+ Bound result 6771
1086
+ Bound result 7169
1087
+ Bound result 4512
1088
+ Bound result 15695808985538265366831
1089
+ Bound result 2498146231229311554693
1090
+ Bound result 394325683086357774966
1091
+ Bound result 4283
1092
+ Bound result 9900000000000000003194
1093
+ Bound result 9900000000003856056066
1094
+ Bound result 6242
1095
+ Bound result 6093
1096
+ Bound result 8484
1097
+ Bound result 1
1098
+ Bound result 4892
1182
1099
 
1183
1100
  [PASS] invariant_RevertConsistency() (runs: 256, calls: 3840, reverts: 0)
1184
1101
 
1185
1102
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1186
1103
  | Contract | Selector | Calls | Reverts | Discards |
1187
1104
  +======================================================================================+
1188
- | RateLimiterRBACUpgradeableHandler | inflow | 511 | 0 | 0 |
1105
+ | RateLimiterRBACUpgradeableHandler | inflow | 510 | 0 | 0 |
1189
1106
  |-----------------------------------+---------------------+-------+---------+----------|
1190
- | RateLimiterRBACUpgradeableHandler | outflow | 581 | 0 | 0 |
1107
+ | RateLimiterRBACUpgradeableHandler | outflow | 598 | 0 | 0 |
1191
1108
  |-----------------------------------+---------------------+-------+---------+----------|
1192
- | RateLimiterRBACUpgradeableHandler | setConfig | 540 | 0 | 0 |
1109
+ | RateLimiterRBACUpgradeableHandler | setConfig | 577 | 0 | 0 |
1193
1110
  |-----------------------------------+---------------------+-------+---------+----------|
1194
- | RateLimiterRBACUpgradeableHandler | setState | 557 | 0 | 0 |
1111
+ | RateLimiterRBACUpgradeableHandler | setState | 505 | 0 | 0 |
1195
1112
  |-----------------------------------+---------------------+-------+---------+----------|
1196
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 552 | 0 | 0 |
1113
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 567 | 0 | 0 |
1197
1114
  |-----------------------------------+---------------------+-------+---------+----------|
1198
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 560 | 0 | 0 |
1115
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 570 | 0 | 0 |
1199
1116
  |-----------------------------------+---------------------+-------+---------+----------|
1200
- | RateLimiterRBACUpgradeableHandler | warp | 539 | 0 | 0 |
1117
+ | RateLimiterRBACUpgradeableHandler | warp | 513 | 0 | 0 |
1201
1118
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1202
1119
 
1203
1120
  Logs:
1204
- Bound result 3930
1205
- Bound result 34006092189551
1206
- Bound result 1
1207
- Bound result 481
1208
- Bound result 719607800208086776264
1209
- Bound result 12573549
1121
+ Bound result 33960
1210
1122
  Bound result 1
1211
- Bound result 36137
1212
- Bound result 100000000000000000000
1213
- Bound result 9900000008575257226795
1214
- Bound result 38
1215
- Bound result 8644
1216
- Bound result 7012358804670667576069
1217
- Bound result 9925571929403418548527
1218
- Bound result 214
1219
- Bound result 9888
1220
- Bound result 3868681460500477848343
1221
- Bound result 5405615708763147333619
1222
- Bound result 4126
1223
- Bound result 672
1123
+ Bound result 0
1124
+ Bound result 9900000025754975164923
1125
+ Bound result 5356323746120361473672
1126
+ Bound result 1028
1127
+ Bound result 4496
1128
+ Bound result 9900294965006506533355
1129
+ Bound result 9900000003247617241918
1130
+ Bound result 6241
1131
+ Bound result 9996
1132
+ Bound result 82
1133
+ Bound result 9900000000000000007261
1134
+ Bound result 9900000000000000006162
1135
+ Bound result 4896
1136
+ Bound result 2138
1137
+ Bound result 3740
1138
+ Bound result 3222002978
1139
+ Bound result 7040
1140
+ Bound result 517471313600096
1141
+ Bound result 9660
1142
+
1143
+ Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.53s (9.63s CPU time)
1224
1144
 
1225
- Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.74s (10.31s CPU time)
1145
+ Ran 24 tests for test/FeeConfigRBACUpgradeable.t.sol:FeeConfigRBACUpgradeableTest
1146
+ [PASS] test_getAmountBeforeFee_BoundaryConditions() (gas: 51175)
1147
+ [PASS] test_getAmountBeforeFee_Default() (gas: 47637)
1148
+ [PASS] test_getAmountBeforeFee_Fuzz(uint16,uint224) (runs: 1000, μ: 47518, ~: 48966)
1149
+ [PASS] test_getAmountBeforeFee_MaxBps() (gas: 47301)
1150
+ [PASS] test_getAmountBeforeFee_Rounding() (gas: 48148)
1151
+ [PASS] test_getAmountBeforeFee_Specific() (gas: 71482)
1152
+ [PASS] test_getAmountBeforeFee_SpecificDisabled() (gas: 67096)
1153
+ [PASS] test_getAmountBeforeFee_ZeroAmount() (gas: 43173)
1154
+ [PASS] test_getAmountBeforeFee_ZeroBps() (gas: 22479)
1155
+ [PASS] test_getFee_BoundaryConditions() (gas: 75442)
1156
+ [PASS] test_getFee_Default() (gas: 43108)
1157
+ [PASS] test_getFee_Fuzz(uint16,uint32,uint240) (runs: 1000, μ: 45719, ~: 47017)
1158
+ [PASS] test_getFee_Rounding() (gas: 45449)
1159
+ [PASS] test_getFee_Specific() (gas: 66985)
1160
+ [PASS] test_getFee_SpecificDisabled() (gas: 66943)
1161
+ [PASS] test_setDefaultFeeBps() (gas: 42199)
1162
+ [PASS] test_setDefaultFeeBps_Fuzz(uint16) (runs: 1000, μ: 34963, ~: 42268)
1163
+ [PASS] test_setDefaultFeeBps_RevertInvalid() (gas: 16371)
1164
+ [PASS] test_setDefaultFeeBps_Revert_Unauthorized() (gas: 22361)
1165
+ [PASS] test_setFeeBps() (gas: 77237)
1166
+ Logs:
1167
+ Bound result 500
1226
1168
 
1227
- Ran 31 tests for test/PauseByIDBaseUpgradeable.t.sol:PauseByIDBaseUpgradeableTest
1228
- [PASS] test_assertNotPaused_Revert_DefaultPaused() (gas: 40927)
1229
- [PASS] test_assertNotPaused_Revert_SpecificPaused() (gas: 40924)
1230
- [PASS] test_assertNotPaused_Success() (gas: 14934)
1231
- [PASS] test_defaultPause_AffectsMultipleIDs() (gas: 52995)
1232
- [PASS] test_defaultPaused_InitialState() (gas: 15571)
1233
- [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15852)
1234
- [PASS] test_isPaused_Default() (gas: 44698)
1235
- [PASS] test_isPaused_InitialState() (gas: 22070)
1236
- [PASS] test_isPaused_MultipleIDs() (gas: 73915)
1237
- [PASS] test_isPaused_Override() (gas: 69381)
1238
- [PASS] test_isPaused_Specific() (gas: 46709)
1239
- [PASS] test_isPaused_SpecificDisabled() (gas: 51615)
1240
- [PASS] test_pauseConfig() (gas: 45626)
1241
- [PASS] test_setDefaultPaused() (gas: 39667)
1242
- [PASS] test_setDefaultPaused_Fuzz(bool) (runs: 1000, μ: 28007, ~: 16332)
1243
- [PASS] test_setDefaultPaused_Idempotent_InitialState_Reverts() (gas: 17984)
1244
- [PASS] test_setDefaultPaused_Idempotent_Reverts() (gas: 38782)
1245
- [PASS] test_setPaused() (gas: 43060)
1246
- [PASS] test_setPaused_EmptyArray() (gas: 10900)
1247
- [PASS] test_setPaused_Fuzz(uint256,bool,bool) (runs: 1000, μ: 38019, ~: 43373)
1248
- [PASS] test_setPaused_Success_EdgeCase_IDMaxUint256() (gas: 40562)
1249
- [PASS] test_setPaused_Success_EdgeCase_IDZero() (gas: 40524)
1250
- [PASS] test_setPaused_Success_Toggle() (gas: 51442)
1251
- [PASS] test_specificOverridesDefault_Fuzz(bool,bool) (runs: 1000, μ: 58208, ~: 46989)
1169
+ [PASS] test_setFeeBps_Fuzz(uint16,uint32,uint16,bool) (runs: 1000, μ: 68242, ~: 77570)
1170
+ [PASS] test_setFeeBps_RevertInvalid() (gas: 16575)
1171
+ [PASS] test_setFeeBps_Revert_Unauthorized() (gas: 22460)
1172
+ [PASS] test_storageHash() (gas: 3436)
1173
+ Suite result: ok. 24 passed; 0 failed; 0 skipped; finished in 10.51s (386.78ms CPU time)
1174
+
1175
+ Ran 32 tests for test/AllowlistRBACUpgradeable.t.sol:AllowlistRBACUpgradeableTest
1176
+ [PASS] test_SwitchModes_PreservesState() (gas: 195548)
1177
+ [PASS] test_constructor_InitialMode() (gas: 15778)
1178
+ [PASS] test_constructor_InitializeWhitelist() (gas: 2171134)
1179
+ [PASS] test_isAllowlisted_Blacklist_Blacklisted() (gas: 127952)
1180
+ [PASS] test_isAllowlisted_Blacklist_NotBlacklisted() (gas: 45551)
1181
+ [PASS] test_isAllowlisted_Fuzz_Blacklist_Blacklisted(address) (runs: 1000, μ: 115161, ~: 115161)
1182
+ [PASS] test_isAllowlisted_Fuzz_Blacklist_NotBlacklisted(address) (runs: 1000, μ: 43599, ~: 43599)
1183
+ [PASS] test_isAllowlisted_Fuzz_Open(address) (runs: 1000, μ: 15886, ~: 15886)
1184
+ [PASS] test_isAllowlisted_Fuzz_Whitelist_NotWhitelisted(address) (runs: 1000, μ: 43652, ~: 43652)
1185
+ [PASS] test_isAllowlisted_Fuzz_Whitelist_Whitelisted(address) (runs: 1000, μ: 115159, ~: 115159)
1186
+ [PASS] test_isAllowlisted_Open_AllAllowed() (gas: 26122)
1187
+ [PASS] test_isAllowlisted_Whitelist_NotWhitelisted() (gas: 45582)
1188
+ [PASS] test_isAllowlisted_Whitelist_Whitelisted() (gas: 127862)
1189
+ [PASS] test_onlyAllowlisted_Blacklist_RevertIfBlacklisted() (gas: 126878)
1190
+ [PASS] test_onlyAllowlisted_Open_AllAllowed() (gas: 22694)
1191
+ [PASS] test_onlyAllowlisted_Whitelist_RevertIfNotWhitelisted() (gas: 124784)
1192
+ [PASS] test_setAllowlistMode_Revert_Unauthorized() (gas: 20352)
1193
+ [PASS] test_setBlacklisted_EmptyArray() (gas: 13361)
1194
+ [PASS] test_setBlacklisted_MultipleUsers() (gas: 173727)
1195
+ [PASS] test_setBlacklisted_RemoveFromBlacklist() (gas: 99570)
1196
+ [PASS] test_setBlacklisted_Revert_AlreadyBlacklisted() (gas: 125055)
1197
+ [PASS] test_setBlacklisted_Revert_Unauthorized() (gas: 23219)
1198
+ [PASS] test_setMode_Blacklist() (gas: 42605)
1199
+ [PASS] test_setMode_MultipleChanges() (gas: 43274)
1200
+ [PASS] test_setMode_RevertSameMode() (gas: 51355)
1201
+ [PASS] test_setMode_Whitelist() (gas: 42714)
1202
+ [PASS] test_setWhitelisted_EmptyArray() (gas: 13339)
1203
+ [PASS] test_setWhitelisted_MultipleUsers() (gas: 173661)
1204
+ [PASS] test_setWhitelisted_RemoveFromWhitelist() (gas: 99588)
1205
+ [PASS] test_setWhitelisted_Revert_AlreadyWhitelisted() (gas: 125059)
1206
+ [PASS] test_setWhitelisted_Revert_Unauthorized() (gas: 23066)
1252
1207
  [PASS] test_storageHash() (gas: 3480)
1253
- [PASS] test_whenNotPaused_Revert_DefaultPaused() (gas: 44708)
1254
- [PASS] test_whenNotPaused_Revert_SpecificPaused() (gas: 44758)
1255
- [PASS] test_whenNotPaused_Success() (gas: 41297)
1256
- [PASS] test_whenNotPaused_Success_SpecificUnpaused() (gas: 88596)
1257
- [PASS] test_whenNotPaused_WithReturnValue() (gas: 17880)
1258
- [PASS] test_whenNotPaused_WithReturnValue_Reverts() (gas: 40880)
1259
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 12.13s (599.88ms CPU time)
1208
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 10.51s (511.18ms CPU time)
1209
+
1210
+ Ran 22 tests for test/FeeConfigBaseUpgradeable.t.sol:FeeConfigBaseUpgradeableTest
1211
+ [PASS] test_getAmountBeforeFee_BoundaryConditions() (gas: 48074)
1212
+ [PASS] test_getAmountBeforeFee_Default() (gas: 45067)
1213
+ [PASS] test_getAmountBeforeFee_Fuzz(uint16,uint224) (runs: 1000, μ: 44977, ~: 46317)
1214
+ [PASS] test_getAmountBeforeFee_MaxBps() (gas: 44658)
1215
+ [PASS] test_getAmountBeforeFee_Rounding() (gas: 45406)
1216
+ [PASS] test_getAmountBeforeFee_Specific() (gas: 68448)
1217
+ [PASS] test_getAmountBeforeFee_SpecificDisabled() (gas: 64007)
1218
+ [PASS] test_getAmountBeforeFee_ZeroAmount() (gas: 40642)
1219
+ [PASS] test_getAmountBeforeFee_ZeroBps() (gas: 22306)
1220
+ [PASS] test_getFee_BoundaryConditions() (gas: 71791)
1221
+ [PASS] test_getFee_Default() (gas: 40577)
1222
+ [PASS] test_getFee_Fuzz(uint16,uint32,uint240) (runs: 1000, μ: 43174, ~: 44486)
1223
+ [PASS] test_getFee_Rounding() (gas: 42835)
1224
+ [PASS] test_getFee_Specific() (gas: 63968)
1225
+ [PASS] test_getFee_SpecificDisabled() (gas: 63920)
1226
+ [PASS] test_setDefaultFeeBps() (gas: 39576)
1227
+ [PASS] test_setDefaultFeeBps_Fuzz(uint16) (runs: 1000, μ: 32512, ~: 39667)
1228
+ [PASS] test_setDefaultFeeBps_RevertInvalid() (gas: 13860)
1229
+ [PASS] test_setFeeBps() (gas: 73871)
1230
+ Logs:
1231
+ Bound result 500
1232
+
1233
+ [PASS] test_setFeeBps_Fuzz(uint16,uint32,uint16,bool) (runs: 1000, μ: 65712, ~: 74224)
1234
+ [PASS] test_setFeeBps_RevertInvalid() (gas: 14075)
1235
+ [PASS] test_storageHash() (gas: 3426)
1236
+ Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 10.51s (405.06ms CPU time)
1260
1237
 
1261
1238
  Ran 36 tests for test/EnumerableSetPagination.t.sol:EnumerableSetPaginationTest
1262
1239
  [PASS] test_address_paginate_AfterRemovingElements() (gas: 1136937)
1263
1240
  [PASS] test_address_paginate_EmptySet() (gas: 277856)
1264
- [PASS] test_address_paginate_Fuzz(uint256,uint256) (runs: 1000, μ: 756737, ~: 166984)
1241
+ [PASS] test_address_paginate_Fuzz(uint256,uint256) (runs: 1000, μ: 776769, ~: 257260)
1265
1242
  [PASS] test_address_paginate_LargeSet() (gas: 465360224)
1266
1243
  [PASS] test_address_paginate_LimitExceedsRemaining() (gas: 25775)
1267
1244
  [PASS] test_address_paginate_LimitExceedsTotal() (gas: 2837493)
@@ -1274,12 +1251,12 @@ Ran 36 tests for test/EnumerableSetPagination.t.sol:EnumerableSetPaginationTest
1274
1251
  [PASS] test_address_paginate_OffsetZero() (gas: 45775)
1275
1252
  [PASS] test_address_paginate_SequentialPagesCompleteSet() (gas: 3517742)
1276
1253
  [PASS] test_address_paginate_SingleElement() (gas: 344858)
1277
- [PASS] test_address_paginate_VaryingSize_Fuzz(uint8,uint256,uint256) (runs: 1000, μ: 11167123, ~: 10448372)
1254
+ [PASS] test_address_paginate_VaryingSize_Fuzz(uint8,uint256,uint256) (runs: 1000, μ: 11157798, ~: 10385085)
1278
1255
  [PASS] test_address_property_ConsecutivePagesNoOverlap() (gas: 297)
1279
1256
  [PASS] test_address_property_ReturnedLengthNeverExceedsLimit() (gas: 934858)
1280
1257
  [PASS] test_uint_paginate_AfterRemovingElements() (gas: 1121055)
1281
1258
  [PASS] test_uint_paginate_EmptySet() (gas: 266762)
1282
- [PASS] test_uint_paginate_Fuzz(uint256,uint256) (runs: 1000, μ: 804253, ~: 311256)
1259
+ [PASS] test_uint_paginate_Fuzz(uint256,uint256) (runs: 1000, μ: 722726, ~: 106989)
1283
1260
  [PASS] test_uint_paginate_LargeSet() (gas: 463783795)
1284
1261
  [PASS] test_uint_paginate_LimitExceedsRemaining() (gas: 25408)
1285
1262
  [PASS] test_uint_paginate_LimitExceedsTotal() (gas: 2748514)
@@ -1292,10 +1269,10 @@ Ran 36 tests for test/EnumerableSetPagination.t.sol:EnumerableSetPaginationTest
1292
1269
  [PASS] test_uint_paginate_OffsetZero() (gas: 44650)
1293
1270
  [PASS] test_uint_paginate_SequentialPagesCompleteSet() (gas: 3410721)
1294
1271
  [PASS] test_uint_paginate_SingleElement() (gas: 333617)
1295
- [PASS] test_uint_paginate_VaryingSize_Fuzz(uint8,uint256,uint256) (runs: 1000, μ: 11123793, ~: 10359874)
1272
+ [PASS] test_uint_paginate_VaryingSize_Fuzz(uint8,uint256,uint256) (runs: 1000, μ: 11178638, ~: 10460962)
1296
1273
  [PASS] test_uint_property_ConsecutivePagesNoOverlap() (gas: 3063089)
1297
1274
  [PASS] test_uint_property_ReturnedLengthNeverExceedsLimit() (gas: 896521)
1298
- Suite result: ok. 36 passed; 0 failed; 0 skipped; finished in 12.13s (28.65s CPU time)
1275
+ Suite result: ok. 36 passed; 0 failed; 0 skipped; finished in 10.51s (24.97s CPU time)
1299
1276
 
1300
- Ran 17 test suites in 12.15s (34.26s CPU time): 412 tests passed, 0 failed, 0 skipped (412 total tests)
1301
- ⏳ forge test: 26.799s
1277
+ Ran 17 test suites in 10.54s (50.98s CPU time): 412 tests passed, 0 failed, 0 skipped (412 total tests)
1278
+ ⏳ forge test: 23.561s