@layerzerolabs/utils-upgradeable-evm-contracts 0.2.88 → 0.2.90

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.
Files changed (2) hide show
  1. package/.turbo/turbo-test.log +691 -785
  2. package/package.json +6 -6
@@ -5,86 +5,15 @@
5
5
  ✅ forge-1.3.6-hardhat-2.26.3
6
6
  🔧 forge version: 1.3.6
7
7
  $ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
8
- (node:67047) [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.
8
+ (node:97169) [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.
9
9
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
10
10
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
11
11
  (Use `node --trace-warnings ...` to show where the warning was created)
12
- Error response from daemon: No such image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
13
- 📥 Pulling Docker image from: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
14
- $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
15
- forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
16
- 86ec798129ac: Pulling fs layer
17
- eef7c391911c: Pulling fs layer
18
- cc2ecf4065b7: Pulling fs layer
19
- 5760fdd70374: Pulling fs layer
20
- c70db14240a1: Pulling fs layer
21
- 0cb2c6965bde: Pulling fs layer
22
- 885bca26f927: Pulling fs layer
23
- 8e167e77288f: Pulling fs layer
24
- 45d43cc973ba: Pulling fs layer
25
- 44c09156221f: Pulling fs layer
26
- 5760fdd70374: Waiting
27
- f2fb700979ad: Pulling fs layer
28
- 2a1ced882ba9: Pulling fs layer
29
- 597168d5c38e: Pulling fs layer
30
- eef7c391911c: Download complete
31
- e431adaf232f: Pulling fs layer
32
- 36e15e3f2788: Pulling fs layer
33
- 8e167e77288f: Waiting
34
- 36e15e3f2788: Waiting
35
- 45d43cc973ba: Waiting
36
- 0cb2c6965bde: Waiting
37
- 885bca26f927: Waiting
38
- 44c09156221f: Waiting
39
- c70db14240a1: Waiting
40
- f2fb700979ad: Waiting
41
- 597168d5c38e: Waiting
42
- e431adaf232f: Waiting
43
- 2a1ced882ba9: Waiting
44
- 5760fdd70374: Verifying Checksum
45
- 5760fdd70374: Download complete
46
- 86ec798129ac: Verifying Checksum
47
- 86ec798129ac: Download complete
48
- c70db14240a1: Download complete
49
- cc2ecf4065b7: Verifying Checksum
50
- cc2ecf4065b7: Download complete
51
- 86ec798129ac: Pull complete
52
- eef7c391911c: Pull complete
53
- 8e167e77288f: Download complete
54
- 0cb2c6965bde: Verifying Checksum
55
- 0cb2c6965bde: Download complete
56
- 45d43cc973ba: Verifying Checksum
57
- 45d43cc973ba: Download complete
58
- 44c09156221f: Download complete
59
- cc2ecf4065b7: Pull complete
60
- f2fb700979ad: Download complete
61
- 5760fdd70374: Pull complete
62
- c70db14240a1: Pull complete
63
- 597168d5c38e: Download complete
64
- 0cb2c6965bde: Pull complete
65
- 2a1ced882ba9: Download complete
66
- 36e15e3f2788: Download complete
67
- 885bca26f927: Verifying Checksum
68
- 885bca26f927: Download complete
69
- e431adaf232f: Verifying Checksum
70
- e431adaf232f: Download complete
71
- 885bca26f927: Pull complete
72
- 8e167e77288f: Pull complete
73
- 45d43cc973ba: Pull complete
74
- 44c09156221f: Pull complete
75
- f2fb700979ad: Pull complete
76
- 2a1ced882ba9: Pull complete
77
- 597168d5c38e: Pull complete
78
- e431adaf232f: Pull complete
79
- 36e15e3f2788: Pull complete
80
- Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
81
- Status: Image is up to date for 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
82
- 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
83
- ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
12
+ ✅ 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
84
13
  👤 Running container as UID:GID 1001:1001
85
14
  $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /home/runner/work/monorepo-internal/monorepo-internal:/workspace -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
86
15
  Compiling 84 files with Solc 0.8.22
87
- Solc 0.8.22 finished in 10.99s
16
+ Solc 0.8.22 finished in 11.65s
88
17
  Compiler run successful with warnings:
89
18
  Warning (2018): Function state mutability can be restricted to view
90
19
  --> test/EnumerableSetPagination.t.sol:91:5:
@@ -243,7 +172,16 @@ Ran 35 tests for test/RateLimiterBaseUpgradeable.t.sol:RateLimiterBaseUpgradeabl
243
172
  [PASS] test_setRateLimitStates_Single() (gas: 49974)
244
173
  [PASS] test_storageHash() (gas: 3414)
245
174
  [PASS] test_upscaleRateLimitAmount() (gas: 2014907)
246
- Suite result: ok. 35 passed; 0 failed; 0 skipped; finished in 9.98ms (7.38ms CPU time)
175
+ Suite result: ok. 35 passed; 0 failed; 0 skipped; finished in 19.53ms (16.88ms CPU time)
176
+
177
+ Ran 6 tests for test/FeeHandlerRBACUpgradeable.t.sol:FeeHandlerRBACUpgradeableTest
178
+ [PASS] test_feeDeposit() (gas: 17638)
179
+ [PASS] test_setFeeDeposit() (gas: 27596)
180
+ [PASS] test_setFeeDeposit_Fuzz(address) (runs: 1000, μ: 24055, ~: 24055)
181
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22370)
182
+ [PASS] test_setFeeDeposit_Revert_ZeroAddress() (gas: 15811)
183
+ [PASS] test_storageHash() (gas: 3315)
184
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 54.78ms (54.10ms CPU time)
247
185
 
248
186
  Ran 40 tests for test/RateLimiterRBACUpgradeable.t.sol:RateLimiterRBACUpgradeableTest
249
187
  [PASS] test_checkpointRateLimits_Empty() (gas: 13362)
@@ -286,72 +224,45 @@ Ran 40 tests for test/RateLimiterRBACUpgradeable.t.sol:RateLimiterRBACUpgradeabl
286
224
  [PASS] test_setRateLimitStates_Single() (gas: 52512)
287
225
  [PASS] test_storageHash() (gas: 3392)
288
226
  [PASS] test_upscaleRateLimitAmount() (gas: 2750380)
289
- Suite result: ok. 40 passed; 0 failed; 0 skipped; finished in 11.87ms (8.68ms CPU time)
227
+ Suite result: ok. 40 passed; 0 failed; 0 skipped; finished in 38.72ms (16.48ms CPU time)
228
+
229
+ Ran 27 tests for test/PauseRBACUpgradeable.t.sol:PauseRBACUpgradeableTest
230
+ [PASS] test_assertNotPaused_Fuzz(bool) (runs: 1000, μ: 26683, ~: 12786)
231
+ [PASS] test_assertNotPaused_Revert_Paused() (gas: 40859)
232
+ [PASS] test_assertNotPaused_Success() (gas: 12539)
233
+ [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15965)
234
+ [PASS] test_initialize_Revert_AlreadyInitialized_AdminUnchanged() (gas: 49417)
235
+ [PASS] test_isPaused_InitialState() (gas: 15629)
236
+ [PASS] test_modifierEnforcement_WithRoles() (gas: 218598)
237
+ [PASS] test_multipleRoleGrants() (gas: 394130)
238
+ [PASS] test_pause() (gas: 42109)
239
+ [PASS] test_renounceRole_Success_FunctionsRevert() (gas: 36029)
240
+ [PASS] test_roleTransfer_GrantAndRevoke() (gas: 180125)
241
+ [PASS] test_setPaused_Fuzz(bool) (runs: 1000, μ: 30094, ~: 18756)
242
+ [PASS] test_setPaused_Idempotent_InitialState_Reverts() (gas: 20507)
243
+ [PASS] test_setPaused_Idempotent_Reverts() (gas: 41497)
244
+ [PASS] test_setPaused_Revert_Unauthorized() (gas: 20279)
245
+ [PASS] test_setPaused_Success() (gas: 40691)
246
+ [PASS] test_setPaused_Success_MultipleOperations() (gas: 58020)
247
+ [PASS] test_setPaused_Success_ToggleMultipleTimes() (gas: 79509)
248
+ [PASS] test_storageHash() (gas: 3414)
249
+ [PASS] test_unpause() (gas: 35177)
250
+ [PASS] test_whenNotPaused_Fuzz(bool) (runs: 1000, μ: 41562, ~: 38860)
251
+ [PASS] test_whenNotPaused_Revert_Paused() (gas: 44372)
252
+ [PASS] test_whenNotPaused_Revert_WithReturnValue() (gas: 40903)
253
+ [PASS] test_whenNotPaused_Success() (gas: 38800)
254
+ [PASS] test_whenNotPaused_Success_AfterUnpause() (gas: 52332)
255
+ [PASS] test_whenNotPaused_Success_MultipleCalls() (gas: 61669)
256
+ [PASS] test_whenNotPaused_WithReturnValue() (gas: 15658)
257
+ Suite result: ok. 27 passed; 0 failed; 0 skipped; finished in 134.13ms (256.67ms CPU time)
290
258
 
291
259
  Ran 5 tests for test/FeeHandlerBaseUpgradeable.t.sol:FeeHandlerBaseUpgradeableTest
292
260
  [PASS] test_feeDeposit() (gas: 17576)
293
261
  [PASS] test_setFeeDeposit() (gas: 24995)
294
- [PASS] test_setFeeDeposit_Fuzz(address) (runs: 1000, μ: 21454, ~: 21454)
262
+ [PASS] test_setFeeDeposit_Fuzz(address) (runs: 1000, μ: 21451, ~: 21454)
295
263
  [PASS] test_setFeeDeposit_Revert_ZeroAddress() (gas: 13273)
296
264
  [PASS] test_storageHash() (gas: 3337)
297
- Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 45.25ms (44.70ms CPU time)
298
-
299
- Ran 10 tests for test/RateLimiterUtils.t.sol:RateLimiterUtilsTest
300
- [PASS] test_decodeConfigBitmapFlags_AllFalse() (gas: 10012)
301
- [PASS] test_decodeConfigBitmapFlags_AllTrue() (gas: 10034)
302
- [PASS] test_decodeConfigBitmapFlags_Mixed() (gas: 9990)
303
- [PASS] test_decodeOverrideDefaultConfig_False() (gas: 8488)
304
- [PASS] test_decodeOverrideDefaultConfig_Fuzz(uint24) (runs: 1000, μ: 3388, ~: 3393)
305
- [PASS] test_decodeOverrideDefaultConfig_True() (gas: 8456)
306
- [PASS] test_encodeConfigBitmap_AllFalse() (gas: 8957)
307
- [PASS] test_encodeConfigBitmap_AllTrue() (gas: 8999)
308
- [PASS] test_encodeConfigBitmap_Mixed() (gas: 8977)
309
- [PASS] test_encodeDecode_Fuzz(bool,bool,bool,bool,bool) (runs: 1000, μ: 5017, ~: 5017)
310
- Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 101.36ms (101.13ms CPU time)
311
-
312
- Ran 6 tests for test/FeeHandlerRBACUpgradeable.t.sol:FeeHandlerRBACUpgradeableTest
313
- [PASS] test_feeDeposit() (gas: 17638)
314
- [PASS] test_setFeeDeposit() (gas: 27596)
315
- [PASS] test_setFeeDeposit_Fuzz(address) (runs: 1000, μ: 24055, ~: 24055)
316
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22370)
317
- [PASS] test_setFeeDeposit_Revert_ZeroAddress() (gas: 15811)
318
- [PASS] test_storageHash() (gas: 3315)
319
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 57.26ms (56.60ms CPU time)
320
-
321
- Ran 32 tests for test/AllowlistRBACUpgradeable.t.sol:AllowlistRBACUpgradeableTest
322
- [PASS] test_SwitchModes_PreservesState() (gas: 195548)
323
- [PASS] test_constructor_InitialMode() (gas: 15778)
324
- [PASS] test_constructor_InitializeWhitelist() (gas: 2171134)
325
- [PASS] test_isAllowlisted_Blacklist_Blacklisted() (gas: 127952)
326
- [PASS] test_isAllowlisted_Blacklist_NotBlacklisted() (gas: 45551)
327
- [PASS] test_isAllowlisted_Fuzz_Blacklist_Blacklisted(address) (runs: 1000, μ: 115161, ~: 115161)
328
- [PASS] test_isAllowlisted_Fuzz_Blacklist_NotBlacklisted(address) (runs: 1000, μ: 43599, ~: 43599)
329
- [PASS] test_isAllowlisted_Fuzz_Open(address) (runs: 1000, μ: 15886, ~: 15886)
330
- [PASS] test_isAllowlisted_Fuzz_Whitelist_NotWhitelisted(address) (runs: 1000, μ: 43652, ~: 43652)
331
- [PASS] test_isAllowlisted_Fuzz_Whitelist_Whitelisted(address) (runs: 1000, μ: 115159, ~: 115159)
332
- [PASS] test_isAllowlisted_Open_AllAllowed() (gas: 26122)
333
- [PASS] test_isAllowlisted_Whitelist_NotWhitelisted() (gas: 45582)
334
- [PASS] test_isAllowlisted_Whitelist_Whitelisted() (gas: 127862)
335
- [PASS] test_onlyAllowlisted_Blacklist_RevertIfBlacklisted() (gas: 126878)
336
- [PASS] test_onlyAllowlisted_Open_AllAllowed() (gas: 22694)
337
- [PASS] test_onlyAllowlisted_Whitelist_RevertIfNotWhitelisted() (gas: 124784)
338
- [PASS] test_setAllowlistMode_Revert_Unauthorized() (gas: 20371)
339
- [PASS] test_setBlacklisted_EmptyArray() (gas: 13361)
340
- [PASS] test_setBlacklisted_MultipleUsers() (gas: 173727)
341
- [PASS] test_setBlacklisted_RemoveFromBlacklist() (gas: 99570)
342
- [PASS] test_setBlacklisted_Revert_AlreadyBlacklisted() (gas: 125055)
343
- [PASS] test_setBlacklisted_Revert_Unauthorized() (gas: 23329)
344
- [PASS] test_setMode_Blacklist() (gas: 42605)
345
- [PASS] test_setMode_MultipleChanges() (gas: 43274)
346
- [PASS] test_setMode_RevertSameMode() (gas: 51355)
347
- [PASS] test_setMode_Whitelist() (gas: 42714)
348
- [PASS] test_setWhitelisted_EmptyArray() (gas: 13339)
349
- [PASS] test_setWhitelisted_MultipleUsers() (gas: 173661)
350
- [PASS] test_setWhitelisted_RemoveFromWhitelist() (gas: 99588)
351
- [PASS] test_setWhitelisted_Revert_AlreadyWhitelisted() (gas: 125059)
352
- [PASS] test_setWhitelisted_Revert_Unauthorized() (gas: 23176)
353
- [PASS] test_storageHash() (gas: 3480)
354
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 197.13ms (443.09ms CPU time)
265
+ Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 176.33ms (85.76ms CPU time)
355
266
 
356
267
  Ran 33 tests for test/AccessControl2StepUpgradeable.t.sol:AccessControl2StepUpgradeableTest
357
268
  [PASS] test_acceptDefaultAdminTransfer_Events() (gas: 97372)
@@ -387,35 +298,39 @@ Ran 33 tests for test/AccessControl2StepUpgradeable.t.sol:AccessControl2StepUpgr
387
298
  [PASS] test_setRoleAdmin_Success_NonAdminRole_Other() (gas: 42684)
388
299
  [PASS] test_setRoleAdmin_Success_NonAdminRole_Self() (gas: 23859)
389
300
  [PASS] test_storageHash() (gas: 3380)
390
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 204.54ms (277.92ms CPU time)
301
+ Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 230.94ms (406.12ms CPU time)
391
302
 
392
- Ran 22 tests for test/FeeConfigBaseUpgradeable.t.sol:FeeConfigBaseUpgradeableTest
393
- [PASS] test_getAmountBeforeFee_BoundaryConditions() (gas: 48074)
394
- [PASS] test_getAmountBeforeFee_Default() (gas: 45067)
395
- [PASS] test_getAmountBeforeFee_Fuzz(uint16,uint224) (runs: 1000, μ: 44926, ~: 46317)
396
- [PASS] test_getAmountBeforeFee_MaxBps() (gas: 44658)
397
- [PASS] test_getAmountBeforeFee_Rounding() (gas: 45406)
398
- [PASS] test_getAmountBeforeFee_Specific() (gas: 68448)
399
- [PASS] test_getAmountBeforeFee_SpecificDisabled() (gas: 64007)
400
- [PASS] test_getAmountBeforeFee_ZeroAmount() (gas: 40642)
401
- [PASS] test_getAmountBeforeFee_ZeroBps() (gas: 22306)
402
- [PASS] test_getFee_BoundaryConditions() (gas: 71791)
403
- [PASS] test_getFee_Default() (gas: 40577)
404
- [PASS] test_getFee_Fuzz(uint16,uint32,uint240) (runs: 1000, μ: 42951, ~: 44486)
405
- [PASS] test_getFee_Rounding() (gas: 42835)
406
- [PASS] test_getFee_Specific() (gas: 63968)
407
- [PASS] test_getFee_SpecificDisabled() (gas: 63920)
408
- [PASS] test_setDefaultFeeBps() (gas: 39576)
409
- [PASS] test_setDefaultFeeBps_Fuzz(uint16) (runs: 1000, μ: 32637, ~: 39667)
410
- [PASS] test_setDefaultFeeBps_RevertInvalid() (gas: 13860)
411
- [PASS] test_setFeeBps() (gas: 73871)
412
- Logs:
413
- Bound result 500
414
-
415
- [PASS] test_setFeeBps_Fuzz(uint16,uint32,uint16,bool) (runs: 1000, μ: 65118, ~: 74224)
416
- [PASS] test_setFeeBps_RevertInvalid() (gas: 14075)
417
- [PASS] test_storageHash() (gas: 3426)
418
- Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 869.67ms (339.20ms CPU time)
303
+ Ran 29 tests for test/AllowlistBaseUpgradeable.t.sol:AllowlistBaseUpgradeableTest
304
+ [PASS] test_SwitchModes_PreservesState() (gas: 186406)
305
+ [PASS] test_constructor_InitialMode() (gas: 15578)
306
+ [PASS] test_constructor_InitializeWhitelist() (gas: 1372960)
307
+ [PASS] test_isAllowlisted_Blacklist_Blacklisted() (gas: 122675)
308
+ [PASS] test_isAllowlisted_Blacklist_NotBlacklisted() (gas: 42920)
309
+ [PASS] test_isAllowlisted_Fuzz_Blacklist_Blacklisted(address) (runs: 1000, μ: 110088, ~: 110088)
310
+ [PASS] test_isAllowlisted_Fuzz_Blacklist_NotBlacklisted(address) (runs: 1000, μ: 40990, ~: 40990)
311
+ [PASS] test_isAllowlisted_Fuzz_Open(address) (runs: 1000, μ: 15761, ~: 15761)
312
+ [PASS] test_isAllowlisted_Fuzz_Whitelist_NotWhitelisted(address) (runs: 1000, μ: 41054, ~: 41054)
313
+ [PASS] test_isAllowlisted_Fuzz_Whitelist_Whitelisted(address) (runs: 1000, μ: 110030, ~: 110030)
314
+ [PASS] test_isAllowlisted_Open_AllAllowed() (gas: 25813)
315
+ [PASS] test_isAllowlisted_Whitelist_NotWhitelisted() (gas: 42962)
316
+ [PASS] test_isAllowlisted_Whitelist_Whitelisted() (gas: 122528)
317
+ [PASS] test_onlyAllowlisted_Blacklist_RevertIfBlacklisted() (gas: 121851)
318
+ [PASS] test_onlyAllowlisted_Open_AllAllowed() (gas: 22626)
319
+ [PASS] test_onlyAllowlisted_Whitelist_RevertIfNotWhitelisted() (gas: 119712)
320
+ [PASS] test_setBlacklisted_EmptyArray() (gas: 10967)
321
+ [PASS] test_setBlacklisted_MultipleUsers() (gas: 168334)
322
+ [PASS] test_setBlacklisted_RemoveFromBlacklist() (gas: 95066)
323
+ [PASS] test_setBlacklisted_Revert_AlreadyBlacklisted() (gas: 119566)
324
+ [PASS] test_setMode_Blacklist() (gas: 40021)
325
+ [PASS] test_setMode_MultipleChanges() (gas: 39734)
326
+ [PASS] test_setMode_RevertSameMode() (gas: 45674)
327
+ [PASS] test_setMode_Whitelist() (gas: 40108)
328
+ [PASS] test_setWhitelisted_EmptyArray() (gas: 10878)
329
+ [PASS] test_setWhitelisted_MultipleUsers() (gas: 168133)
330
+ [PASS] test_setWhitelisted_RemoveFromWhitelist() (gas: 94878)
331
+ [PASS] test_setWhitelisted_Revert_AlreadyWhitelisted() (gas: 119358)
332
+ [PASS] test_storageHash() (gas: 3458)
333
+ Suite result: ok. 29 passed; 0 failed; 0 skipped; finished in 1.00s (381.50ms CPU time)
419
334
 
420
335
  Ran 31 tests for test/PauseByIDBaseUpgradeable.t.sol:PauseByIDBaseUpgradeableTest
421
336
  [PASS] test_assertNotPaused_Revert_DefaultPaused() (gas: 40927)
@@ -432,16 +347,16 @@ Ran 31 tests for test/PauseByIDBaseUpgradeable.t.sol:PauseByIDBaseUpgradeableTes
432
347
  [PASS] test_isPaused_SpecificDisabled() (gas: 51615)
433
348
  [PASS] test_pauseConfig() (gas: 45626)
434
349
  [PASS] test_setDefaultPaused() (gas: 39667)
435
- [PASS] test_setDefaultPaused_Fuzz(bool) (runs: 1000, μ: 28290, ~: 39918)
350
+ [PASS] test_setDefaultPaused_Fuzz(bool) (runs: 1000, μ: 27841, ~: 16332)
436
351
  [PASS] test_setDefaultPaused_Idempotent_InitialState_Reverts() (gas: 17984)
437
352
  [PASS] test_setDefaultPaused_Idempotent_Reverts() (gas: 38782)
438
353
  [PASS] test_setPaused() (gas: 43060)
439
354
  [PASS] test_setPaused_EmptyArray() (gas: 10900)
440
- [PASS] test_setPaused_Fuzz(uint256,bool,bool) (runs: 1000, μ: 38557, ~: 43373)
355
+ [PASS] test_setPaused_Fuzz(uint256,bool,bool) (runs: 1000, μ: 38517, ~: 43373)
441
356
  [PASS] test_setPaused_Success_EdgeCase_IDMaxUint256() (gas: 40562)
442
357
  [PASS] test_setPaused_Success_EdgeCase_IDZero() (gas: 40524)
443
358
  [PASS] test_setPaused_Success_Toggle() (gas: 51442)
444
- [PASS] test_specificOverridesDefault_Fuzz(bool,bool) (runs: 1000, μ: 57800, ~: 46989)
359
+ [PASS] test_specificOverridesDefault_Fuzz(bool,bool) (runs: 1000, μ: 58637, ~: 69608)
445
360
  [PASS] test_storageHash() (gas: 3480)
446
361
  [PASS] test_whenNotPaused_Revert_DefaultPaused() (gas: 44708)
447
362
  [PASS] test_whenNotPaused_Revert_SpecificPaused() (gas: 44758)
@@ -449,845 +364,818 @@ Ran 31 tests for test/PauseByIDBaseUpgradeable.t.sol:PauseByIDBaseUpgradeableTes
449
364
  [PASS] test_whenNotPaused_Success_SpecificUnpaused() (gas: 88596)
450
365
  [PASS] test_whenNotPaused_WithReturnValue() (gas: 17880)
451
366
  [PASS] test_whenNotPaused_WithReturnValue_Reverts() (gas: 40880)
452
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.04s (261.42ms CPU time)
367
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.03s (293.03ms CPU time)
453
368
 
454
- Ran 19 tests for test/PauseBaseUpgradeable.t.sol:PauseBaseUpgradeableTest
455
- [PASS] test_assertNotPaused_Fuzz(bool) (runs: 1000, μ: 25544, ~: 12763)
456
- [PASS] test_assertNotPaused_Revert_Paused() (gas: 38375)
457
- [PASS] test_assertNotPaused_Success() (gas: 12516)
458
- [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15725)
459
- [PASS] test_isPaused_InitialState() (gas: 15595)
460
- [PASS] test_pause() (gas: 39592)
461
- [PASS] test_setPaused_Fuzz(bool) (runs: 1000, μ: 27898, ~: 16219)
462
- [PASS] test_setPaused_Idempotent_InitialState_Reverts() (gas: 17914)
463
- [PASS] test_setPaused_Idempotent_Reverts() (gas: 38543)
464
- [PASS] test_setPaused_Success_ToggleMultipleTimes() (gas: 74144)
465
- [PASS] test_storageHash() (gas: 3414)
466
- [PASS] test_unpause() (gas: 31115)
467
- [PASS] test_whenNotPaused_Fuzz(bool) (runs: 1000, μ: 40504, ~: 42029)
468
- [PASS] test_whenNotPaused_Revert_Paused() (gas: 41855)
469
- [PASS] test_whenNotPaused_Revert_WithReturnValue() (gas: 38375)
470
- [PASS] test_whenNotPaused_Success() (gas: 38744)
471
- [PASS] test_whenNotPaused_Success_AfterUnpause() (gas: 48261)
472
- [PASS] test_whenNotPaused_Success_MultipleCalls() (gas: 56792)
473
- [PASS] test_whenNotPaused_WithReturnValue() (gas: 15624)
474
- Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 1.10s (234.73ms CPU time)
369
+ Ran 10 tests for test/RateLimiterUtils.t.sol:RateLimiterUtilsTest
370
+ [PASS] test_decodeConfigBitmapFlags_AllFalse() (gas: 10012)
371
+ [PASS] test_decodeConfigBitmapFlags_AllTrue() (gas: 10034)
372
+ [PASS] test_decodeConfigBitmapFlags_Mixed() (gas: 9990)
373
+ [PASS] test_decodeOverrideDefaultConfig_False() (gas: 8488)
374
+ [PASS] test_decodeOverrideDefaultConfig_Fuzz(uint24) (runs: 1000, μ: 3388, ~: 3393)
375
+ [PASS] test_decodeOverrideDefaultConfig_True() (gas: 8456)
376
+ [PASS] test_encodeConfigBitmap_AllFalse() (gas: 8957)
377
+ [PASS] test_encodeConfigBitmap_AllTrue() (gas: 8999)
378
+ [PASS] test_encodeConfigBitmap_Mixed() (gas: 8977)
379
+ [PASS] test_encodeDecode_Fuzz(bool,bool,bool,bool,bool) (runs: 1000, μ: 5017, ~: 5017)
380
+ Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 931.65ms (73.97ms CPU time)
475
381
 
476
- Ran 27 tests for test/PauseRBACUpgradeable.t.sol:PauseRBACUpgradeableTest
477
- [PASS] test_assertNotPaused_Fuzz(bool) (runs: 1000, μ: 27192, ~: 41090)
478
- [PASS] test_assertNotPaused_Revert_Paused() (gas: 40859)
479
- [PASS] test_assertNotPaused_Success() (gas: 12539)
480
- [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15965)
481
- [PASS] test_initialize_Revert_AlreadyInitialized_AdminUnchanged() (gas: 49417)
482
- [PASS] test_isPaused_InitialState() (gas: 15629)
483
- [PASS] test_modifierEnforcement_WithRoles() (gas: 218598)
484
- [PASS] test_multipleRoleGrants() (gas: 394130)
485
- [PASS] test_pause() (gas: 42109)
486
- [PASS] test_renounceRole_Success_FunctionsRevert() (gas: 36029)
487
- [PASS] test_roleTransfer_GrantAndRevoke() (gas: 180125)
488
- [PASS] test_setPaused_Fuzz(bool) (runs: 1000, μ: 30826, ~: 42378)
489
- [PASS] test_setPaused_Idempotent_InitialState_Reverts() (gas: 20507)
490
- [PASS] test_setPaused_Idempotent_Reverts() (gas: 41497)
491
- [PASS] test_setPaused_Revert_Unauthorized() (gas: 20279)
492
- [PASS] test_setPaused_Success() (gas: 40691)
493
- [PASS] test_setPaused_Success_MultipleOperations() (gas: 58020)
494
- [PASS] test_setPaused_Success_ToggleMultipleTimes() (gas: 79509)
495
- [PASS] test_storageHash() (gas: 3414)
496
- [PASS] test_unpause() (gas: 35177)
497
- [PASS] test_whenNotPaused_Fuzz(bool) (runs: 1000, μ: 41680, ~: 44479)
498
- [PASS] test_whenNotPaused_Revert_Paused() (gas: 44372)
499
- [PASS] test_whenNotPaused_Revert_WithReturnValue() (gas: 40903)
500
- [PASS] test_whenNotPaused_Success() (gas: 38800)
501
- [PASS] test_whenNotPaused_Success_AfterUnpause() (gas: 52332)
502
- [PASS] test_whenNotPaused_Success_MultipleCalls() (gas: 61669)
503
- [PASS] test_whenNotPaused_WithReturnValue() (gas: 15658)
504
- Suite result: ok. 27 passed; 0 failed; 0 skipped; finished in 1.17s (163.00ms CPU time)
382
+ Ran 32 tests for test/AllowlistRBACUpgradeable.t.sol:AllowlistRBACUpgradeableTest
383
+ [PASS] test_SwitchModes_PreservesState() (gas: 195548)
384
+ [PASS] test_constructor_InitialMode() (gas: 15778)
385
+ [PASS] test_constructor_InitializeWhitelist() (gas: 2171134)
386
+ [PASS] test_isAllowlisted_Blacklist_Blacklisted() (gas: 127952)
387
+ [PASS] test_isAllowlisted_Blacklist_NotBlacklisted() (gas: 45551)
388
+ [PASS] test_isAllowlisted_Fuzz_Blacklist_Blacklisted(address) (runs: 1000, μ: 115161, ~: 115161)
389
+ [PASS] test_isAllowlisted_Fuzz_Blacklist_NotBlacklisted(address) (runs: 1000, μ: 43599, ~: 43599)
390
+ [PASS] test_isAllowlisted_Fuzz_Open(address) (runs: 1000, μ: 15886, ~: 15886)
391
+ [PASS] test_isAllowlisted_Fuzz_Whitelist_NotWhitelisted(address) (runs: 1000, μ: 43652, ~: 43652)
392
+ [PASS] test_isAllowlisted_Fuzz_Whitelist_Whitelisted(address) (runs: 1000, μ: 115159, ~: 115159)
393
+ [PASS] test_isAllowlisted_Open_AllAllowed() (gas: 26122)
394
+ [PASS] test_isAllowlisted_Whitelist_NotWhitelisted() (gas: 45582)
395
+ [PASS] test_isAllowlisted_Whitelist_Whitelisted() (gas: 127862)
396
+ [PASS] test_onlyAllowlisted_Blacklist_RevertIfBlacklisted() (gas: 126878)
397
+ [PASS] test_onlyAllowlisted_Open_AllAllowed() (gas: 22694)
398
+ [PASS] test_onlyAllowlisted_Whitelist_RevertIfNotWhitelisted() (gas: 124784)
399
+ [PASS] test_setAllowlistMode_Revert_Unauthorized() (gas: 20371)
400
+ [PASS] test_setBlacklisted_EmptyArray() (gas: 13361)
401
+ [PASS] test_setBlacklisted_MultipleUsers() (gas: 173727)
402
+ [PASS] test_setBlacklisted_RemoveFromBlacklist() (gas: 99570)
403
+ [PASS] test_setBlacklisted_Revert_AlreadyBlacklisted() (gas: 125055)
404
+ [PASS] test_setBlacklisted_Revert_Unauthorized() (gas: 23329)
405
+ [PASS] test_setMode_Blacklist() (gas: 42605)
406
+ [PASS] test_setMode_MultipleChanges() (gas: 43274)
407
+ [PASS] test_setMode_RevertSameMode() (gas: 51355)
408
+ [PASS] test_setMode_Whitelist() (gas: 42714)
409
+ [PASS] test_setWhitelisted_EmptyArray() (gas: 13339)
410
+ [PASS] test_setWhitelisted_MultipleUsers() (gas: 173661)
411
+ [PASS] test_setWhitelisted_RemoveFromWhitelist() (gas: 99588)
412
+ [PASS] test_setWhitelisted_Revert_AlreadyWhitelisted() (gas: 125059)
413
+ [PASS] test_setWhitelisted_Revert_Unauthorized() (gas: 23176)
414
+ [PASS] test_storageHash() (gas: 3480)
415
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.12s (488.59ms CPU time)
505
416
 
506
- Ran 8 tests for test/RateLimiterRBACUpgradeableInvariant.t.sol:RateLimiterRBACUpgradeableInvariantTest
417
+ Ran 47 tests for test/PauseByIDRBACUpgradeable.t.sol:PauseByIDRBACUpgradeableTest
418
+ [PASS] test_assertNotPaused_Revert_DefaultPaused() (gas: 43478)
419
+ [PASS] test_assertNotPaused_Revert_SpecificPaused() (gas: 46209)
420
+ [PASS] test_assertNotPaused_Success() (gas: 14891)
421
+ [PASS] test_defaultPause_AffectsMultipleIDs() (gas: 55680)
422
+ [PASS] test_defaultPaused_InitialState() (gas: 15572)
423
+ [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 18031)
424
+ [PASS] test_isPaused_Default() (gas: 47316)
425
+ [PASS] test_isPaused_InitialState() (gas: 22172)
426
+ [PASS] test_isPaused_MultipleIDs() (gas: 80142)
427
+ [PASS] test_isPaused_Override() (gas: 75171)
428
+ [PASS] test_isPaused_Specific() (gas: 50105)
429
+ [PASS] test_isPaused_SpecificDisabled() (gas: 55561)
430
+ [PASS] test_pauseConfig() (gas: 51028)
431
+ [PASS] test_roleManagement_grantAndRevoke() (gas: 172245)
432
+ [PASS] test_setDefaultPaused() (gas: 42196)
433
+ [PASS] test_setDefaultPaused_Fuzz(bool) (runs: 1000, μ: 30352, ~: 18826)
434
+ [PASS] test_setDefaultPaused_Idempotent_InitialState_Reverts() (gas: 20523)
435
+ [PASS] test_setDefaultPaused_Idempotent_Reverts() (gas: 41737)
436
+ [PASS] test_setDefaultPaused_Revert_Unauthorized() (gas: 20560)
437
+ [PASS] test_setDefaultPaused_Success() (gas: 40744)
438
+ [PASS] test_setPaused() (gas: 48361)
439
+ [PASS] test_setPaused_DormantData() (gas: 295234)
440
+ [PASS] test_setPaused_EmptyArray() (gas: 15702)
441
+ [PASS] test_setPaused_EmptyArrayWithUnpauserRole() (gas: 100683)
442
+ [PASS] test_setPaused_Fuzz(uint256,bool,bool) (runs: 1000, μ: 43925, ~: 48696)
443
+ [PASS] test_setPaused_Fuzz_EffectiveStateRoleCheck(bool,bool,bool) (runs: 1000, μ: 222868, ~: 219722)
444
+ [PASS] test_setPaused_Revert_EmptyArrayUnauthorized() (gas: 23131)
445
+ [PASS] test_setPaused_Revert_MixedBatchWithDisabledConfigs_NeedsBothRoles() (gas: 132176)
446
+ [PASS] test_setPaused_Revert_PauserCannotCauseEffectiveUnpause() (gas: 107518)
447
+ [PASS] test_setPaused_Revert_Unauthorized() (gas: 24037)
448
+ [PASS] test_setPaused_Revert_UnpauserCannotCauseEffectivePause() (gas: 130805)
449
+ [PASS] test_setPaused_Success() (gas: 45897)
450
+ [PASS] test_setPaused_Success_Batch() (gas: 345312)
451
+ [PASS] test_setPaused_Success_EdgeCase_IDMaxUint256() (gas: 45858)
452
+ [PASS] test_setPaused_Success_EdgeCase_IDZero() (gas: 45875)
453
+ [PASS] test_setPaused_Success_MixedBatchWithDisabledConfigs_BothRoles() (gas: 241273)
454
+ [PASS] test_setPaused_Success_PauserCanSetDisabledWhenDefaultPaused() (gas: 133457)
455
+ [PASS] test_setPaused_Success_Toggle() (gas: 58022)
456
+ [PASS] test_setPaused_Success_UnpauserCanSetDisabledWhenDefaultUnpaused() (gas: 130070)
457
+ [PASS] test_specificOverridesDefault_Fuzz(bool,bool) (runs: 1000, μ: 62203, ~: 50341)
458
+ [PASS] test_storageHash() (gas: 3392)
459
+ [PASS] test_whenNotPaused_Revert_DefaultPaused() (gas: 47171)
460
+ [PASS] test_whenNotPaused_Revert_SpecificPaused() (gas: 49932)
461
+ [PASS] test_whenNotPaused_Success() (gas: 41299)
462
+ [PASS] test_whenNotPaused_Success_SpecificUnpaused() (gas: 94341)
463
+ [PASS] test_whenNotPaused_WithReturnValue() (gas: 17859)
464
+ [PASS] test_whenNotPaused_WithReturnValue_Reverts() (gas: 46165)
465
+ Suite result: ok. 47 passed; 0 failed; 0 skipped; finished in 1.12s (529.44ms CPU time)
466
+
467
+ Ran 8 tests for test/RateLimiterRBACUpgradeableInvariant.t.sol:RateLimiterRBACUpgradeableInvariantGlobalStateTest
507
468
  [PASS] invariant_AvailableConsistent() (runs: 256, calls: 3840, reverts: 0)
508
469
 
509
470
  ╭-----------------------------------+---------------------+-------+---------+----------╮
510
471
  | Contract | Selector | Calls | Reverts | Discards |
511
472
  +======================================================================================+
512
- | RateLimiterRBACUpgradeableHandler | inflow | 522 | 0 | 0 |
473
+ | RateLimiterRBACUpgradeableHandler | inflow | 524 | 0 | 0 |
513
474
  |-----------------------------------+---------------------+-------+---------+----------|
514
- | RateLimiterRBACUpgradeableHandler | outflow | 557 | 0 | 0 |
475
+ | RateLimiterRBACUpgradeableHandler | outflow | 549 | 0 | 0 |
515
476
  |-----------------------------------+---------------------+-------+---------+----------|
516
- | RateLimiterRBACUpgradeableHandler | setConfig | 534 | 0 | 0 |
477
+ | RateLimiterRBACUpgradeableHandler | setConfig | 566 | 0 | 0 |
517
478
  |-----------------------------------+---------------------+-------+---------+----------|
518
- | RateLimiterRBACUpgradeableHandler | setState | 585 | 0 | 0 |
479
+ | RateLimiterRBACUpgradeableHandler | setState | 547 | 0 | 0 |
519
480
  |-----------------------------------+---------------------+-------+---------+----------|
520
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 544 | 0 | 0 |
481
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 549 | 0 | 0 |
521
482
  |-----------------------------------+---------------------+-------+---------+----------|
522
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 532 | 0 | 0 |
483
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 556 | 0 | 0 |
523
484
  |-----------------------------------+---------------------+-------+---------+----------|
524
- | RateLimiterRBACUpgradeableHandler | warp | 566 | 0 | 0 |
485
+ | RateLimiterRBACUpgradeableHandler | warp | 549 | 0 | 0 |
525
486
  ╰-----------------------------------+---------------------+-------+---------+----------╯
526
487
 
527
488
  Logs:
528
- Bound result 266
529
- Bound result 682
530
- Bound result 7198
531
- Bound result 9425
532
- Bound result 9324
533
- Bound result 321
534
- Bound result 2
535
- Bound result 418
536
- Bound result 43
489
+ Bound result 9900000000000000006502
490
+ Bound result 9900000000000000006362
491
+ Bound result 5608
492
+ Bound result 7490
493
+ Bound result 8552
494
+ Bound result 2737072852
537
495
  Bound result 0
538
- Bound result 9719
539
- Bound result 448
540
- Bound result 100000000000000000001
541
- Bound result 9900000001495121234951
542
- Bound result 6242
543
- Bound result 11
544
- Bound result 9900000000000000006607
545
- Bound result 9900000000000000008226
546
- Bound result 2629
547
- Bound result 890
548
- Bound result 5520
549
- Bound result 2546
550
- Bound result 647
551
- Bound result 15555335576731306778703
552
- Bound result 8436
553
- Bound result 37462
554
- Bound result 313
555
- Bound result 3
496
+ Bound result 8394828540494898387143
497
+ Bound result 9028
498
+ Bound result 9976
499
+ Bound result 8667
500
+ Bound result 0
501
+ Bound result 307
502
+ Bound result 10558
503
+ Bound result 1
504
+ Bound result 2661
505
+ Bound result 6914264337541509458645
506
+ Bound result 842910713
556
507
 
557
508
  [PASS] invariant_ConfigBitmapConsistency() (runs: 256, calls: 3840, reverts: 0)
558
509
 
559
510
  ╭-----------------------------------+---------------------+-------+---------+----------╮
560
511
  | Contract | Selector | Calls | Reverts | Discards |
561
512
  +======================================================================================+
562
- | RateLimiterRBACUpgradeableHandler | inflow | 538 | 0 | 0 |
513
+ | RateLimiterRBACUpgradeableHandler | inflow | 547 | 0 | 0 |
563
514
  |-----------------------------------+---------------------+-------+---------+----------|
564
- | RateLimiterRBACUpgradeableHandler | outflow | 560 | 0 | 0 |
515
+ | RateLimiterRBACUpgradeableHandler | outflow | 528 | 0 | 0 |
565
516
  |-----------------------------------+---------------------+-------+---------+----------|
566
- | RateLimiterRBACUpgradeableHandler | setConfig | 546 | 0 | 0 |
517
+ | RateLimiterRBACUpgradeableHandler | setConfig | 543 | 0 | 0 |
567
518
  |-----------------------------------+---------------------+-------+---------+----------|
568
- | RateLimiterRBACUpgradeableHandler | setState | 504 | 0 | 0 |
519
+ | RateLimiterRBACUpgradeableHandler | setState | 572 | 0 | 0 |
569
520
  |-----------------------------------+---------------------+-------+---------+----------|
570
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 583 | 0 | 0 |
521
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 541 | 0 | 0 |
571
522
  |-----------------------------------+---------------------+-------+---------+----------|
572
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 537 | 0 | 0 |
523
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 573 | 0 | 0 |
573
524
  |-----------------------------------+---------------------+-------+---------+----------|
574
- | RateLimiterRBACUpgradeableHandler | warp | 572 | 0 | 0 |
525
+ | RateLimiterRBACUpgradeableHandler | warp | 536 | 0 | 0 |
575
526
  ╰-----------------------------------+---------------------+-------+---------+----------╯
576
527
 
577
528
  Logs:
578
- Bound result 9900000000001764130261
579
- Bound result 9900177062347344251619
580
- Bound result 7470
581
- Bound result 9997
582
- Bound result 9745
529
+ Bound result 936
530
+ Bound result 870680033952086880469
531
+ Bound result 9900000280956623565102
532
+ Bound result 10
533
+ Bound result 33
534
+ Bound result 9900000000000000005130
535
+ Bound result 9900000000000000008388
536
+ Bound result 5025
537
+ Bound result 9975
538
+ Bound result 2703
539
+ Bound result 555
540
+ Bound result 214
541
+ Bound result 7447
542
+ Bound result 7590
543
+ Bound result 17
544
+ Bound result 12284660694548556391805
545
+ Bound result 18432727978832894860358
546
+ Bound result 27
547
+ Bound result 1425372418870271346154
583
548
  Bound result 2
584
- Bound result 5603
585
- Bound result 4041
586
- Bound result 1626
587
- Bound result 9900000000306633693458
588
- Bound result 9900000000000000000005
589
- Bound result 688
590
- Bound result 11
591
- Bound result 8365
592
- Bound result 122
593
- Bound result 406
594
- Bound result 100000000000000000003
595
- Bound result 9900000000000000029643
596
- Bound result 1165
597
- Bound result 56
598
- Bound result 9900000000000000010829
599
- Bound result 9900000000000000003444
600
- Bound result 2155
601
- Bound result 8351
549
+ Bound result 131
550
+ Bound result 928
551
+ Bound result 3
552
+ Bound result 100000000000000000000
553
+ Bound result 160241908583501529056
554
+ Bound result 23
555
+ Bound result 9527
556
+ Bound result 9900000000002739854340
557
+ Bound result 9900000000000000004194
558
+ Bound result 6743
559
+ Bound result 8724
560
+ Bound result 1586
602
561
 
603
562
  [PASS] invariant_ConfigConsistency() (runs: 256, calls: 3840, reverts: 0)
604
563
 
605
564
  ╭-----------------------------------+---------------------+-------+---------+----------╮
606
565
  | Contract | Selector | Calls | Reverts | Discards |
607
566
  +======================================================================================+
608
- | RateLimiterRBACUpgradeableHandler | inflow | 574 | 0 | 0 |
567
+ | RateLimiterRBACUpgradeableHandler | inflow | 539 | 0 | 0 |
609
568
  |-----------------------------------+---------------------+-------+---------+----------|
610
- | RateLimiterRBACUpgradeableHandler | outflow | 534 | 0 | 0 |
569
+ | RateLimiterRBACUpgradeableHandler | outflow | 529 | 0 | 0 |
611
570
  |-----------------------------------+---------------------+-------+---------+----------|
612
- | RateLimiterRBACUpgradeableHandler | setConfig | 571 | 0 | 0 |
571
+ | RateLimiterRBACUpgradeableHandler | setConfig | 556 | 0 | 0 |
613
572
  |-----------------------------------+---------------------+-------+---------+----------|
614
- | RateLimiterRBACUpgradeableHandler | setState | 479 | 0 | 0 |
573
+ | RateLimiterRBACUpgradeableHandler | setState | 584 | 0 | 0 |
615
574
  |-----------------------------------+---------------------+-------+---------+----------|
616
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 561 | 0 | 0 |
575
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 565 | 0 | 0 |
617
576
  |-----------------------------------+---------------------+-------+---------+----------|
618
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 535 | 0 | 0 |
577
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 539 | 0 | 0 |
619
578
  |-----------------------------------+---------------------+-------+---------+----------|
620
- | RateLimiterRBACUpgradeableHandler | warp | 586 | 0 | 0 |
579
+ | RateLimiterRBACUpgradeableHandler | warp | 528 | 0 | 0 |
621
580
  ╰-----------------------------------+---------------------+-------+---------+----------╯
622
581
 
623
582
  Logs:
624
- Bound result 514264337593504336252
625
- Bound result 7
626
- Bound result 0
627
- Bound result 625761768
628
- Bound result 9900938080326754094145
629
- Bound result 9900000000000000000005
630
- Bound result 85
631
- Bound result 3448
632
- Bound result 4572
633
- Bound result 2179033038
583
+ Bound result 120126172
584
+ Bound result 9900000000000000000384
585
+ Bound result 9900000000000000008081
586
+ Bound result 7533
587
+ Bound result 1106
588
+ Bound result 2361170317345673844
589
+ Bound result 79
590
+ Bound result 3930
591
+ Bound result 351
634
592
  Bound result 1
635
- Bound result 1885
636
- Bound result 13069422878675018803045
637
- Bound result 9900000000000000010441
638
- Bound result 3169422878675018803044
639
- Bound result 2289
640
- Bound result 7422
641
- Bound result 9900000000087236089447
642
- Bound result 9900000003287639150334
643
- Bound result 34
644
- Bound result 191
645
- Bound result 34
646
- Bound result 8256
647
- Bound result 133783230806191199508
593
+ Bound result 64858553136453261
594
+ Bound result 10177970
595
+ Bound result 1
596
+ Bound result 7182
648
597
 
649
598
  [PASS] invariant_ExemptionConsistency() (runs: 256, calls: 3840, reverts: 0)
650
599
 
651
600
  ╭-----------------------------------+---------------------+-------+---------+----------╮
652
601
  | Contract | Selector | Calls | Reverts | Discards |
653
602
  +======================================================================================+
654
- | RateLimiterRBACUpgradeableHandler | inflow | 548 | 0 | 0 |
603
+ | RateLimiterRBACUpgradeableHandler | inflow | 547 | 0 | 0 |
655
604
  |-----------------------------------+---------------------+-------+---------+----------|
656
- | RateLimiterRBACUpgradeableHandler | outflow | 548 | 0 | 0 |
605
+ | RateLimiterRBACUpgradeableHandler | outflow | 561 | 0 | 0 |
657
606
  |-----------------------------------+---------------------+-------+---------+----------|
658
- | RateLimiterRBACUpgradeableHandler | setConfig | 552 | 0 | 0 |
607
+ | RateLimiterRBACUpgradeableHandler | setConfig | 541 | 0 | 0 |
659
608
  |-----------------------------------+---------------------+-------+---------+----------|
660
- | RateLimiterRBACUpgradeableHandler | setState | 536 | 0 | 0 |
609
+ | RateLimiterRBACUpgradeableHandler | setState | 550 | 0 | 0 |
661
610
  |-----------------------------------+---------------------+-------+---------+----------|
662
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 578 | 0 | 0 |
611
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 560 | 0 | 0 |
663
612
  |-----------------------------------+---------------------+-------+---------+----------|
664
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 525 | 0 | 0 |
613
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 536 | 0 | 0 |
665
614
  |-----------------------------------+---------------------+-------+---------+----------|
666
- | RateLimiterRBACUpgradeableHandler | warp | 553 | 0 | 0 |
615
+ | RateLimiterRBACUpgradeableHandler | warp | 545 | 0 | 0 |
667
616
  ╰-----------------------------------+---------------------+-------+---------+----------╯
668
617
 
669
618
  Logs:
670
- Bound result 1193
671
- Bound result 950
672
- Bound result 9008
673
- Bound result 1062
674
- Bound result 1416
675
- Bound result 587
676
- Bound result 1622370234201091457153
677
- Bound result 983
678
- Bound result 319
679
- Bound result 203383
680
- Bound result 514264337593543950334
681
- Bound result 9900000000000000008164
682
- Bound result 9900000000000000005841
683
- Bound result 6770
684
- Bound result 7291
685
- Bound result 9059
686
- Bound result 1235
687
- Bound result 966
688
- Bound result 9900000000000000008151
689
- Bound result 9900000000000000002430
690
- Bound result 7275
691
- Bound result 1556
692
- Bound result 5652
619
+ Bound result 1737283783321160611425
620
+ Bound result 1213176649727457792503
621
+ Bound result 0
622
+ Bound result 817
623
+ Bound result 5198
624
+ Bound result 1
625
+ Bound result 1140215158193694462296
626
+ Bound result 280433268348321584924
627
+ Bound result 88361866341315578110
628
+ Bound result 1
629
+ Bound result 688572355706
630
+ Bound result 502208948545
631
+ Bound result 1
632
+ Bound result 3480
633
+ Bound result 2163
634
+ Bound result 1
635
+ Bound result 9900000000000000005100
636
+ Bound result 9900000000000000003588
637
+ Bound result 580
638
+ Bound result 7064
639
+ Bound result 7470
640
+ Bound result 4208
641
+ Bound result 158152548184649
642
+ Bound result 96
643
+ Bound result 9900000000000000005805
644
+ Bound result 2171449129615187758927
645
+ Bound result 670
646
+ Bound result 8822
693
647
 
694
648
  [PASS] invariant_GhostConsistency() (runs: 256, calls: 3840, reverts: 0)
695
649
 
696
650
  ╭-----------------------------------+---------------------+-------+---------+----------╮
697
651
  | Contract | Selector | Calls | Reverts | Discards |
698
652
  +======================================================================================+
699
- | RateLimiterRBACUpgradeableHandler | inflow | 543 | 0 | 0 |
653
+ | RateLimiterRBACUpgradeableHandler | inflow | 565 | 0 | 0 |
700
654
  |-----------------------------------+---------------------+-------+---------+----------|
701
- | RateLimiterRBACUpgradeableHandler | outflow | 553 | 0 | 0 |
655
+ | RateLimiterRBACUpgradeableHandler | outflow | 551 | 0 | 0 |
702
656
  |-----------------------------------+---------------------+-------+---------+----------|
703
- | RateLimiterRBACUpgradeableHandler | setConfig | 539 | 0 | 0 |
657
+ | RateLimiterRBACUpgradeableHandler | setConfig | 557 | 0 | 0 |
704
658
  |-----------------------------------+---------------------+-------+---------+----------|
705
- | RateLimiterRBACUpgradeableHandler | setState | 565 | 0 | 0 |
659
+ | RateLimiterRBACUpgradeableHandler | setState | 545 | 0 | 0 |
706
660
  |-----------------------------------+---------------------+-------+---------+----------|
707
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 542 | 0 | 0 |
661
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 558 | 0 | 0 |
708
662
  |-----------------------------------+---------------------+-------+---------+----------|
709
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 556 | 0 | 0 |
663
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 523 | 0 | 0 |
710
664
  |-----------------------------------+---------------------+-------+---------+----------|
711
- | RateLimiterRBACUpgradeableHandler | warp | 542 | 0 | 0 |
665
+ | RateLimiterRBACUpgradeableHandler | warp | 541 | 0 | 0 |
712
666
  ╰-----------------------------------+---------------------+-------+---------+----------╯
713
667
 
714
668
  Logs:
715
- Bound result 78
716
- Bound result 20
717
- Bound result 764
669
+ Bound result 100000000000000000002
670
+ Bound result 100000000000000000001
671
+ Bound result 9998
672
+ Bound result 9525
673
+ Bound result 245134047024
674
+ Bound result 58215655257559665
675
+ Bound result 8993
676
+ Bound result 6889
718
677
  Bound result 0
719
- Bound result 9900481608213320064090
720
- Bound result 131853355747112952674
721
- Bound result 20
678
+ Bound result 6914264337593535947488
679
+ Bound result 3321806052017649644244
680
+ Bound result 93
681
+ Bound result 9281
682
+ Bound result 127651733157508988170
683
+ Bound result 45056012726518494
684
+ Bound result 10708
685
+ Bound result 3016663576
686
+ Bound result 1
687
+ Bound result 9900000272548288770462
688
+ Bound result 9900315524224576718983
689
+ Bound result 8082
722
690
  Bound result 12
723
- Bound result 4008
724
- Bound result 1661981
725
- Bound result 8
726
- Bound result 9918392014684758961034
727
- Bound result 9900001993264902744496
728
- Bound result 5593
729
- Bound result 9720
730
- Bound result 467861620771823830016
731
- Bound result 4548
732
- Bound result 10762480256783976092700
733
- Bound result 186371296318635282977
734
- Bound result 15693
735
691
 
736
692
  [PASS] invariant_LastUpdatedNotFuture() (runs: 256, calls: 3840, reverts: 0)
737
693
 
738
694
  ╭-----------------------------------+---------------------+-------+---------+----------╮
739
695
  | Contract | Selector | Calls | Reverts | Discards |
740
696
  +======================================================================================+
741
- | RateLimiterRBACUpgradeableHandler | inflow | 542 | 0 | 0 |
697
+ | RateLimiterRBACUpgradeableHandler | inflow | 563 | 0 | 0 |
742
698
  |-----------------------------------+---------------------+-------+---------+----------|
743
- | RateLimiterRBACUpgradeableHandler | outflow | 540 | 0 | 0 |
699
+ | RateLimiterRBACUpgradeableHandler | outflow | 556 | 0 | 0 |
744
700
  |-----------------------------------+---------------------+-------+---------+----------|
745
- | RateLimiterRBACUpgradeableHandler | setConfig | 553 | 0 | 0 |
701
+ | RateLimiterRBACUpgradeableHandler | setConfig | 528 | 0 | 0 |
746
702
  |-----------------------------------+---------------------+-------+---------+----------|
747
- | RateLimiterRBACUpgradeableHandler | setState | 564 | 0 | 0 |
703
+ | RateLimiterRBACUpgradeableHandler | setState | 524 | 0 | 0 |
748
704
  |-----------------------------------+---------------------+-------+---------+----------|
749
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 559 | 0 | 0 |
705
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 516 | 0 | 0 |
750
706
  |-----------------------------------+---------------------+-------+---------+----------|
751
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 573 | 0 | 0 |
707
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 568 | 0 | 0 |
752
708
  |-----------------------------------+---------------------+-------+---------+----------|
753
- | RateLimiterRBACUpgradeableHandler | warp | 509 | 0 | 0 |
709
+ | RateLimiterRBACUpgradeableHandler | warp | 585 | 0 | 0 |
754
710
  ╰-----------------------------------+---------------------+-------+---------+----------╯
755
711
 
756
712
  Logs:
757
- Bound result 1474
758
- Bound result 1528
759
- Bound result 9900000000000000009451
760
- Bound result 9900000000003644407704
761
- Bound result 128
762
- Bound result 906
763
- Bound result 275
713
+ Bound result 9901435632743157644241
714
+ Bound result 9901969462164895524567
715
+ Bound result 3947
716
+ Bound result 52
717
+ Bound result 452777886
718
+ Bound result 921
719
+ Bound result 0
720
+ Bound result 2207
721
+ Bound result 441
722
+ Bound result 0
723
+ Bound result 47019549863
724
+ Bound result 6820916856024568582471
764
725
  Bound result 1
765
- Bound result 8307605992826885565
766
- Bound result 100000000000000000000
767
- Bound result 9900000000000000000189
768
- Bound result 506
769
- Bound result 9051
770
- Bound result 388
771
- Bound result 1822203852
772
- Bound result 279
773
- Bound result 4255
774
- Bound result 2108
775
- Bound result 7452
776
- Bound result 2
726
+ Bound result 18997737545007534654196
727
+ Bound result 9900000000000000008510
728
+ Bound result 9900000000000000000934
729
+ Bound result 3991
730
+ Bound result 868
731
+ Bound result 797
732
+ Bound result 12479280886668816485408
733
+ Bound result 131
734
+ Bound result 12
735
+ Bound result 9900000000000000000146
736
+ Bound result 9900000000000000007794
737
+ Bound result 7401
738
+ Bound result 7057
739
+ Bound result 9900000000001666094043
740
+ Bound result 9900000000000000000082
741
+ Bound result 5740
742
+ Bound result 187
743
+ Bound result 12549129077330
744
+ Bound result 7471
777
745
 
778
746
  [PASS] invariant_PristineIdUntouched() (runs: 256, calls: 3840, reverts: 0)
779
747
 
780
748
  ╭-----------------------------------+---------------------+-------+---------+----------╮
781
749
  | Contract | Selector | Calls | Reverts | Discards |
782
750
  +======================================================================================+
783
- | RateLimiterRBACUpgradeableHandler | inflow | 558 | 0 | 0 |
751
+ | RateLimiterRBACUpgradeableHandler | inflow | 529 | 0 | 0 |
784
752
  |-----------------------------------+---------------------+-------+---------+----------|
785
- | RateLimiterRBACUpgradeableHandler | outflow | 560 | 0 | 0 |
753
+ | RateLimiterRBACUpgradeableHandler | outflow | 555 | 0 | 0 |
786
754
  |-----------------------------------+---------------------+-------+---------+----------|
787
- | RateLimiterRBACUpgradeableHandler | setConfig | 542 | 0 | 0 |
755
+ | RateLimiterRBACUpgradeableHandler | setConfig | 560 | 0 | 0 |
788
756
  |-----------------------------------+---------------------+-------+---------+----------|
789
- | RateLimiterRBACUpgradeableHandler | setState | 544 | 0 | 0 |
757
+ | RateLimiterRBACUpgradeableHandler | setState | 585 | 0 | 0 |
790
758
  |-----------------------------------+---------------------+-------+---------+----------|
791
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 517 | 0 | 0 |
759
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 557 | 0 | 0 |
792
760
  |-----------------------------------+---------------------+-------+---------+----------|
793
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 560 | 0 | 0 |
761
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 508 | 0 | 0 |
794
762
  |-----------------------------------+---------------------+-------+---------+----------|
795
- | RateLimiterRBACUpgradeableHandler | warp | 559 | 0 | 0 |
763
+ | RateLimiterRBACUpgradeableHandler | warp | 546 | 0 | 0 |
796
764
  ╰-----------------------------------+---------------------+-------+---------+----------╯
797
765
 
798
766
  Logs:
799
- Bound result 11178
800
- Bound result 449
801
- Bound result 1
802
- Bound result 7798777546079952448952
803
- Bound result 9900000000000005054783
804
- Bound result 9995
805
- Bound result 3652
806
- Bound result 83
807
- Bound result 260755
808
- Bound result 741873031162
809
- Bound result 0
810
- Bound result 1225
811
- Bound result 14201482529071046824519
812
- Bound result 16299590608173165788272
813
- Bound result 3439448184466023600725
814
- Bound result 9900000000000000000274
815
- Bound result 3273
816
- Bound result 1626
817
- Bound result 2636033095998659867858
818
- Bound result 2
767
+ Bound result 9900000000000000008273
768
+ Bound result 9900000000000000009798
769
+ Bound result 6121
770
+ Bound result 4117
771
+ Bound result 97
772
+ Bound result 163
819
773
  Bound result 1
820
- Bound result 2289400113066123904152
821
- Bound result 1298090181993939592
822
- Bound result 0
823
- Bound result 29408870925745
824
- Bound result 6914264337591347169654
774
+ Bound result 5303
775
+ Bound result 9910141428271184924719
776
+ Bound result 9900000278900667391154
777
+ Bound result 10
778
+ Bound result 337
779
+ Bound result 7119492002508891274431
780
+ Bound result 9900000000000000000022
781
+ Bound result 47
782
+ Bound result 4550
783
+ Bound result 20533959969648266
825
784
  Bound result 1
826
- Bound result 483
827
- Bound result 9900000000000000001895
828
- Bound result 9900000000000000002115
829
- Bound result 2685
830
- Bound result 2041
785
+ Bound result 2244997822931059126814
786
+ Bound result 39250825971985
787
+ Bound result 9
788
+ Bound result 41
789
+ Bound result 9900000000000000008292
790
+ Bound result 9900000000002072215440
791
+ Bound result 9539
792
+ Bound result 8363
793
+ Bound result 611357
831
794
 
832
795
  [PASS] invariant_RevertConsistency() (runs: 256, calls: 3840, reverts: 0)
833
796
 
834
797
  ╭-----------------------------------+---------------------+-------+---------+----------╮
835
798
  | Contract | Selector | Calls | Reverts | Discards |
836
799
  +======================================================================================+
837
- | RateLimiterRBACUpgradeableHandler | inflow | 555 | 0 | 0 |
800
+ | RateLimiterRBACUpgradeableHandler | inflow | 515 | 0 | 0 |
838
801
  |-----------------------------------+---------------------+-------+---------+----------|
839
- | RateLimiterRBACUpgradeableHandler | outflow | 544 | 0 | 0 |
802
+ | RateLimiterRBACUpgradeableHandler | outflow | 549 | 0 | 0 |
840
803
  |-----------------------------------+---------------------+-------+---------+----------|
841
- | RateLimiterRBACUpgradeableHandler | setConfig | 499 | 0 | 0 |
804
+ | RateLimiterRBACUpgradeableHandler | setConfig | 567 | 0 | 0 |
842
805
  |-----------------------------------+---------------------+-------+---------+----------|
843
- | RateLimiterRBACUpgradeableHandler | setState | 575 | 0 | 0 |
806
+ | RateLimiterRBACUpgradeableHandler | setState | 550 | 0 | 0 |
844
807
  |-----------------------------------+---------------------+-------+---------+----------|
845
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 555 | 0 | 0 |
808
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 558 | 0 | 0 |
846
809
  |-----------------------------------+---------------------+-------+---------+----------|
847
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 597 | 0 | 0 |
810
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 530 | 0 | 0 |
848
811
  |-----------------------------------+---------------------+-------+---------+----------|
849
- | RateLimiterRBACUpgradeableHandler | warp | 515 | 0 | 0 |
812
+ | RateLimiterRBACUpgradeableHandler | warp | 571 | 0 | 0 |
850
813
  ╰-----------------------------------+---------------------+-------+---------+----------╯
851
814
 
852
815
  Logs:
853
- Bound result 563
854
- Bound result 299444063094638688
855
- Bound result 9647485562296800769
856
- Bound result 220
857
- Bound result 1077
858
- Bound result 395
816
+ Bound result 1976
817
+ Bound result 9900000000002739854341
818
+ Bound result 9900000000000000004861
819
+ Bound result 3135
820
+ Bound result 1141
821
+ Bound result 1082
822
+ Bound result 1808
823
+ Bound result 565
824
+ Bound result 4382
825
+ Bound result 1538
859
826
  Bound result 1
860
- Bound result 9900000000000000000921
861
- Bound result 9909647485562296800769
862
- Bound result 4687
863
- Bound result 4578
864
- Bound result 0
865
- Bound result 49462664087622
866
- Bound result 59
867
- Bound result 1725540767
868
- Bound result 6775337674500201682265
869
- Bound result 989
870
- Bound result 8536
871
- Bound result 3343
827
+ Bound result 3218
828
+ Bound result 3500
829
+ Bound result 695283524515289737
830
+ Bound result 154
831
+ Bound result 2703
832
+ Bound result 1980
833
+ Bound result 4780480609335395172676
834
+ Bound result 8151
872
835
 
873
- Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.16s (8.01s CPU time)
836
+ Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.21s (7.53s CPU time)
874
837
 
875
- Ran 47 tests for test/PauseByIDRBACUpgradeable.t.sol:PauseByIDRBACUpgradeableTest
876
- [PASS] test_assertNotPaused_Revert_DefaultPaused() (gas: 43478)
877
- [PASS] test_assertNotPaused_Revert_SpecificPaused() (gas: 46209)
878
- [PASS] test_assertNotPaused_Success() (gas: 14891)
879
- [PASS] test_defaultPause_AffectsMultipleIDs() (gas: 55680)
880
- [PASS] test_defaultPaused_InitialState() (gas: 15572)
881
- [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 18031)
882
- [PASS] test_isPaused_Default() (gas: 47316)
883
- [PASS] test_isPaused_InitialState() (gas: 22172)
884
- [PASS] test_isPaused_MultipleIDs() (gas: 80142)
885
- [PASS] test_isPaused_Override() (gas: 75171)
886
- [PASS] test_isPaused_Specific() (gas: 50105)
887
- [PASS] test_isPaused_SpecificDisabled() (gas: 55561)
888
- [PASS] test_pauseConfig() (gas: 51028)
889
- [PASS] test_roleManagement_grantAndRevoke() (gas: 172245)
890
- [PASS] test_setDefaultPaused() (gas: 42196)
891
- [PASS] test_setDefaultPaused_Fuzz(bool) (runs: 1000, μ: 30352, ~: 18826)
892
- [PASS] test_setDefaultPaused_Idempotent_InitialState_Reverts() (gas: 20523)
893
- [PASS] test_setDefaultPaused_Idempotent_Reverts() (gas: 41737)
894
- [PASS] test_setDefaultPaused_Revert_Unauthorized() (gas: 20560)
895
- [PASS] test_setDefaultPaused_Success() (gas: 40744)
896
- [PASS] test_setPaused() (gas: 48361)
897
- [PASS] test_setPaused_DormantData() (gas: 295234)
898
- [PASS] test_setPaused_EmptyArray() (gas: 15702)
899
- [PASS] test_setPaused_EmptyArrayWithUnpauserRole() (gas: 100683)
900
- [PASS] test_setPaused_Fuzz(uint256,bool,bool) (runs: 1000, μ: 43802, ~: 48533)
901
- [PASS] test_setPaused_Fuzz_EffectiveStateRoleCheck(bool,bool,bool) (runs: 1000, μ: 223285, ~: 219722)
902
- [PASS] test_setPaused_Revert_EmptyArrayUnauthorized() (gas: 23131)
903
- [PASS] test_setPaused_Revert_MixedBatchWithDisabledConfigs_NeedsBothRoles() (gas: 132176)
904
- [PASS] test_setPaused_Revert_PauserCannotCauseEffectiveUnpause() (gas: 107518)
905
- [PASS] test_setPaused_Revert_Unauthorized() (gas: 24037)
906
- [PASS] test_setPaused_Revert_UnpauserCannotCauseEffectivePause() (gas: 130805)
907
- [PASS] test_setPaused_Success() (gas: 45897)
908
- [PASS] test_setPaused_Success_Batch() (gas: 345312)
909
- [PASS] test_setPaused_Success_EdgeCase_IDMaxUint256() (gas: 45858)
910
- [PASS] test_setPaused_Success_EdgeCase_IDZero() (gas: 45875)
911
- [PASS] test_setPaused_Success_MixedBatchWithDisabledConfigs_BothRoles() (gas: 241273)
912
- [PASS] test_setPaused_Success_PauserCanSetDisabledWhenDefaultPaused() (gas: 133457)
913
- [PASS] test_setPaused_Success_Toggle() (gas: 58022)
914
- [PASS] test_setPaused_Success_UnpauserCanSetDisabledWhenDefaultUnpaused() (gas: 130070)
915
- [PASS] test_specificOverridesDefault_Fuzz(bool,bool) (runs: 1000, μ: 62364, ~: 50341)
916
- [PASS] test_storageHash() (gas: 3392)
917
- [PASS] test_whenNotPaused_Revert_DefaultPaused() (gas: 47171)
918
- [PASS] test_whenNotPaused_Revert_SpecificPaused() (gas: 49932)
919
- [PASS] test_whenNotPaused_Success() (gas: 41299)
920
- [PASS] test_whenNotPaused_Success_SpecificUnpaused() (gas: 94341)
921
- [PASS] test_whenNotPaused_WithReturnValue() (gas: 17859)
922
- [PASS] test_whenNotPaused_WithReturnValue_Reverts() (gas: 46165)
923
- Suite result: ok. 47 passed; 0 failed; 0 skipped; finished in 1.23s (700.81ms CPU time)
924
-
925
- Ran 8 tests for test/RateLimiterRBACUpgradeableInvariant.t.sol:RateLimiterRBACUpgradeableInvariantGlobalStateTest
838
+ Ran 8 tests for test/RateLimiterRBACUpgradeableInvariant.t.sol:RateLimiterRBACUpgradeableInvariantTest
926
839
  [PASS] invariant_AvailableConsistent() (runs: 256, calls: 3840, reverts: 0)
927
840
 
928
841
  ╭-----------------------------------+---------------------+-------+---------+----------╮
929
842
  | Contract | Selector | Calls | Reverts | Discards |
930
843
  +======================================================================================+
931
- | RateLimiterRBACUpgradeableHandler | inflow | 525 | 0 | 0 |
844
+ | RateLimiterRBACUpgradeableHandler | inflow | 577 | 0 | 0 |
932
845
  |-----------------------------------+---------------------+-------+---------+----------|
933
- | RateLimiterRBACUpgradeableHandler | outflow | 595 | 0 | 0 |
846
+ | RateLimiterRBACUpgradeableHandler | outflow | 573 | 0 | 0 |
934
847
  |-----------------------------------+---------------------+-------+---------+----------|
935
- | RateLimiterRBACUpgradeableHandler | setConfig | 565 | 0 | 0 |
848
+ | RateLimiterRBACUpgradeableHandler | setConfig | 525 | 0 | 0 |
936
849
  |-----------------------------------+---------------------+-------+---------+----------|
937
- | RateLimiterRBACUpgradeableHandler | setState | 546 | 0 | 0 |
850
+ | RateLimiterRBACUpgradeableHandler | setState | 554 | 0 | 0 |
938
851
  |-----------------------------------+---------------------+-------+---------+----------|
939
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 568 | 0 | 0 |
852
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 537 | 0 | 0 |
940
853
  |-----------------------------------+---------------------+-------+---------+----------|
941
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 513 | 0 | 0 |
854
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 544 | 0 | 0 |
942
855
  |-----------------------------------+---------------------+-------+---------+----------|
943
- | RateLimiterRBACUpgradeableHandler | warp | 528 | 0 | 0 |
856
+ | RateLimiterRBACUpgradeableHandler | warp | 530 | 0 | 0 |
944
857
  ╰-----------------------------------+---------------------+-------+---------+----------╯
945
858
 
946
859
  Logs:
947
- Bound result 15756410177388
948
- Bound result 10339
949
- Bound result 2112
950
- Bound result 3480
951
- Bound result 1
952
- Bound result 680843945370168292307
953
- Bound result 4323140131840525635383
954
- Bound result 8523
955
- Bound result 11
956
- Bound result 9900000007288840234757
957
- Bound result 6914264337593535947490
958
- Bound result 2968
959
- Bound result 1013
960
- Bound result 534
961
- Bound result 6816340990616135322902
962
- Bound result 3154640558
963
- Bound result 1
964
- Bound result 246495975683007979715
965
- Bound result 1936
966
- Bound result 5385652018671513
967
- Bound result 0
860
+ Bound result 151682778951939441208
861
+ Bound result 2662
862
+ Bound result 1276903905756972045818
863
+ Bound result 2993501870104115
864
+ Bound result 8822
865
+ Bound result 8360
968
866
  Bound result 0
969
- Bound result 6330922687912207087236
970
- Bound result 377573854
971
- Bound result 6047
867
+ Bound result 1424
868
+ Bound result 1489014834153439195724
869
+ Bound result 51
870
+ Bound result 1
871
+ Bound result 1008
872
+ Bound result 1098973056063784337
873
+ Bound result 514264337593504336252
874
+ Bound result 2
875
+ Bound result 21369408
876
+ Bound result 9640448787159967756
877
+ Bound result 94
972
878
 
973
879
  [PASS] invariant_ConfigBitmapConsistency() (runs: 256, calls: 3840, reverts: 0)
974
880
 
975
881
  ╭-----------------------------------+---------------------+-------+---------+----------╮
976
882
  | Contract | Selector | Calls | Reverts | Discards |
977
883
  +======================================================================================+
978
- | RateLimiterRBACUpgradeableHandler | inflow | 559 | 0 | 0 |
884
+ | RateLimiterRBACUpgradeableHandler | inflow | 574 | 0 | 0 |
979
885
  |-----------------------------------+---------------------+-------+---------+----------|
980
- | RateLimiterRBACUpgradeableHandler | outflow | 574 | 0 | 0 |
886
+ | RateLimiterRBACUpgradeableHandler | outflow | 539 | 0 | 0 |
981
887
  |-----------------------------------+---------------------+-------+---------+----------|
982
- | RateLimiterRBACUpgradeableHandler | setConfig | 553 | 0 | 0 |
888
+ | RateLimiterRBACUpgradeableHandler | setConfig | 520 | 0 | 0 |
983
889
  |-----------------------------------+---------------------+-------+---------+----------|
984
- | RateLimiterRBACUpgradeableHandler | setState | 549 | 0 | 0 |
890
+ | RateLimiterRBACUpgradeableHandler | setState | 568 | 0 | 0 |
985
891
  |-----------------------------------+---------------------+-------+---------+----------|
986
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 547 | 0 | 0 |
892
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 569 | 0 | 0 |
987
893
  |-----------------------------------+---------------------+-------+---------+----------|
988
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 548 | 0 | 0 |
894
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 554 | 0 | 0 |
989
895
  |-----------------------------------+---------------------+-------+---------+----------|
990
- | RateLimiterRBACUpgradeableHandler | warp | 510 | 0 | 0 |
896
+ | RateLimiterRBACUpgradeableHandler | warp | 516 | 0 | 0 |
991
897
  ╰-----------------------------------+---------------------+-------+---------+----------╯
992
898
 
993
899
  Logs:
994
- Bound result 478
995
- Bound result 2242
996
- Bound result 160986979834129688
997
- Bound result 241439219
998
- Bound result 78822295317
999
- Bound result 270
1000
- Bound result 7514
1001
- Bound result 8616
1002
- Bound result 314
1003
- Bound result 2951
1004
- Bound result 663714114
1005
- Bound result 287
1006
- Bound result 827780903048172113294
1007
- Bound result 1919023671891984016484
1008
- Bound result 412
1009
- Bound result 9063
1010
- Bound result 5858
1011
- Bound result 204
1012
- Bound result 9900027463045794647316
1013
- Bound result 9900000000000000005906
1014
- Bound result 1494
1015
- Bound result 7445
900
+ Bound result 9900000000005213095882
901
+ Bound result 9900000000028674913627
902
+ Bound result 10
903
+ Bound result 214
904
+ Bound result 9900000000000000000057
905
+ Bound result 9900000000000000007156
906
+ Bound result 15
907
+ Bound result 837
908
+ Bound result 9900447468623958583769
909
+ Bound result 2547688749660059110349
910
+ Bound result 9340
911
+ Bound result 374
912
+ Bound result 9900000000000000006769
913
+ Bound result 3809390487600928818124
914
+ Bound result 6660
915
+ Bound result 295
916
+ Bound result 9040
917
+ Bound result 9900000000000000003213
918
+ Bound result 9900000000000000000719
919
+ Bound result 6028
920
+ Bound result 2469
921
+ Bound result 712
922
+ Bound result 789
923
+ Bound result 339
924
+ Bound result 3572
925
+ Bound result 17561954285545583716
926
+ Bound result 9900000000119889214994
927
+ Bound result 9900000000000000000024
928
+ Bound result 12
929
+ Bound result 7726
930
+ Bound result 5034
1016
931
 
1017
932
  [PASS] invariant_ConfigConsistency() (runs: 256, calls: 3840, reverts: 0)
1018
933
 
1019
934
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1020
935
  | Contract | Selector | Calls | Reverts | Discards |
1021
936
  +======================================================================================+
1022
- | RateLimiterRBACUpgradeableHandler | inflow | 570 | 0 | 0 |
937
+ | RateLimiterRBACUpgradeableHandler | inflow | 571 | 0 | 0 |
1023
938
  |-----------------------------------+---------------------+-------+---------+----------|
1024
- | RateLimiterRBACUpgradeableHandler | outflow | 524 | 0 | 0 |
939
+ | RateLimiterRBACUpgradeableHandler | outflow | 580 | 0 | 0 |
1025
940
  |-----------------------------------+---------------------+-------+---------+----------|
1026
941
  | RateLimiterRBACUpgradeableHandler | setConfig | 543 | 0 | 0 |
1027
942
  |-----------------------------------+---------------------+-------+---------+----------|
1028
- | RateLimiterRBACUpgradeableHandler | setState | 562 | 0 | 0 |
943
+ | RateLimiterRBACUpgradeableHandler | setState | 530 | 0 | 0 |
1029
944
  |-----------------------------------+---------------------+-------+---------+----------|
1030
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 510 | 0 | 0 |
945
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 555 | 0 | 0 |
1031
946
  |-----------------------------------+---------------------+-------+---------+----------|
1032
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 572 | 0 | 0 |
947
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 503 | 0 | 0 |
1033
948
  |-----------------------------------+---------------------+-------+---------+----------|
1034
- | RateLimiterRBACUpgradeableHandler | warp | 559 | 0 | 0 |
949
+ | RateLimiterRBACUpgradeableHandler | warp | 558 | 0 | 0 |
1035
950
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1036
951
 
1037
952
  Logs:
1038
- Bound result 724
1039
- Bound result 2464
953
+ Bound result 7476
954
+ Bound result 131
955
+ Bound result 10031
1040
956
  Bound result 0
1041
- Bound result 9900000000461781101632
1042
- Bound result 9900000000064315383611
1043
- Bound result 1756
1044
- Bound result 2234
1045
- Bound result 544
1046
- Bound result 1435
1047
- Bound result 2951
1048
- Bound result 1
1049
- Bound result 4
1050
- Bound result 4400385757059352780686
1051
- Bound result 9387
1052
- Bound result 9054006455419932287858
1053
- Bound result 9900000000005272335002
1054
- Bound result 9900000014560907777160
1055
- Bound result 10
1056
- Bound result 1192
1057
- Bound result 9900000000000483829832
1058
- Bound result 100000000000000000002
1059
- Bound result 10
1060
- Bound result 8972
957
+ Bound result 249
958
+ Bound result 684425853285779546398
959
+ Bound result 24
960
+ Bound result 1320
961
+ Bound result 1895
962
+ Bound result 169
963
+ Bound result 1668844
964
+ Bound result 1724764869414075024727
965
+ Bound result 222
1061
966
 
1062
967
  [PASS] invariant_ExemptionConsistency() (runs: 256, calls: 3840, reverts: 0)
1063
968
 
1064
969
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1065
970
  | Contract | Selector | Calls | Reverts | Discards |
1066
971
  +======================================================================================+
1067
- | RateLimiterRBACUpgradeableHandler | inflow | 577 | 0 | 0 |
972
+ | RateLimiterRBACUpgradeableHandler | inflow | 553 | 0 | 0 |
1068
973
  |-----------------------------------+---------------------+-------+---------+----------|
1069
- | RateLimiterRBACUpgradeableHandler | outflow | 510 | 0 | 0 |
974
+ | RateLimiterRBACUpgradeableHandler | outflow | 577 | 0 | 0 |
1070
975
  |-----------------------------------+---------------------+-------+---------+----------|
1071
- | RateLimiterRBACUpgradeableHandler | setConfig | 554 | 0 | 0 |
976
+ | RateLimiterRBACUpgradeableHandler | setConfig | 514 | 0 | 0 |
1072
977
  |-----------------------------------+---------------------+-------+---------+----------|
1073
- | RateLimiterRBACUpgradeableHandler | setState | 544 | 0 | 0 |
978
+ | RateLimiterRBACUpgradeableHandler | setState | 554 | 0 | 0 |
1074
979
  |-----------------------------------+---------------------+-------+---------+----------|
1075
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 558 | 0 | 0 |
980
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 521 | 0 | 0 |
1076
981
  |-----------------------------------+---------------------+-------+---------+----------|
1077
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 584 | 0 | 0 |
982
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 570 | 0 | 0 |
1078
983
  |-----------------------------------+---------------------+-------+---------+----------|
1079
- | RateLimiterRBACUpgradeableHandler | warp | 513 | 0 | 0 |
984
+ | RateLimiterRBACUpgradeableHandler | warp | 551 | 0 | 0 |
1080
985
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1081
986
 
1082
987
  Logs:
1083
- Bound result 1695915
1084
- Bound result 278190289695296
1085
- Bound result 9900000000000002261916
1086
- Bound result 9967054382252403211121
1087
- Bound result 8862
1088
- Bound result 2443
1089
- Bound result 10264
1090
- Bound result 7395
1091
- Bound result 1311
1092
- Bound result 0
1093
- Bound result 9900000000000000007499
1094
- Bound result 9900000000000000008484
1095
- Bound result 7183
1096
- Bound result 9765
1097
- Bound result 2737072850
1098
- Bound result 116713981149828655699
1099
- Bound result 9900000000000000006389
1100
- Bound result 9900000000000000001763
1101
- Bound result 478
1102
- Bound result 2525
1103
- Bound result 64994500504
1104
- Bound result 219
1105
- Bound result 1
1106
- Bound result 3193
988
+ Bound result 895
989
+ Bound result 2457592463101872272094
990
+ Bound result 9900000000000000001377
991
+ Bound result 4351
992
+ Bound result 7182
993
+ Bound result 485
994
+ Bound result 1058825232582377226
995
+ Bound result 1777690607061088807993
996
+ Bound result 3687
997
+ Bound result 199
998
+ Bound result 66076353
999
+ Bound result 5226
1000
+ Bound result 4470929879607923719828
1001
+ Bound result 1436
1002
+ Bound result 143
1003
+ Bound result 9900000000000000139737
1004
+ Bound result 6914264337593535947489
1005
+ Bound result 9995
1006
+ Bound result 3993
1007
+ Bound result 4
1008
+ Bound result 17734755
1107
1009
 
1108
1010
  [PASS] invariant_GhostConsistency() (runs: 256, calls: 3840, reverts: 0)
1109
1011
 
1110
1012
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1111
1013
  | Contract | Selector | Calls | Reverts | Discards |
1112
1014
  +======================================================================================+
1113
- | RateLimiterRBACUpgradeableHandler | inflow | 555 | 0 | 0 |
1015
+ | RateLimiterRBACUpgradeableHandler | inflow | 549 | 0 | 0 |
1114
1016
  |-----------------------------------+---------------------+-------+---------+----------|
1115
- | RateLimiterRBACUpgradeableHandler | outflow | 544 | 0 | 0 |
1017
+ | RateLimiterRBACUpgradeableHandler | outflow | 562 | 0 | 0 |
1116
1018
  |-----------------------------------+---------------------+-------+---------+----------|
1117
- | RateLimiterRBACUpgradeableHandler | setConfig | 572 | 0 | 0 |
1019
+ | RateLimiterRBACUpgradeableHandler | setConfig | 562 | 0 | 0 |
1118
1020
  |-----------------------------------+---------------------+-------+---------+----------|
1119
- | RateLimiterRBACUpgradeableHandler | setState | 545 | 0 | 0 |
1021
+ | RateLimiterRBACUpgradeableHandler | setState | 505 | 0 | 0 |
1120
1022
  |-----------------------------------+---------------------+-------+---------+----------|
1121
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 531 | 0 | 0 |
1023
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 555 | 0 | 0 |
1122
1024
  |-----------------------------------+---------------------+-------+---------+----------|
1123
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 549 | 0 | 0 |
1025
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 531 | 0 | 0 |
1124
1026
  |-----------------------------------+---------------------+-------+---------+----------|
1125
- | RateLimiterRBACUpgradeableHandler | warp | 544 | 0 | 0 |
1027
+ | RateLimiterRBACUpgradeableHandler | warp | 576 | 0 | 0 |
1126
1028
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1127
1029
 
1128
1030
  Logs:
1129
- Bound result 1284
1130
- Bound result 808
1131
- Bound result 5533
1132
- Bound result 759
1133
- Bound result 683
1134
- Bound result 1807
1135
- Bound result 14
1136
- Bound result 1531108174798942166340
1031
+ Bound result 876
1032
+ Bound result 1766
1033
+ Bound result 10075
1034
+ Bound result 0
1035
+ Bound result 121120430336020
1036
+ Bound result 17668799789
1037
+ Bound result 6
1137
1038
  Bound result 0
1138
- Bound result 91
1139
- Bound result 625761767
1140
- Bound result 9591
1141
- Bound result 454
1142
- Bound result 255278461221930126491
1143
- Bound result 1153
1144
- Bound result 241356
1145
- Bound result 221588701582452
1146
- Bound result 230
1039
+ Bound result 13548451959704
1040
+ Bound result 326091433760085296944
1041
+ Bound result 6914264337593535947488
1042
+ Bound result 9900000000000000226268
1043
+ Bound result 9505
1044
+ Bound result 14
1045
+ Bound result 6123
1046
+ Bound result 57
1047
+ Bound result 1698
1147
1048
 
1148
1049
  [PASS] invariant_LastUpdatedNotFuture() (runs: 256, calls: 3840, reverts: 0)
1149
1050
 
1150
1051
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1151
1052
  | Contract | Selector | Calls | Reverts | Discards |
1152
1053
  +======================================================================================+
1153
- | RateLimiterRBACUpgradeableHandler | inflow | 529 | 0 | 0 |
1054
+ | RateLimiterRBACUpgradeableHandler | inflow | 539 | 0 | 0 |
1154
1055
  |-----------------------------------+---------------------+-------+---------+----------|
1155
- | RateLimiterRBACUpgradeableHandler | outflow | 587 | 0 | 0 |
1056
+ | RateLimiterRBACUpgradeableHandler | outflow | 535 | 0 | 0 |
1156
1057
  |-----------------------------------+---------------------+-------+---------+----------|
1157
- | RateLimiterRBACUpgradeableHandler | setConfig | 512 | 0 | 0 |
1058
+ | RateLimiterRBACUpgradeableHandler | setConfig | 549 | 0 | 0 |
1158
1059
  |-----------------------------------+---------------------+-------+---------+----------|
1159
- | RateLimiterRBACUpgradeableHandler | setState | 548 | 0 | 0 |
1060
+ | RateLimiterRBACUpgradeableHandler | setState | 584 | 0 | 0 |
1160
1061
  |-----------------------------------+---------------------+-------+---------+----------|
1161
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 588 | 0 | 0 |
1062
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 566 | 0 | 0 |
1162
1063
  |-----------------------------------+---------------------+-------+---------+----------|
1163
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 553 | 0 | 0 |
1064
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 533 | 0 | 0 |
1164
1065
  |-----------------------------------+---------------------+-------+---------+----------|
1165
- | RateLimiterRBACUpgradeableHandler | warp | 523 | 0 | 0 |
1066
+ | RateLimiterRBACUpgradeableHandler | warp | 534 | 0 | 0 |
1166
1067
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1167
1068
 
1168
1069
  Logs:
1169
- Bound result 276034665707622
1170
- Bound result 514264337593543950334
1171
- Bound result 564822615475255625601
1172
- Bound result 9900068460829765944925
1070
+ Bound result 9900017952458027690513
1071
+ Bound result 8287091688005770826950
1173
1072
  Bound result 10
1174
- Bound result 9040
1175
- Bound result 157704379145375507296
1176
- Bound result 88994716493022
1177
- Bound result 1464
1178
- Bound result 11471
1179
- Bound result 9843
1180
- Bound result 4177296027574103048
1181
- Bound result 2788308075584169
1182
- Bound result 2
1183
- Bound result 8142
1184
- Bound result 496422074093579213392
1185
- Bound result 9900000000000244596958
1186
- Bound result 7561363661540362412279
1187
- Bound result 9051
1188
- Bound result 6241
1189
- Bound result 2004894859008475082132
1190
- Bound result 9900910754559575504675
1191
- Bound result 13
1192
- Bound result 529
1073
+ Bound result 9691
1074
+ Bound result 33760908301
1075
+ Bound result 13090047
1076
+ Bound result 55
1077
+ Bound result 0
1078
+ Bound result 6914264337593535947489
1079
+ Bound result 9900096052103092089140
1080
+ Bound result 3758
1081
+ Bound result 1437
1082
+ Bound result 663714115
1083
+ Bound result 2439649222
1084
+ Bound result 2733
1085
+ Bound result 0
1086
+ Bound result 9
1087
+ Bound result 9900000000000000000010
1088
+ Bound result 9900000068023548740028
1089
+ Bound result 6240
1090
+ Bound result 3344
1091
+ Bound result 5804090968050
1193
1092
 
1194
1093
  [PASS] invariant_PristineIdUntouched() (runs: 256, calls: 3840, reverts: 0)
1195
1094
 
1196
1095
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1197
1096
  | Contract | Selector | Calls | Reverts | Discards |
1198
1097
  +======================================================================================+
1199
- | RateLimiterRBACUpgradeableHandler | inflow | 493 | 0 | 0 |
1098
+ | RateLimiterRBACUpgradeableHandler | inflow | 520 | 0 | 0 |
1200
1099
  |-----------------------------------+---------------------+-------+---------+----------|
1201
- | RateLimiterRBACUpgradeableHandler | outflow | 567 | 0 | 0 |
1100
+ | RateLimiterRBACUpgradeableHandler | outflow | 559 | 0 | 0 |
1202
1101
  |-----------------------------------+---------------------+-------+---------+----------|
1203
- | RateLimiterRBACUpgradeableHandler | setConfig | 562 | 0 | 0 |
1102
+ | RateLimiterRBACUpgradeableHandler | setConfig | 532 | 0 | 0 |
1204
1103
  |-----------------------------------+---------------------+-------+---------+----------|
1205
- | RateLimiterRBACUpgradeableHandler | setState | 567 | 0 | 0 |
1104
+ | RateLimiterRBACUpgradeableHandler | setState | 576 | 0 | 0 |
1206
1105
  |-----------------------------------+---------------------+-------+---------+----------|
1207
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 538 | 0 | 0 |
1106
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 529 | 0 | 0 |
1208
1107
  |-----------------------------------+---------------------+-------+---------+----------|
1209
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 548 | 0 | 0 |
1108
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 583 | 0 | 0 |
1210
1109
  |-----------------------------------+---------------------+-------+---------+----------|
1211
- | RateLimiterRBACUpgradeableHandler | warp | 565 | 0 | 0 |
1110
+ | RateLimiterRBACUpgradeableHandler | warp | 541 | 0 | 0 |
1212
1111
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1213
1112
 
1214
1113
  Logs:
1215
- Bound result 1639907385012838898591
1216
- Bound result 8710793500579578103354
1217
- Bound result 8930
1218
- Bound result 5708
1219
- Bound result 9900000000014296949333
1220
- Bound result 9900000000000000000016
1221
- Bound result 37
1222
- Bound result 5249
1223
- Bound result 4100
1224
- Bound result 6853
1225
- Bound result 9900000000000000001081
1226
- Bound result 9900000000000000008720
1227
- Bound result 637
1228
- Bound result 9638
1229
- Bound result 24
1230
- Bound result 8780606157464091061336
1231
- Bound result 210
1232
- Bound result 3840
1233
- Bound result 807154940103
1234
- Bound result 919319078899173501
1235
- Bound result 227884
1236
- Bound result 2396
1237
- Bound result 9900000000000000009735
1238
- Bound result 9900000000000000002565
1239
- Bound result 7902
1240
- Bound result 2193
1114
+ Bound result 9900000000000000005260
1115
+ Bound result 9900000000000000008020
1116
+ Bound result 1197
1117
+ Bound result 2154
1118
+ Bound result 3
1119
+ Bound result 593731
1120
+ Bound result 1
1121
+ Bound result 45737202793946167
1122
+ Bound result 10032
1123
+ Bound result 1
1124
+ Bound result 1750
1125
+ Bound result 1161
1126
+ Bound result 9901809734780428299969
1127
+ Bound result 9900000000000000141425
1128
+ Bound result 7273
1129
+ Bound result 10000
1130
+ Bound result 12828
1131
+ Bound result 9900000000000005431081
1132
+ Bound result 9900000000019871349026
1133
+ Bound result 10
1134
+ Bound result 2575
1241
1135
 
1242
1136
  [PASS] invariant_RevertConsistency() (runs: 256, calls: 3840, reverts: 0)
1243
1137
 
1244
1138
  ╭-----------------------------------+---------------------+-------+---------+----------╮
1245
1139
  | Contract | Selector | Calls | Reverts | Discards |
1246
1140
  +======================================================================================+
1247
- | RateLimiterRBACUpgradeableHandler | inflow | 515 | 0 | 0 |
1141
+ | RateLimiterRBACUpgradeableHandler | inflow | 591 | 0 | 0 |
1248
1142
  |-----------------------------------+---------------------+-------+---------+----------|
1249
- | RateLimiterRBACUpgradeableHandler | outflow | 509 | 0 | 0 |
1143
+ | RateLimiterRBACUpgradeableHandler | outflow | 542 | 0 | 0 |
1250
1144
  |-----------------------------------+---------------------+-------+---------+----------|
1251
- | RateLimiterRBACUpgradeableHandler | setConfig | 566 | 0 | 0 |
1145
+ | RateLimiterRBACUpgradeableHandler | setConfig | 556 | 0 | 0 |
1252
1146
  |-----------------------------------+---------------------+-------+---------+----------|
1253
- | RateLimiterRBACUpgradeableHandler | setState | 570 | 0 | 0 |
1147
+ | RateLimiterRBACUpgradeableHandler | setState | 542 | 0 | 0 |
1254
1148
  |-----------------------------------+---------------------+-------+---------+----------|
1255
- | RateLimiterRBACUpgradeableHandler | toggleExemption | 538 | 0 | 0 |
1149
+ | RateLimiterRBACUpgradeableHandler | toggleExemption | 519 | 0 | 0 |
1256
1150
  |-----------------------------------+---------------------+-------+---------+----------|
1257
- | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 550 | 0 | 0 |
1151
+ | RateLimiterRBACUpgradeableHandler | toggleGlobalDisable | 549 | 0 | 0 |
1258
1152
  |-----------------------------------+---------------------+-------+---------+----------|
1259
- | RateLimiterRBACUpgradeableHandler | warp | 592 | 0 | 0 |
1153
+ | RateLimiterRBACUpgradeableHandler | warp | 541 | 0 | 0 |
1260
1154
  ╰-----------------------------------+---------------------+-------+---------+----------╯
1261
1155
 
1262
1156
  Logs:
1263
- Bound result 1246
1264
- Bound result 9900000000000000008267
1265
- Bound result 9900000000000000007227
1266
- Bound result 2092
1267
- Bound result 1218
1268
- Bound result 5747629883115674161833
1269
- Bound result 9900000000000000000031
1270
- Bound result 100000000000000000001
1271
- Bound result 88
1272
- Bound result 52
1273
- Bound result 79
1274
- Bound result 851
1275
- Bound result 1414553418643056350
1276
- Bound result 180233191797656834267
1277
- Bound result 9
1278
- Bound result 6914264337593295862171
1279
- Bound result 411771209103
1280
- Bound result 912046796271351
1281
- Bound result 3711
1282
- Bound result 3480154038
1283
- Bound result 33
1157
+ Bound result 2287
1158
+ Bound result 1639805793218462478543
1159
+ Bound result 2488403
1160
+ Bound result 0
1161
+ Bound result 6914264337593535947491
1162
+ Bound result 8329126248925412494793
1163
+ Bound result 10
1164
+ Bound result 1844
1165
+ Bound result 24
1166
+ Bound result 1
1167
+ Bound result 916102954409750450050
1168
+ Bound result 727816287905
1169
+ Bound result 340
1170
+ Bound result 501800
1171
+ Bound result 6640
1284
1172
 
1285
- Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.30s (7.88s CPU time)
1173
+ Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.18s (7.63s CPU time)
1286
1174
 
1287
1175
  Ran 24 tests for test/FeeConfigRBACUpgradeable.t.sol:FeeConfigRBACUpgradeableTest
1288
1176
  [PASS] test_getAmountBeforeFee_BoundaryConditions() (gas: 51175)
1289
1177
  [PASS] test_getAmountBeforeFee_Default() (gas: 47637)
1290
- [PASS] test_getAmountBeforeFee_Fuzz(uint16,uint224) (runs: 1000, μ: 47612, ~: 48966)
1178
+ [PASS] test_getAmountBeforeFee_Fuzz(uint16,uint224) (runs: 1000, μ: 47252, ~: 48966)
1291
1179
  [PASS] test_getAmountBeforeFee_MaxBps() (gas: 47301)
1292
1180
  [PASS] test_getAmountBeforeFee_Rounding() (gas: 48148)
1293
1181
  [PASS] test_getAmountBeforeFee_Specific() (gas: 71482)
@@ -1296,60 +1184,78 @@ Ran 24 tests for test/FeeConfigRBACUpgradeable.t.sol:FeeConfigRBACUpgradeableTes
1296
1184
  [PASS] test_getAmountBeforeFee_ZeroBps() (gas: 22479)
1297
1185
  [PASS] test_getFee_BoundaryConditions() (gas: 75442)
1298
1186
  [PASS] test_getFee_Default() (gas: 43108)
1299
- [PASS] test_getFee_Fuzz(uint16,uint32,uint240) (runs: 1000, μ: 45620, ~: 47017)
1187
+ [PASS] test_getFee_Fuzz(uint16,uint32,uint240) (runs: 1000, μ: 45783, ~: 47017)
1300
1188
  [PASS] test_getFee_Rounding() (gas: 45449)
1301
1189
  [PASS] test_getFee_Specific() (gas: 66985)
1302
1190
  [PASS] test_getFee_SpecificDisabled() (gas: 66943)
1303
1191
  [PASS] test_setDefaultFeeBps() (gas: 42199)
1304
- [PASS] test_setDefaultFeeBps_Fuzz(uint16) (runs: 1000, μ: 35123, ~: 42268)
1192
+ [PASS] test_setDefaultFeeBps_Fuzz(uint16) (runs: 1000, μ: 35023, ~: 42268)
1305
1193
  [PASS] test_setDefaultFeeBps_RevertInvalid() (gas: 16371)
1306
1194
  [PASS] test_setDefaultFeeBps_Revert_Unauthorized() (gas: 20432)
1307
1195
  [PASS] test_setFeeBps() (gas: 77237)
1308
1196
  Logs:
1309
1197
  Bound result 500
1310
1198
 
1311
- [PASS] test_setFeeBps_Fuzz(uint16,uint32,uint16,bool) (runs: 1000, μ: 68898, ~: 77570)
1199
+ [PASS] test_setFeeBps_Fuzz(uint16,uint32,uint16,bool) (runs: 1000, μ: 68619, ~: 77570)
1312
1200
  [PASS] test_setFeeBps_RevertInvalid() (gas: 16575)
1313
1201
  [PASS] test_setFeeBps_Revert_Unauthorized() (gas: 20531)
1314
1202
  [PASS] test_storageHash() (gas: 3436)
1315
- Suite result: ok. 24 passed; 0 failed; 0 skipped; finished in 10.72s (693.82ms CPU time)
1203
+ Suite result: ok. 24 passed; 0 failed; 0 skipped; finished in 10.89s (614.76ms CPU time)
1316
1204
 
1317
- Ran 29 tests for test/AllowlistBaseUpgradeable.t.sol:AllowlistBaseUpgradeableTest
1318
- [PASS] test_SwitchModes_PreservesState() (gas: 186406)
1319
- [PASS] test_constructor_InitialMode() (gas: 15578)
1320
- [PASS] test_constructor_InitializeWhitelist() (gas: 1372960)
1321
- [PASS] test_isAllowlisted_Blacklist_Blacklisted() (gas: 122675)
1322
- [PASS] test_isAllowlisted_Blacklist_NotBlacklisted() (gas: 42920)
1323
- [PASS] test_isAllowlisted_Fuzz_Blacklist_Blacklisted(address) (runs: 1000, μ: 110088, ~: 110088)
1324
- [PASS] test_isAllowlisted_Fuzz_Blacklist_NotBlacklisted(address) (runs: 1000, μ: 40990, ~: 40990)
1325
- [PASS] test_isAllowlisted_Fuzz_Open(address) (runs: 1000, μ: 15761, ~: 15761)
1326
- [PASS] test_isAllowlisted_Fuzz_Whitelist_NotWhitelisted(address) (runs: 1000, μ: 41054, ~: 41054)
1327
- [PASS] test_isAllowlisted_Fuzz_Whitelist_Whitelisted(address) (runs: 1000, μ: 110030, ~: 110030)
1328
- [PASS] test_isAllowlisted_Open_AllAllowed() (gas: 25813)
1329
- [PASS] test_isAllowlisted_Whitelist_NotWhitelisted() (gas: 42962)
1330
- [PASS] test_isAllowlisted_Whitelist_Whitelisted() (gas: 122528)
1331
- [PASS] test_onlyAllowlisted_Blacklist_RevertIfBlacklisted() (gas: 121851)
1332
- [PASS] test_onlyAllowlisted_Open_AllAllowed() (gas: 22626)
1333
- [PASS] test_onlyAllowlisted_Whitelist_RevertIfNotWhitelisted() (gas: 119712)
1334
- [PASS] test_setBlacklisted_EmptyArray() (gas: 10967)
1335
- [PASS] test_setBlacklisted_MultipleUsers() (gas: 168334)
1336
- [PASS] test_setBlacklisted_RemoveFromBlacklist() (gas: 95066)
1337
- [PASS] test_setBlacklisted_Revert_AlreadyBlacklisted() (gas: 119566)
1338
- [PASS] test_setMode_Blacklist() (gas: 40021)
1339
- [PASS] test_setMode_MultipleChanges() (gas: 39734)
1340
- [PASS] test_setMode_RevertSameMode() (gas: 45674)
1341
- [PASS] test_setMode_Whitelist() (gas: 40108)
1342
- [PASS] test_setWhitelisted_EmptyArray() (gas: 10878)
1343
- [PASS] test_setWhitelisted_MultipleUsers() (gas: 168133)
1344
- [PASS] test_setWhitelisted_RemoveFromWhitelist() (gas: 94878)
1345
- [PASS] test_setWhitelisted_Revert_AlreadyWhitelisted() (gas: 119358)
1346
- [PASS] test_storageHash() (gas: 3458)
1347
- Suite result: ok. 29 passed; 0 failed; 0 skipped; finished in 10.72s (464.81ms CPU time)
1205
+ Ran 19 tests for test/PauseBaseUpgradeable.t.sol:PauseBaseUpgradeableTest
1206
+ [PASS] test_assertNotPaused_Fuzz(bool) (runs: 1000, μ: 25776, ~: 38584)
1207
+ [PASS] test_assertNotPaused_Revert_Paused() (gas: 38375)
1208
+ [PASS] test_assertNotPaused_Success() (gas: 12516)
1209
+ [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15725)
1210
+ [PASS] test_isPaused_InitialState() (gas: 15595)
1211
+ [PASS] test_pause() (gas: 39592)
1212
+ [PASS] test_setPaused_Fuzz(bool) (runs: 1000, μ: 28158, ~: 39861)
1213
+ [PASS] test_setPaused_Idempotent_InitialState_Reverts() (gas: 17914)
1214
+ [PASS] test_setPaused_Idempotent_Reverts() (gas: 38543)
1215
+ [PASS] test_setPaused_Success_ToggleMultipleTimes() (gas: 74144)
1216
+ [PASS] test_storageHash() (gas: 3414)
1217
+ [PASS] test_unpause() (gas: 31115)
1218
+ [PASS] test_whenNotPaused_Fuzz(bool) (runs: 1000, μ: 40486, ~: 42029)
1219
+ [PASS] test_whenNotPaused_Revert_Paused() (gas: 41855)
1220
+ [PASS] test_whenNotPaused_Revert_WithReturnValue() (gas: 38375)
1221
+ [PASS] test_whenNotPaused_Success() (gas: 38744)
1222
+ [PASS] test_whenNotPaused_Success_AfterUnpause() (gas: 48261)
1223
+ [PASS] test_whenNotPaused_Success_MultipleCalls() (gas: 56792)
1224
+ [PASS] test_whenNotPaused_WithReturnValue() (gas: 15624)
1225
+ Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 10.89s (223.17ms CPU time)
1226
+
1227
+ Ran 22 tests for test/FeeConfigBaseUpgradeable.t.sol:FeeConfigBaseUpgradeableTest
1228
+ [PASS] test_getAmountBeforeFee_BoundaryConditions() (gas: 48074)
1229
+ [PASS] test_getAmountBeforeFee_Default() (gas: 45067)
1230
+ [PASS] test_getAmountBeforeFee_Fuzz(uint16,uint224) (runs: 1000, μ: 44703, ~: 46317)
1231
+ [PASS] test_getAmountBeforeFee_MaxBps() (gas: 44658)
1232
+ [PASS] test_getAmountBeforeFee_Rounding() (gas: 45406)
1233
+ [PASS] test_getAmountBeforeFee_Specific() (gas: 68448)
1234
+ [PASS] test_getAmountBeforeFee_SpecificDisabled() (gas: 64007)
1235
+ [PASS] test_getAmountBeforeFee_ZeroAmount() (gas: 40642)
1236
+ [PASS] test_getAmountBeforeFee_ZeroBps() (gas: 22306)
1237
+ [PASS] test_getFee_BoundaryConditions() (gas: 71791)
1238
+ [PASS] test_getFee_Default() (gas: 40577)
1239
+ [PASS] test_getFee_Fuzz(uint16,uint32,uint240) (runs: 1000, μ: 43069, ~: 44486)
1240
+ [PASS] test_getFee_Rounding() (gas: 42835)
1241
+ [PASS] test_getFee_Specific() (gas: 63968)
1242
+ [PASS] test_getFee_SpecificDisabled() (gas: 63920)
1243
+ [PASS] test_setDefaultFeeBps() (gas: 39576)
1244
+ [PASS] test_setDefaultFeeBps_Fuzz(uint16) (runs: 1000, μ: 32384, ~: 39667)
1245
+ [PASS] test_setDefaultFeeBps_RevertInvalid() (gas: 13860)
1246
+ [PASS] test_setFeeBps() (gas: 73871)
1247
+ Logs:
1248
+ Bound result 500
1249
+
1250
+ [PASS] test_setFeeBps_Fuzz(uint16,uint32,uint16,bool) (runs: 1000, μ: 65917, ~: 74224)
1251
+ [PASS] test_setFeeBps_RevertInvalid() (gas: 14075)
1252
+ [PASS] test_storageHash() (gas: 3426)
1253
+ Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 10.89s (431.43ms CPU time)
1348
1254
 
1349
1255
  Ran 36 tests for test/EnumerableSetPagination.t.sol:EnumerableSetPaginationTest
1350
1256
  [PASS] test_address_paginate_AfterRemovingElements() (gas: 1136937)
1351
1257
  [PASS] test_address_paginate_EmptySet() (gas: 277856)
1352
- [PASS] test_address_paginate_Fuzz(uint256,uint256) (runs: 1000, μ: 770146, ~: 106794)
1258
+ [PASS] test_address_paginate_Fuzz(uint256,uint256) (runs: 1000, μ: 853034, ~: 330469)
1353
1259
  [PASS] test_address_paginate_LargeSet() (gas: 465360224)
1354
1260
  [PASS] test_address_paginate_LimitExceedsRemaining() (gas: 25775)
1355
1261
  [PASS] test_address_paginate_LimitExceedsTotal() (gas: 2837493)
@@ -1362,12 +1268,12 @@ Ran 36 tests for test/EnumerableSetPagination.t.sol:EnumerableSetPaginationTest
1362
1268
  [PASS] test_address_paginate_OffsetZero() (gas: 45775)
1363
1269
  [PASS] test_address_paginate_SequentialPagesCompleteSet() (gas: 3517742)
1364
1270
  [PASS] test_address_paginate_SingleElement() (gas: 344858)
1365
- [PASS] test_address_paginate_VaryingSize_Fuzz(uint8,uint256,uint256) (runs: 1000, μ: 11259615, ~: 10651761)
1271
+ [PASS] test_address_paginate_VaryingSize_Fuzz(uint8,uint256,uint256) (runs: 1000, μ: 11127624, ~: 10503557)
1366
1272
  [PASS] test_address_property_ConsecutivePagesNoOverlap() (gas: 297)
1367
1273
  [PASS] test_address_property_ReturnedLengthNeverExceedsLimit() (gas: 934858)
1368
1274
  [PASS] test_uint_paginate_AfterRemovingElements() (gas: 1121055)
1369
1275
  [PASS] test_uint_paginate_EmptySet() (gas: 266762)
1370
- [PASS] test_uint_paginate_Fuzz(uint256,uint256) (runs: 1000, μ: 845498, ~: 416396)
1276
+ [PASS] test_uint_paginate_Fuzz(uint256,uint256) (runs: 1000, μ: 732328, ~: 200117)
1371
1277
  [PASS] test_uint_paginate_LargeSet() (gas: 463783795)
1372
1278
  [PASS] test_uint_paginate_LimitExceedsRemaining() (gas: 25408)
1373
1279
  [PASS] test_uint_paginate_LimitExceedsTotal() (gas: 2748514)
@@ -1380,10 +1286,10 @@ Ran 36 tests for test/EnumerableSetPagination.t.sol:EnumerableSetPaginationTest
1380
1286
  [PASS] test_uint_paginate_OffsetZero() (gas: 44650)
1381
1287
  [PASS] test_uint_paginate_SequentialPagesCompleteSet() (gas: 3410721)
1382
1288
  [PASS] test_uint_paginate_SingleElement() (gas: 333617)
1383
- [PASS] test_uint_paginate_VaryingSize_Fuzz(uint8,uint256,uint256) (runs: 1000, μ: 11190881, ~: 10456685)
1289
+ [PASS] test_uint_paginate_VaryingSize_Fuzz(uint8,uint256,uint256) (runs: 1000, μ: 11227358, ~: 10488935)
1384
1290
  [PASS] test_uint_property_ConsecutivePagesNoOverlap() (gas: 3063089)
1385
1291
  [PASS] test_uint_property_ReturnedLengthNeverExceedsLimit() (gas: 896521)
1386
- Suite result: ok. 36 passed; 0 failed; 0 skipped; finished in 10.78s (25.49s CPU time)
1292
+ Suite result: ok. 36 passed; 0 failed; 0 skipped; finished in 11.04s (26.08s CPU time)
1387
1293
 
1388
- Ran 17 test suites in 10.81s (40.72s CPU time): 412 tests passed, 0 failed, 0 skipped (412 total tests)
1389
- ⏳ forge test: 24.037s
1294
+ Ran 17 test suites in 11.06s (51.96s CPU time): 412 tests passed, 0 failed, 0 skipped (412 total tests)
1295
+ ⏳ forge test: 25.645s