@layerzerolabs/oft-upgradeable-evm-contracts 0.2.101 → 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:270914) [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: 10.952s
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:272177) [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:26.573 (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:296884) [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: 38.174s
169
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 37.116s
@@ -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:457380) [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,131 +13,92 @@ 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 70.60s
16
+ Solc 0.8.22 finished in 57.30s
17
17
  Compiler run successful!
18
18
 
19
- Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
20
- [PASS] test_approvalRequired() (gas: 13426)
21
- [PASS] test_credit() (gas: 62369)
22
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65789, ~: 65954)
23
- [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
24
- [PASS] test_debit() (gas: 36831)
25
- [PASS] test_debit_Dust() (gas: 76272)
26
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79415, ~: 79886)
27
- [PASS] test_debit_PushesFees() (gas: 101339)
28
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
29
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
30
- [PASS] test_debit_WithFee() (gas: 101145)
31
- [PASS] test_debit_WithFee_Dust() (gas: 102376)
32
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105692, ~: 107585)
33
- [PASS] test_initialize() (gas: 22406)
34
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
35
- [PASS] test_pause_unpause() (gas: 61117)
36
- [PASS] test_quoteOFT() (gas: 70779)
37
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
38
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
39
- [PASS] test_quoteOFT_Paused() (gas: 56703)
40
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
41
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
42
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137876, ~: 137703)
43
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
44
- [PASS] test_rateLimit_Inflow() (gas: 87713)
45
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
46
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
47
- [PASS] test_send() (gas: 352734)
48
- [PASS] test_send_PushesFees() (gas: 415282)
49
- [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
50
- [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
51
- [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
52
- [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
53
- [PASS] test_send_Revert_MsgInspection() (gas: 221169)
54
- [PASS] test_send_WithFee() (gas: 415240)
55
- [PASS] test_setFeeDeposit() (gas: 28425)
56
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
57
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38924, ~: 39011)
58
- [PASS] test_token() (gas: 13483)
59
- Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 702.86ms (1.93s CPU time)
60
-
61
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
62
- [PASS] test_credit() (gas: 89907)
63
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93300, ~: 93339)
64
- [PASS] test_debit() (gas: 98305)
65
- [PASS] test_debit_Dust() (gas: 139763)
66
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142414, ~: 143477)
67
- [PASS] test_debit_PushesFees() (gas: 165812)
68
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
69
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
70
- [PASS] test_debit_WithFee() (gas: 165286)
71
- [PASS] test_debit_WithFee_Dust() (gas: 165900)
72
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168410, ~: 171220)
73
- [PASS] test_initialize() (gas: 24722)
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)
32
+ [PASS] test_initialize() (gas: 24700)
74
33
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
75
- [PASS] test_pause_unpause() (gas: 130445)
34
+ [PASS] test_pause_unpause() (gas: 151598)
76
35
  [PASS] test_quoteOFT() (gas: 70712)
77
36
  [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
78
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
37
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
79
38
  [PASS] test_quoteOFT_Paused() (gas: 56570)
80
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
81
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
82
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200482, ~: 200312)
83
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
84
- [PASS] test_rateLimit_Inflow() (gas: 108772)
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)
42
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
43
+ [PASS] test_rateLimit_Inflow() (gas: 108738)
85
44
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
86
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
87
- [PASS] test_send() (gas: 400494)
88
- [PASS] test_send_Revert_MsgInspection() (gas: 308847)
89
- [PASS] test_send_WithFee() (gas: 477358)
90
- [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)
91
50
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
92
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38871, ~: 38967)
93
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 697.92ms (1.79s 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)
94
53
 
95
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
96
- [PASS] test_credit() (gas: 89871)
97
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93339, ~: 93303)
98
- [PASS] test_debit() (gas: 98327)
99
- [PASS] test_debit_Dust() (gas: 139747)
100
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142399, ~: 143461)
101
- [PASS] test_debit_PushesFees() (gas: 165796)
102
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
103
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
104
- [PASS] test_debit_WithFee() (gas: 165270)
105
- [PASS] test_debit_WithFee_Dust() (gas: 165884)
106
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168399, ~: 171204)
107
- [PASS] test_initialize() (gas: 24722)
54
+ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
55
+ [PASS] test_credit() (gas: 89873)
56
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93063, ~: 93305)
57
+ [PASS] test_debit() (gas: 120710)
58
+ [PASS] test_debit_Dust() (gas: 145216)
59
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147411, ~: 148086)
60
+ [PASS] test_debit_PushesFees() (gas: 165984)
61
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
62
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
63
+ [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
64
+ [PASS] test_debit_WithFee() (gas: 166449)
65
+ [PASS] test_debit_WithFee_Dust() (gas: 166055)
66
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168288, ~: 170245)
67
+ [PASS] test_initialize() (gas: 24700)
108
68
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
109
- [PASS] test_pause_unpause() (gas: 130467)
69
+ [PASS] test_pause_unpause() (gas: 153198)
110
70
  [PASS] test_quoteOFT() (gas: 70712)
111
71
  [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
112
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
72
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
113
73
  [PASS] test_quoteOFT_Paused() (gas: 56570)
114
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
115
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
116
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200480, ~: 200299)
117
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
118
- [PASS] test_rateLimit_Inflow() (gas: 108736)
119
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
120
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
121
- [PASS] test_send() (gas: 400518)
122
- [PASS] test_send_Revert_MsgInspection() (gas: 308871)
123
- [PASS] test_send_WithFee() (gas: 477338)
124
- [PASS] test_setFeeDeposit() (gas: 28359)
74
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
75
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
76
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193670, ~: 193521)
77
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
78
+ [PASS] test_rateLimit_Inflow() (gas: 108826)
79
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
80
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176825)
81
+ [PASS] test_send() (gas: 456534)
82
+ [PASS] test_send_Revert_MsgInspection() (gas: 337267)
83
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 250697)
84
+ [PASS] test_send_WithFee() (gas: 504694)
85
+ [PASS] test_setFeeDeposit() (gas: 28445)
125
86
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
126
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38899, ~: 38967)
127
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 744.95ms (2.62s 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)
128
89
 
129
90
  Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
130
91
  [PASS] test_credit() (gas: 89871)
131
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92857, ~: 93303)
92
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93022, ~: 93303)
132
93
  [PASS] test_debit() (gas: 98327)
133
94
  [PASS] test_debit_Dust() (gas: 141836)
134
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144355, ~: 145461)
95
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144730, ~: 145461)
135
96
  [PASS] test_debit_PushesFees() (gas: 167796)
136
97
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
137
98
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
138
99
  [PASS] test_debit_WithFee() (gas: 165270)
139
100
  [PASS] test_debit_WithFee_Dust() (gas: 167884)
140
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170803, ~: 173204)
101
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170811, ~: 173204)
141
102
  [PASS] test_initialize() (gas: 24700)
142
103
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
143
104
  [PASS] test_pause_unpause() (gas: 132067)
@@ -147,7 +108,7 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
147
108
  [PASS] test_quoteOFT_Paused() (gas: 56570)
148
109
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
149
110
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
150
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202480, ~: 202299)
111
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202491, ~: 202299)
151
112
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
152
113
  [PASS] test_rateLimit_Inflow() (gas: 108824)
153
114
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -158,21 +119,55 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
158
119
  [PASS] test_send_WithFee() (gas: 493959)
159
120
  [PASS] test_setFeeDeposit() (gas: 28445)
160
121
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
161
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38947, ~: 39034)
162
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 761.46ms (1.47s CPU time)
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)
124
+
125
+ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
126
+ [PASS] test_credit() (gas: 89882)
127
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93428, ~: 93314)
128
+ [PASS] test_debit() (gas: 113036)
129
+ [PASS] test_debit_Dust() (gas: 135880)
130
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 137989, ~: 138823)
131
+ [PASS] test_debit_PushesFees() (gas: 161342)
132
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
133
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
134
+ [PASS] test_debit_WithFee() (gas: 163924)
135
+ [PASS] test_debit_WithFee_Dust() (gas: 161430)
136
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 162312, ~: 160967)
137
+ [PASS] test_initialize() (gas: 24678)
138
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
139
+ [PASS] test_pause_unpause() (gas: 143924)
140
+ [PASS] test_quoteOFT() (gas: 70757)
141
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
142
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
143
+ [PASS] test_quoteOFT_Paused() (gas: 56637)
144
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
145
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
146
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196100, ~: 195912)
147
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
148
+ [PASS] test_rateLimit_Inflow() (gas: 130622)
149
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
150
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
151
+ [PASS] test_send() (gas: 418929)
152
+ [PASS] test_send_Revert_MsgInspection() (gas: 325718)
153
+ [PASS] test_send_WithFee() (gas: 474453)
154
+ [PASS] test_setFeeDeposit() (gas: 28337)
155
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
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)
163
158
 
164
159
  Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
165
160
  [PASS] test_credit() (gas: 91882)
166
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94947, ~: 95314)
161
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95142, ~: 95314)
167
162
  [PASS] test_debit() (gas: 113036)
168
163
  [PASS] test_debit_Dust() (gas: 137551)
169
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140158, ~: 140423)
164
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140076, ~: 141029)
170
165
  [PASS] test_debit_PushesFees() (gas: 163342)
171
166
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
172
167
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
173
168
  [PASS] test_debit_WithFee() (gas: 163924)
174
169
  [PASS] test_debit_WithFee_Dust() (gas: 163430)
175
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163250, ~: 162567)
170
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163447, ~: 162567)
176
171
  [PASS] test_initialize() (gas: 24656)
177
172
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
178
173
  [PASS] test_pause_unpause() (gas: 145524)
@@ -182,7 +177,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
182
177
  [PASS] test_quoteOFT_Paused() (gas: 56637)
183
178
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
184
179
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
185
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198101, ~: 197912)
180
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198110, ~: 197912)
186
181
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
187
182
  [PASS] test_rateLimit_Inflow() (gas: 132710)
188
183
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
@@ -194,146 +189,151 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
194
189
  [PASS] test_setFeeDeposit() (gas: 28423)
195
190
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
196
191
  [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38920, ~: 39012)
197
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 868.97ms (2.40s CPU time)
192
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 564.61ms (1.36s CPU time)
198
193
 
199
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
200
- [PASS] test_credit() (gas: 89874)
201
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93222, ~: 93306)
202
- [PASS] test_debit() (gas: 98332)
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)
203
232
  [PASS] test_debit_Dust() (gas: 139763)
204
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142476, ~: 143477)
233
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142725, ~: 143477)
205
234
  [PASS] test_debit_PushesFees() (gas: 165812)
206
235
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
207
236
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
208
237
  [PASS] test_debit_WithFee() (gas: 165286)
209
238
  [PASS] test_debit_WithFee_Dust() (gas: 165900)
210
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168950, ~: 171220)
239
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168858, ~: 171220)
211
240
  [PASS] test_initialize() (gas: 24722)
212
241
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
213
- [PASS] test_pause_unpause() (gas: 130472)
242
+ [PASS] test_pause_unpause() (gas: 130445)
214
243
  [PASS] test_quoteOFT() (gas: 70712)
215
244
  [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
216
245
  [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
217
246
  [PASS] test_quoteOFT_Paused() (gas: 56570)
218
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
247
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
219
248
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
220
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200524, ~: 200315)
249
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200510, ~: 200315)
221
250
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
222
- [PASS] test_rateLimit_Inflow() (gas: 108739)
251
+ [PASS] test_rateLimit_Inflow() (gas: 108772)
223
252
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
224
253
  [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
225
- [PASS] test_send() (gas: 400527)
226
- [PASS] test_send_Revert_MsgInspection() (gas: 308880)
254
+ [PASS] test_send() (gas: 400494)
255
+ [PASS] test_send_Revert_MsgInspection() (gas: 308847)
227
256
  [PASS] test_send_WithFee() (gas: 477358)
228
257
  [PASS] test_setFeeDeposit() (gas: 28359)
229
258
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
230
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38895, ~: 38967)
231
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 865.66ms (2.07s CPU time)
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)
232
261
 
233
- Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
234
- [PASS] test_credit() (gas: 89882)
235
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93120, ~: 93314)
236
- [PASS] test_debit() (gas: 113036)
237
- [PASS] test_debit_Dust() (gas: 135880)
238
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138480, ~: 138823)
239
- [PASS] test_debit_PushesFees() (gas: 161342)
240
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
241
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
242
- [PASS] test_debit_WithFee() (gas: 163924)
243
- [PASS] test_debit_WithFee_Dust() (gas: 161430)
244
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161668, ~: 160967)
245
- [PASS] test_initialize() (gas: 24678)
246
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
247
- [PASS] test_pause_unpause() (gas: 143924)
248
- [PASS] test_quoteOFT() (gas: 70757)
249
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
250
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
251
- [PASS] test_quoteOFT_Paused() (gas: 56637)
252
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
253
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
254
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196086, ~: 195912)
255
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
256
- [PASS] test_rateLimit_Inflow() (gas: 130622)
257
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
258
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
259
- [PASS] test_send() (gas: 418929)
260
- [PASS] test_send_Revert_MsgInspection() (gas: 325718)
261
- [PASS] test_send_WithFee() (gas: 474453)
262
- [PASS] test_setFeeDeposit() (gas: 28337)
263
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
264
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38868, ~: 38945)
265
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 897.06ms (2.02s CPU time)
262
+ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
263
+ [PASS] test_approvalRequired() (gas: 13426)
264
+ [PASS] test_credit() (gas: 62369)
265
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65821, ~: 65954)
266
+ [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
267
+ [PASS] test_debit() (gas: 36831)
268
+ [PASS] test_debit_Dust() (gas: 76272)
269
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79512, ~: 79886)
270
+ [PASS] test_debit_PushesFees() (gas: 101339)
271
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
272
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
273
+ [PASS] test_debit_WithFee() (gas: 101145)
274
+ [PASS] test_debit_WithFee_Dust() (gas: 102376)
275
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105740, ~: 107585)
276
+ [PASS] test_initialize() (gas: 22406)
277
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
278
+ [PASS] test_pause_unpause() (gas: 61117)
279
+ [PASS] test_quoteOFT() (gas: 70779)
280
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
281
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
282
+ [PASS] test_quoteOFT_Paused() (gas: 56703)
283
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
284
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
285
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137894, ~: 137703)
286
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
287
+ [PASS] test_rateLimit_Inflow() (gas: 87713)
288
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
289
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
290
+ [PASS] test_send() (gas: 352734)
291
+ [PASS] test_send_PushesFees() (gas: 415282)
292
+ [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
293
+ [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
294
+ [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
295
+ [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
296
+ [PASS] test_send_Revert_MsgInspection() (gas: 221169)
297
+ [PASS] test_send_WithFee() (gas: 415240)
298
+ [PASS] test_setFeeDeposit() (gas: 28425)
299
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
300
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38919, ~: 39011)
301
+ [PASS] test_token() (gas: 13483)
302
+ Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 599.03ms (964.53ms CPU time)
266
303
 
267
- Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
268
- [PASS] test_credit() (gas: 89873)
269
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92988, ~: 93305)
270
- [PASS] test_debit() (gas: 120710)
271
- [PASS] test_debit_Dust() (gas: 143616)
272
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 146001, ~: 146486)
273
- [PASS] test_debit_PushesFees() (gas: 164384)
274
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
275
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
276
- [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
277
- [PASS] test_debit_WithFee() (gas: 166449)
278
- [PASS] test_debit_WithFee_Dust() (gas: 164455)
279
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166749, ~: 168641)
280
- [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)
281
317
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
282
- [PASS] test_pause_unpause() (gas: 151598)
318
+ [PASS] test_pause_unpause() (gas: 130472)
283
319
  [PASS] test_quoteOFT() (gas: 70712)
284
320
  [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
285
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
321
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
286
322
  [PASS] test_quoteOFT_Paused() (gas: 56570)
287
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
288
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
289
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192053, ~: 191921)
290
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
291
- [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)
292
328
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
293
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
294
- [PASS] test_send() (gas: 387136)
295
- [PASS] test_send_Revert_MsgInspection() (gas: 335267)
296
- [PASS] test_send_WithFee() (gas: 462592)
297
- [PASS] test_setFeeDeposit() (gas: 28445)
298
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
299
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38959, ~: 39034)
300
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 890.07ms (2.90s CPU time)
301
-
302
- Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
303
- [PASS] test_credit() (gas: 89873)
304
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93082, ~: 93305)
305
- [PASS] test_debit() (gas: 120710)
306
- [PASS] test_debit_Dust() (gas: 145216)
307
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147169, ~: 148086)
308
- [PASS] test_debit_PushesFees() (gas: 165984)
309
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
310
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
311
- [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
312
- [PASS] test_debit_WithFee() (gas: 166449)
313
- [PASS] test_debit_WithFee_Dust() (gas: 166055)
314
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168548, ~: 170245)
315
- [PASS] test_initialize() (gas: 24700)
316
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
317
- [PASS] test_pause_unpause() (gas: 153198)
318
- [PASS] test_quoteOFT() (gas: 70712)
319
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
320
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
321
- [PASS] test_quoteOFT_Paused() (gas: 56570)
322
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
323
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
324
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193667, ~: 193521)
325
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
326
- [PASS] test_rateLimit_Inflow() (gas: 108826)
327
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
328
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176825)
329
- [PASS] test_send() (gas: 456534)
330
- [PASS] test_send_Revert_MsgInspection() (gas: 337267)
331
- [PASS] test_send_Revert_OnlyAltToken() (gas: 250697)
332
- [PASS] test_send_WithFee() (gas: 504694)
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, μ: 38899, ~: 39034)
336
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 932.60ms (3.36s 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.12s (7.36s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
339
- ⏳ forge test: 1:15.527 (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)