@layerzerolabs/oft-upgradeable-evm-contracts 0.2.100 → 0.2.102

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.
@@ -12,7 +12,7 @@
12
12
  ✅ forge-1.3.6-hardhat-2.26.3
13
13
  🔧 hardhat version: 2.26.3
14
14
  $ 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
15
- (node:159653) [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.
15
+ (node:150597) [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.
16
16
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
17
17
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
18
18
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -71,7 +71,7 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
71
71
 
72
72
 
73
73
  Successfully compiled 76 Solidity files
74
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 14.034s
74
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 11.416s
75
75
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
76
76
 
77
77
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -81,7 +81,7 @@ Successfully compiled 76 Solidity files
81
81
  ✅ forge-1.3.6-hardhat-2.26.3
82
82
  🔧 hardhat version: 2.26.3
83
83
  $ 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
84
- (node:163776) [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.
84
+ (node:153382) [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.
85
85
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
86
86
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
87
87
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -94,7 +94,7 @@ The zksolc compiler version in your Hardhat config file (1.3.22) is not the late
94
94
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
95
95
  Compiling 76 Solidity files
96
96
  Successfully compiled 76 Solidity files
97
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:39.920 (m:ss.mmm)
97
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:39.727 (m:ss.mmm)
98
98
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
99
99
 
100
100
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -104,7 +104,7 @@ Successfully compiled 76 Solidity files
104
104
  ✅ forge-1.3.6-hardhat-2.26.3
105
105
  🔧 hardhat version: 2.26.3
106
106
  $ 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
107
- (node:251958) [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.
107
+ (node:242897) [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.
108
108
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
109
109
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
110
110
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -166,4 +166,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
166
166
 
167
167
 
168
168
  Successfully compiled 76 Solidity files
169
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 37.500s
169
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 37.116s
@@ -448,53 +448,4 @@ test/OFTNativeExtendedRBAC.t.sol
448
448
  149:9 warning Check result of "send" call check-send-result
449
449
  155:5 warning Missing @notice tag in function 'test_send_Revert_FeeTransferFailed' use-natspec
450
450
  178:9 warning Check result of "send" call check-send-result
451
- 183:5 warning Missing @notice tag in function 'test_send' use-natspec
452
- 192:41 warning Check result of "send" call check-send-result
453
- 198:5 warning Missing @notice tag in function 'test_send_WithFee' use-natspec
454
- 211:41 warning Check result of "send" call check-send-result
455
- 220:5 warning Missing @notice tag in function 'test_send_Revert_IncorrectMessageValue_TooLow' use-natspec
456
- 238:9 warning Check result of "send" call check-send-result
457
- 241:5 warning Missing @notice tag in function 'test_send_Revert_IncorrectMessageValue_TooHigh' use-natspec
458
- 259:9 warning Check result of "send" call check-send-result
459
- 262:5 warning Missing @notice tag in function 'test_send_Revert_IncorrectMessageValue_ZeroValue' use-natspec
460
- 274:9 warning Check result of "send" call check-send-result
461
- 279:5 warning Missing @notice tag in function 'test_credit_Revert_CreditFailed' use-natspec
462
- 297:5 warning Missing @notice tag in function 'test_token' use-natspec
463
- 301:5 warning Missing @notice tag in function 'test_approvalRequired' use-natspec
464
- 310:5 warning Missing @notice tag in function 'test_send_Revert_MsgInspection' use-natspec
465
- 328:9 warning Check result of "send" call check-send-result
466
-
467
- test/shared/OFTExtendedRBACTestBase.sol
468
- 25:1 warning Missing @title tag in contract 'IOFTExtendedHarness' use-natspec
469
- 25:1 warning Missing @author tag in contract 'IOFTExtendedHarness' use-natspec
470
- 26:5 warning Missing @notice tag in function 'debit' use-natspec
471
- 26:5 warning Missing @param tag in function 'debit' use-natspec
472
- 26:5 warning Mismatch in @param names for function 'debit'. Expected: [_from, _amountLD, _minAmountLD, _dstEid], Found: [] use-natspec
473
- 26:5 warning Missing @return tag in function 'debit' use-natspec
474
- 26:5 warning Mismatch in @return names for function 'debit'. Expected: [amountSentLD, amountReceivedLD], Found: [] use-natspec
475
- 33:5 warning Missing @notice tag in function 'credit' use-natspec
476
- 33:5 warning Missing @param tag in function 'credit' use-natspec
477
- 33:5 warning Mismatch in @param names for function 'credit'. Expected: [_to, _amountLD, _srcEid], Found: [] use-natspec
478
- 33:5 warning Missing @return tag in function 'credit' use-natspec
479
- 33:5 warning Mismatch in @return names for function 'credit'. Expected: [amountReceivedLD], Found: [] use-natspec
480
- 41:1 warning Missing @title tag in contract 'OFTExtendedRBACTestBase' use-natspec
481
- 41:1 warning Missing @author tag in contract 'OFTExtendedRBACTestBase' use-natspec
482
- 42:5 warning Explicitly mark visibility of state state-visibility
483
- 44:5 warning Explicitly mark visibility of state state-visibility
484
- 45:5 warning Explicitly mark visibility of state state-visibility
485
- 46:5 warning Explicitly mark visibility of state state-visibility
486
- 48:5 warning Explicitly mark visibility of state state-visibility
487
- 49:5 warning Explicitly mark visibility of state state-visibility
488
- 50:5 warning Explicitly mark visibility of state state-visibility
489
- 66:5 warning Missing @return tag in function '_adapter' use-natspec
490
- 66:5 warning Mismatch in @return count for function '_adapter'. Expected: 1, Found: 0 use-natspec
491
- 72:5 warning Missing @param tag in function '_fundForDebit' use-natspec
492
- 72:5 warning Mismatch in @param names for function '_fundForDebit'. Expected: [_amount], Found: [] use-natspec
493
- 78:5 warning Missing @param tag in function '_fundAdapterForCredit' use-natspec
494
- 78:5 warning Mismatch in @param names for function '_fundAdapterForCredit'. Expected: [_amount], Found: [] use-natspec
495
- 84:5 warning Missing @param tag in function '_readBalance' use-natspec
496
- 84:5 warning Mismatch in @param names for function '_readBalance'. Expected: [_account], Found: [] use-natspec
497
- 84:5 warning Missing @return tag in function '_readBalance' use-natspec
498
- 84:5 warning Mismatch in @return count for function '_readBalance'. Expected: 1, Found: 0 use-natspec
499
- 89:5 warning Missing @return tag in function '_harness' use-natspec
500
- 89:5 warning Mismatch in @return count for function '_harness'. Expected: 1, Found: 0
451
+ 183:5 warning Missing @notice tag in function 'test_send'
@@ -5,7 +5,7 @@
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:530836) [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:562269) [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)
@@ -13,125 +13,57 @@ To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-in
13
13
  👤 Running container as UID:GID 1001:1001
14
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/apps/oft-app/contracts/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
15
15
  Compiling 185 files with Solc 0.8.22
16
- Solc 0.8.22 finished in 58.92s
16
+ Solc 0.8.22 finished in 57.30s
17
17
  Compiler run successful!
18
18
 
19
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
20
- [PASS] test_credit() (gas: 89874)
21
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93151, ~: 93306)
22
- [PASS] test_debit() (gas: 98332)
23
- [PASS] test_debit_Dust() (gas: 139763)
24
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142536, ~: 143477)
25
- [PASS] test_debit_PushesFees() (gas: 165812)
26
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
27
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
28
- [PASS] test_debit_WithFee() (gas: 165286)
29
- [PASS] test_debit_WithFee_Dust() (gas: 165900)
30
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168791, ~: 171220)
31
- [PASS] test_initialize() (gas: 24722)
32
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
33
- [PASS] test_pause_unpause() (gas: 130472)
34
- [PASS] test_quoteOFT() (gas: 70712)
35
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
36
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
37
- [PASS] test_quoteOFT_Paused() (gas: 56570)
38
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
39
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
40
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200497, ~: 200315)
41
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
42
- [PASS] test_rateLimit_Inflow() (gas: 108739)
43
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
44
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
45
- [PASS] test_send() (gas: 400527)
46
- [PASS] test_send_Revert_MsgInspection() (gas: 308880)
47
- [PASS] test_send_WithFee() (gas: 477358)
48
- [PASS] test_setFeeDeposit() (gas: 28359)
49
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
50
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38856, ~: 38967)
51
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 781.54ms (2.81s CPU time)
52
-
53
- Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
54
- [PASS] test_credit() (gas: 89871)
55
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93141, ~: 93303)
56
- [PASS] test_debit() (gas: 98327)
57
- [PASS] test_debit_Dust() (gas: 141836)
58
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144841, ~: 145461)
59
- [PASS] test_debit_PushesFees() (gas: 167796)
60
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
61
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
62
- [PASS] test_debit_WithFee() (gas: 165270)
63
- [PASS] test_debit_WithFee_Dust() (gas: 167884)
64
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170976, ~: 173204)
19
+ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
20
+ [PASS] test_credit() (gas: 89873)
21
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92998, ~: 93305)
22
+ [PASS] test_debit() (gas: 120710)
23
+ [PASS] test_debit_Dust() (gas: 143616)
24
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145948, ~: 146486)
25
+ [PASS] test_debit_PushesFees() (gas: 164384)
26
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
27
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
28
+ [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
29
+ [PASS] test_debit_WithFee() (gas: 166449)
30
+ [PASS] test_debit_WithFee_Dust() (gas: 164455)
31
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166967, ~: 168645)
65
32
  [PASS] test_initialize() (gas: 24700)
66
33
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
67
- [PASS] test_pause_unpause() (gas: 132067)
34
+ [PASS] test_pause_unpause() (gas: 151598)
68
35
  [PASS] test_quoteOFT() (gas: 70712)
69
36
  [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
70
37
  [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
71
38
  [PASS] test_quoteOFT_Paused() (gas: 56570)
72
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
73
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
74
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202493, ~: 202299)
39
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
40
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
41
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192056, ~: 191921)
75
42
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
76
- [PASS] test_rateLimit_Inflow() (gas: 108824)
77
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
78
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
79
- [PASS] test_send() (gas: 421733)
80
- [PASS] test_send_Revert_MsgInspection() (gas: 310849)
81
- [PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
82
- [PASS] test_send_WithFee() (gas: 493959)
83
- [PASS] test_setFeeDeposit() (gas: 28445)
84
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
85
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38981, ~: 39034)
86
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 787.76ms (2.22s CPU time)
87
-
88
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
89
- [PASS] test_credit() (gas: 89871)
90
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93232, ~: 93303)
91
- [PASS] test_debit() (gas: 98327)
92
- [PASS] test_debit_Dust() (gas: 139747)
93
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142803, ~: 143461)
94
- [PASS] test_debit_PushesFees() (gas: 165796)
95
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
96
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
97
- [PASS] test_debit_WithFee() (gas: 165270)
98
- [PASS] test_debit_WithFee_Dust() (gas: 165884)
99
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168918, ~: 171204)
100
- [PASS] test_initialize() (gas: 24722)
101
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
102
- [PASS] test_pause_unpause() (gas: 130467)
103
- [PASS] test_quoteOFT() (gas: 70712)
104
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
105
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
106
- [PASS] test_quoteOFT_Paused() (gas: 56570)
107
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
108
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
109
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200492, ~: 200299)
110
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
111
- [PASS] test_rateLimit_Inflow() (gas: 108736)
43
+ [PASS] test_rateLimit_Inflow() (gas: 108738)
112
44
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
113
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
114
- [PASS] test_send() (gas: 400518)
115
- [PASS] test_send_Revert_MsgInspection() (gas: 308871)
116
- [PASS] test_send_WithFee() (gas: 477338)
117
- [PASS] test_setFeeDeposit() (gas: 28359)
45
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
46
+ [PASS] test_send() (gas: 387136)
47
+ [PASS] test_send_Revert_MsgInspection() (gas: 335267)
48
+ [PASS] test_send_WithFee() (gas: 462592)
49
+ [PASS] test_setFeeDeposit() (gas: 28445)
118
50
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
119
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38914, ~: 38967)
120
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 788.38ms (2.61s CPU time)
51
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38928, ~: 39034)
52
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 493.79ms (1.42s CPU time)
121
53
 
122
54
  Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
123
55
  [PASS] test_credit() (gas: 89873)
124
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93185, ~: 93305)
56
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93063, ~: 93305)
125
57
  [PASS] test_debit() (gas: 120710)
126
58
  [PASS] test_debit_Dust() (gas: 145216)
127
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147653, ~: 148086)
59
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147411, ~: 148086)
128
60
  [PASS] test_debit_PushesFees() (gas: 165984)
129
61
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
130
62
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
131
63
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
132
64
  [PASS] test_debit_WithFee() (gas: 166449)
133
65
  [PASS] test_debit_WithFee_Dust() (gas: 166055)
134
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168745, ~: 170250)
66
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168288, ~: 170245)
135
67
  [PASS] test_initialize() (gas: 24700)
136
68
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
137
69
  [PASS] test_pause_unpause() (gas: 153198)
@@ -141,7 +73,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
141
73
  [PASS] test_quoteOFT_Paused() (gas: 56570)
142
74
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
143
75
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
144
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193669, ~: 193521)
76
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193670, ~: 193521)
145
77
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
146
78
  [PASS] test_rateLimit_Inflow() (gas: 108826)
147
79
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -152,21 +84,56 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
152
84
  [PASS] test_send_WithFee() (gas: 504694)
153
85
  [PASS] test_setFeeDeposit() (gas: 28445)
154
86
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
155
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38933, ~: 39034)
156
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 791.71ms (2.43s CPU time)
87
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38923, ~: 39034)
88
+ Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 518.74ms (1.55s CPU time)
89
+
90
+ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
91
+ [PASS] test_credit() (gas: 89871)
92
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93022, ~: 93303)
93
+ [PASS] test_debit() (gas: 98327)
94
+ [PASS] test_debit_Dust() (gas: 141836)
95
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144730, ~: 145461)
96
+ [PASS] test_debit_PushesFees() (gas: 167796)
97
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
98
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
99
+ [PASS] test_debit_WithFee() (gas: 165270)
100
+ [PASS] test_debit_WithFee_Dust() (gas: 167884)
101
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170811, ~: 173204)
102
+ [PASS] test_initialize() (gas: 24700)
103
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
104
+ [PASS] test_pause_unpause() (gas: 132067)
105
+ [PASS] test_quoteOFT() (gas: 70712)
106
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
107
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
108
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
109
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
110
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
111
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202491, ~: 202299)
112
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
113
+ [PASS] test_rateLimit_Inflow() (gas: 108824)
114
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
115
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
116
+ [PASS] test_send() (gas: 421733)
117
+ [PASS] test_send_Revert_MsgInspection() (gas: 310849)
118
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
119
+ [PASS] test_send_WithFee() (gas: 493959)
120
+ [PASS] test_setFeeDeposit() (gas: 28445)
121
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
122
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38957, ~: 39034)
123
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 563.67ms (1.71s CPU time)
157
124
 
158
125
  Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
159
126
  [PASS] test_credit() (gas: 89882)
160
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92993, ~: 93314)
127
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93428, ~: 93314)
161
128
  [PASS] test_debit() (gas: 113036)
162
129
  [PASS] test_debit_Dust() (gas: 135880)
163
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138037, ~: 138823)
130
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 137989, ~: 138823)
164
131
  [PASS] test_debit_PushesFees() (gas: 161342)
165
132
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
166
133
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
167
134
  [PASS] test_debit_WithFee() (gas: 163924)
168
135
  [PASS] test_debit_WithFee_Dust() (gas: 161430)
169
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161934, ~: 160967)
136
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 162312, ~: 160967)
170
137
  [PASS] test_initialize() (gas: 24678)
171
138
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
172
139
  [PASS] test_pause_unpause() (gas: 143924)
@@ -176,7 +143,7 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
176
143
  [PASS] test_quoteOFT_Paused() (gas: 56637)
177
144
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
178
145
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
179
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196089, ~: 195912)
146
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196100, ~: 195912)
180
147
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
181
148
  [PASS] test_rateLimit_Inflow() (gas: 130622)
182
149
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
@@ -186,55 +153,21 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
186
153
  [PASS] test_send_WithFee() (gas: 474453)
187
154
  [PASS] test_setFeeDeposit() (gas: 28337)
188
155
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
189
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38829, ~: 38945)
190
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 836.74ms (2.31s CPU time)
191
-
192
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
193
- [PASS] test_credit() (gas: 89907)
194
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93199, ~: 93339)
195
- [PASS] test_debit() (gas: 98305)
196
- [PASS] test_debit_Dust() (gas: 139763)
197
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142556, ~: 143477)
198
- [PASS] test_debit_PushesFees() (gas: 165812)
199
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
200
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
201
- [PASS] test_debit_WithFee() (gas: 165286)
202
- [PASS] test_debit_WithFee_Dust() (gas: 165900)
203
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168956, ~: 171220)
204
- [PASS] test_initialize() (gas: 24722)
205
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
206
- [PASS] test_pause_unpause() (gas: 130445)
207
- [PASS] test_quoteOFT() (gas: 70712)
208
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
209
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
210
- [PASS] test_quoteOFT_Paused() (gas: 56570)
211
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
212
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
213
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200500, ~: 200315)
214
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
215
- [PASS] test_rateLimit_Inflow() (gas: 108772)
216
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
217
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
218
- [PASS] test_send() (gas: 400494)
219
- [PASS] test_send_Revert_MsgInspection() (gas: 308847)
220
- [PASS] test_send_WithFee() (gas: 477358)
221
- [PASS] test_setFeeDeposit() (gas: 28359)
222
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
223
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38909, ~: 38967)
224
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 837.30ms (2.62s CPU time)
156
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38873, ~: 38945)
157
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 564.50ms (1.39s CPU time)
225
158
 
226
159
  Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
227
160
  [PASS] test_credit() (gas: 91882)
228
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94836, ~: 95314)
161
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95142, ~: 95314)
229
162
  [PASS] test_debit() (gas: 113036)
230
163
  [PASS] test_debit_Dust() (gas: 137551)
231
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140493, ~: 140423)
164
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140076, ~: 141029)
232
165
  [PASS] test_debit_PushesFees() (gas: 163342)
233
166
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
234
167
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
235
168
  [PASS] test_debit_WithFee() (gas: 163924)
236
169
  [PASS] test_debit_WithFee_Dust() (gas: 163430)
237
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163546, ~: 162567)
170
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163447, ~: 162567)
238
171
  [PASS] test_initialize() (gas: 24656)
239
172
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
240
173
  [PASS] test_pause_unpause() (gas: 145524)
@@ -244,7 +177,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
244
177
  [PASS] test_quoteOFT_Paused() (gas: 56637)
245
178
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
246
179
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
247
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198077, ~: 197912)
180
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198110, ~: 197912)
248
181
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
249
182
  [PASS] test_rateLimit_Inflow() (gas: 132710)
250
183
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
@@ -255,23 +188,91 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
255
188
  [PASS] test_send_WithFee() (gas: 516566)
256
189
  [PASS] test_setFeeDeposit() (gas: 28423)
257
190
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
258
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38911, ~: 39012)
259
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 847.69ms (2.25s CPU time)
191
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38920, ~: 39012)
192
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 564.61ms (1.36s CPU time)
193
+
194
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
195
+ [PASS] test_credit() (gas: 89871)
196
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93254, ~: 93303)
197
+ [PASS] test_debit() (gas: 98327)
198
+ [PASS] test_debit_Dust() (gas: 139747)
199
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142390, ~: 143461)
200
+ [PASS] test_debit_PushesFees() (gas: 165796)
201
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
202
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
203
+ [PASS] test_debit_WithFee() (gas: 165270)
204
+ [PASS] test_debit_WithFee_Dust() (gas: 165884)
205
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169568, ~: 171204)
206
+ [PASS] test_initialize() (gas: 24722)
207
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
208
+ [PASS] test_pause_unpause() (gas: 130467)
209
+ [PASS] test_quoteOFT() (gas: 70712)
210
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
211
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
212
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
213
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
214
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
215
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200480, ~: 200299)
216
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
217
+ [PASS] test_rateLimit_Inflow() (gas: 108736)
218
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
219
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
220
+ [PASS] test_send() (gas: 400518)
221
+ [PASS] test_send_Revert_MsgInspection() (gas: 308871)
222
+ [PASS] test_send_WithFee() (gas: 477338)
223
+ [PASS] test_setFeeDeposit() (gas: 28359)
224
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
225
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38847, ~: 38967)
226
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 565.44ms (1.56s CPU time)
227
+
228
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
229
+ [PASS] test_credit() (gas: 89907)
230
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93122, ~: 93339)
231
+ [PASS] test_debit() (gas: 98305)
232
+ [PASS] test_debit_Dust() (gas: 139763)
233
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142725, ~: 143477)
234
+ [PASS] test_debit_PushesFees() (gas: 165812)
235
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
236
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
237
+ [PASS] test_debit_WithFee() (gas: 165286)
238
+ [PASS] test_debit_WithFee_Dust() (gas: 165900)
239
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168858, ~: 171220)
240
+ [PASS] test_initialize() (gas: 24722)
241
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
242
+ [PASS] test_pause_unpause() (gas: 130445)
243
+ [PASS] test_quoteOFT() (gas: 70712)
244
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
245
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
246
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
247
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
248
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
249
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200510, ~: 200315)
250
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
251
+ [PASS] test_rateLimit_Inflow() (gas: 108772)
252
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
253
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
254
+ [PASS] test_send() (gas: 400494)
255
+ [PASS] test_send_Revert_MsgInspection() (gas: 308847)
256
+ [PASS] test_send_WithFee() (gas: 477358)
257
+ [PASS] test_setFeeDeposit() (gas: 28359)
258
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
259
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38885, ~: 38967)
260
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 597.58ms (1.44s CPU time)
260
261
 
261
262
  Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
262
263
  [PASS] test_approvalRequired() (gas: 13426)
263
264
  [PASS] test_credit() (gas: 62369)
264
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65917, ~: 65954)
265
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65821, ~: 65954)
265
266
  [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
266
267
  [PASS] test_debit() (gas: 36831)
267
268
  [PASS] test_debit_Dust() (gas: 76272)
268
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79654, ~: 79886)
269
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79512, ~: 79886)
269
270
  [PASS] test_debit_PushesFees() (gas: 101339)
270
271
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
271
272
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
272
273
  [PASS] test_debit_WithFee() (gas: 101145)
273
274
  [PASS] test_debit_WithFee_Dust() (gas: 102376)
274
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105867, ~: 107585)
275
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105740, ~: 107585)
275
276
  [PASS] test_initialize() (gas: 22406)
276
277
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
277
278
  [PASS] test_pause_unpause() (gas: 61117)
@@ -281,7 +282,7 @@ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
281
282
  [PASS] test_quoteOFT_Paused() (gas: 56703)
282
283
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
283
284
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
284
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137897, ~: 137703)
285
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137894, ~: 137703)
285
286
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
286
287
  [PASS] test_rateLimit_Inflow() (gas: 87713)
287
288
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
@@ -296,44 +297,43 @@ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
296
297
  [PASS] test_send_WithFee() (gas: 415240)
297
298
  [PASS] test_setFeeDeposit() (gas: 28425)
298
299
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
299
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38924, ~: 39011)
300
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38919, ~: 39011)
300
301
  [PASS] test_token() (gas: 13483)
301
- Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 913.99ms (1.94s CPU time)
302
+ Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 599.03ms (964.53ms CPU time)
302
303
 
303
- Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
304
- [PASS] test_credit() (gas: 89873)
305
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93271, ~: 93305)
306
- [PASS] test_debit() (gas: 120710)
307
- [PASS] test_debit_Dust() (gas: 143616)
308
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145715, ~: 146486)
309
- [PASS] test_debit_PushesFees() (gas: 164384)
310
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
311
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
312
- [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
313
- [PASS] test_debit_WithFee() (gas: 166449)
314
- [PASS] test_debit_WithFee_Dust() (gas: 164455)
315
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166301, ~: 168645)
316
- [PASS] test_initialize() (gas: 24700)
304
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
305
+ [PASS] test_credit() (gas: 89874)
306
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92945, ~: 93306)
307
+ [PASS] test_debit() (gas: 98332)
308
+ [PASS] test_debit_Dust() (gas: 139763)
309
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142771, ~: 143477)
310
+ [PASS] test_debit_PushesFees() (gas: 165812)
311
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
312
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
313
+ [PASS] test_debit_WithFee() (gas: 165286)
314
+ [PASS] test_debit_WithFee_Dust() (gas: 165900)
315
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168997, ~: 171220)
316
+ [PASS] test_initialize() (gas: 24722)
317
317
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
318
- [PASS] test_pause_unpause() (gas: 151598)
318
+ [PASS] test_pause_unpause() (gas: 130472)
319
319
  [PASS] test_quoteOFT() (gas: 70712)
320
320
  [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
321
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
321
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
322
322
  [PASS] test_quoteOFT_Paused() (gas: 56570)
323
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
324
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
325
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192065, ~: 191921)
326
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
327
- [PASS] test_rateLimit_Inflow() (gas: 108738)
323
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
324
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
325
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200514, ~: 200315)
326
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
327
+ [PASS] test_rateLimit_Inflow() (gas: 108739)
328
328
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
329
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
330
- [PASS] test_send() (gas: 387136)
331
- [PASS] test_send_Revert_MsgInspection() (gas: 335267)
332
- [PASS] test_send_WithFee() (gas: 462592)
333
- [PASS] test_setFeeDeposit() (gas: 28445)
329
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
330
+ [PASS] test_send() (gas: 400527)
331
+ [PASS] test_send_Revert_MsgInspection() (gas: 308880)
332
+ [PASS] test_send_WithFee() (gas: 477358)
333
+ [PASS] test_setFeeDeposit() (gas: 28359)
334
334
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
335
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
336
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 914.31ms (1.83s CPU time)
335
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38904, ~: 38967)
336
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 599.11ms (1.53s CPU time)
337
337
 
338
- Ran 9 test suites in 1.20s (7.50s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
339
- ⏳ forge test: 1:04.366 (m:ss.mmm)
338
+ Ran 9 test suites in 761.98ms (5.07s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
339
+ ⏳ forge test: 1:01.606 (m:ss.mmm)