@layerzerolabs/oft-upgradeable-evm-contracts 0.2.83 → 0.2.85

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:46925) [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:34225) [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)
@@ -70,7 +70,7 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
70
70
 
71
71
 
72
72
  Successfully compiled 76 Solidity files
73
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 12.902s
73
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 10.648s
74
74
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
75
75
 
76
76
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -80,7 +80,7 @@ Successfully compiled 76 Solidity files
80
80
  ✅ forge-1.3.6-hardhat-2.26.3
81
81
  🔧 hardhat version: 2.26.3
82
82
  $ 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
83
- (node:50444) [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.
83
+ (node:36826) [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
84
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
85
85
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
86
86
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -92,7 +92,7 @@ The zksolc compiler version in your Hardhat config file (1.3.22) is not the late
92
92
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
93
93
  Compiling 76 Solidity files
94
94
  Successfully compiled 76 Solidity files
95
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:21.855 (m:ss.mmm)
95
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:27.750 (m:ss.mmm)
96
96
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
97
97
 
98
98
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -102,7 +102,7 @@ Successfully compiled 76 Solidity files
102
102
  ✅ forge-1.3.6-hardhat-2.26.3
103
103
  🔧 hardhat version: 2.26.3
104
104
  $ 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
105
- (node:83037) [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.
105
+ (node:53460) [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.
106
106
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
107
107
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
108
108
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -163,4 +163,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
163
163
 
164
164
 
165
165
  Successfully compiled 76 Solidity files
166
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 39.660s
166
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 37.561s
@@ -5,29 +5,68 @@
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:80698) [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:67653) [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
- 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
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: Already exists
17
+ eef7c391911c: Already exists
18
+ cc2ecf4065b7: Already exists
19
+ 5760fdd70374: Already exists
20
+ c70db14240a1: Already exists
21
+ 0cb2c6965bde: Already exists
22
+ 885bca26f927: Pulling fs layer
23
+ 8e167e77288f: Pulling fs layer
24
+ 45d43cc973ba: Pulling fs layer
25
+ 44c09156221f: Pulling fs layer
26
+ f2fb700979ad: Pulling fs layer
27
+ 2a1ced882ba9: Pulling fs layer
28
+ 597168d5c38e: Pulling fs layer
29
+ e431adaf232f: Pulling fs layer
30
+ 36e15e3f2788: Pulling fs layer
31
+ 36e15e3f2788: Download complete
32
+ f2fb700979ad: Download complete
33
+ 44c09156221f: Download complete
34
+ 2a1ced882ba9: Download complete
35
+ 8e167e77288f: Download complete
36
+ 597168d5c38e: Download complete
37
+ e431adaf232f: Download complete
38
+ 45d43cc973ba: Download complete
39
+ 885bca26f927: Pull complete
40
+ 8e167e77288f: Pull complete
41
+ 45d43cc973ba: Pull complete
42
+ 44c09156221f: Pull complete
43
+ f2fb700979ad: Pull complete
44
+ 2a1ced882ba9: Pull complete
45
+ 597168d5c38e: Pull complete
46
+ e431adaf232f: Pull complete
47
+ 36e15e3f2788: Pull complete
48
+ Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
49
+ Status: Downloaded newer image for 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
50
+ 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
51
+ ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
13
52
  👤 Running container as UID:GID 1001:1001
14
53
  $ 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
54
  Compiling 185 files with Solc 0.8.22
16
- Solc 0.8.22 finished in 43.51s
55
+ Solc 0.8.22 finished in 42.85s
17
56
  Compiler run successful!
18
57
 
19
58
  Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
20
59
  [PASS] test_credit() (gas: 91882)
21
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95171, ~: 95314)
60
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95111, ~: 95314)
22
61
  [PASS] test_debit() (gas: 113036)
23
62
  [PASS] test_debit_Dust() (gas: 137551)
24
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 139960, ~: 140423)
63
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140009, ~: 140423)
25
64
  [PASS] test_debit_PushesFees() (gas: 163342)
26
65
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
27
66
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
28
67
  [PASS] test_debit_WithFee() (gas: 163924)
29
68
  [PASS] test_debit_WithFee_Dust() (gas: 163430)
30
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163348, ~: 162567)
69
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163515, ~: 162567)
31
70
  [PASS] test_initialize() (gas: 24656)
32
71
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
33
72
  [PASS] test_pause_unpause() (gas: 145524)
@@ -37,7 +76,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
37
76
  [PASS] test_quoteOFT_Paused() (gas: 56637)
38
77
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
39
78
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
40
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198103, ~: 197912)
79
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198071, ~: 197912)
41
80
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
42
81
  [PASS] test_rateLimit_Inflow() (gas: 132710)
43
82
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
@@ -48,21 +87,21 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
48
87
  [PASS] test_send_WithFee() (gas: 516566)
49
88
  [PASS] test_setFeeDeposit() (gas: 28423)
50
89
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
51
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38930, ~: 39012)
52
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 491.21ms (1.31s CPU time)
90
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38892, ~: 39012)
91
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 517.97ms (1.49s CPU time)
53
92
 
54
93
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
55
94
  [PASS] test_credit() (gas: 89874)
56
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93307, ~: 93306)
95
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93357, ~: 93306)
57
96
  [PASS] test_debit() (gas: 98332)
58
97
  [PASS] test_debit_Dust() (gas: 139763)
59
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142865, ~: 143477)
98
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142274, ~: 143477)
60
99
  [PASS] test_debit_PushesFees() (gas: 165812)
61
100
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
62
101
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
63
102
  [PASS] test_debit_WithFee() (gas: 165286)
64
103
  [PASS] test_debit_WithFee_Dust() (gas: 165900)
65
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168397, ~: 171220)
104
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169143, ~: 171220)
66
105
  [PASS] test_initialize() (gas: 24722)
67
106
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
68
107
  [PASS] test_pause_unpause() (gas: 130472)
@@ -72,7 +111,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
72
111
  [PASS] test_quoteOFT_Paused() (gas: 56570)
73
112
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
74
113
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
75
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200488, ~: 200309)
114
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200474, ~: 200312)
76
115
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
77
116
  [PASS] test_rateLimit_Inflow() (gas: 108739)
78
117
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -82,56 +121,21 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
82
121
  [PASS] test_send_WithFee() (gas: 477358)
83
122
  [PASS] test_setFeeDeposit() (gas: 28359)
84
123
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
85
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38875, ~: 38967)
86
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 530.06ms (1.40s CPU time)
87
-
88
- Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
89
- [PASS] test_credit() (gas: 89871)
90
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93175, ~: 93303)
91
- [PASS] test_debit() (gas: 98327)
92
- [PASS] test_debit_Dust() (gas: 141836)
93
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144551, ~: 145461)
94
- [PASS] test_debit_PushesFees() (gas: 167796)
95
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
96
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
97
- [PASS] test_debit_WithFee() (gas: 165270)
98
- [PASS] test_debit_WithFee_Dust() (gas: 167884)
99
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170762, ~: 173204)
100
- [PASS] test_initialize() (gas: 24700)
101
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
102
- [PASS] test_pause_unpause() (gas: 132067)
103
- [PASS] test_quoteOFT() (gas: 70712)
104
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
105
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
106
- [PASS] test_quoteOFT_Paused() (gas: 56570)
107
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
108
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
109
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202479, ~: 202299)
110
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
111
- [PASS] test_rateLimit_Inflow() (gas: 108824)
112
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
113
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
114
- [PASS] test_send() (gas: 421733)
115
- [PASS] test_send_Revert_MsgInspection() (gas: 310849)
116
- [PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
117
- [PASS] test_send_WithFee() (gas: 493959)
118
- [PASS] test_setFeeDeposit() (gas: 28445)
119
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
120
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38935, ~: 39034)
121
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 547.41ms (1.24s CPU time)
124
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38885, ~: 38967)
125
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 536.60ms (1.76s CPU time)
122
126
 
123
127
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
124
128
  [PASS] test_credit() (gas: 89871)
125
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93215, ~: 93303)
129
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93043, ~: 93303)
126
130
  [PASS] test_debit() (gas: 98327)
127
131
  [PASS] test_debit_Dust() (gas: 139747)
128
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 143001, ~: 143461)
132
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142681, ~: 143461)
129
133
  [PASS] test_debit_PushesFees() (gas: 165796)
130
134
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
131
135
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
132
136
  [PASS] test_debit_WithFee() (gas: 165270)
133
137
  [PASS] test_debit_WithFee_Dust() (gas: 165884)
134
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169036, ~: 171204)
138
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169237, ~: 171204)
135
139
  [PASS] test_initialize() (gas: 24722)
136
140
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
137
141
  [PASS] test_pause_unpause() (gas: 130467)
@@ -141,7 +145,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
141
145
  [PASS] test_quoteOFT_Paused() (gas: 56570)
142
146
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
143
147
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
144
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200498, ~: 200299)
148
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200469, ~: 200299)
145
149
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
146
150
  [PASS] test_rateLimit_Inflow() (gas: 108736)
147
151
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -151,22 +155,100 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
151
155
  [PASS] test_send_WithFee() (gas: 477338)
152
156
  [PASS] test_setFeeDeposit() (gas: 28359)
153
157
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
154
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38866, ~: 38967)
155
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 580.30ms (1.59s CPU time)
158
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38880, ~: 38967)
159
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 542.35ms (1.81s CPU time)
160
+
161
+ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
162
+ [PASS] test_credit() (gas: 89873)
163
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93194, ~: 93305)
164
+ [PASS] test_debit() (gas: 120710)
165
+ [PASS] test_debit_Dust() (gas: 145216)
166
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147806, ~: 148086)
167
+ [PASS] test_debit_PushesFees() (gas: 165984)
168
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
169
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
170
+ [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
171
+ [PASS] test_debit_WithFee() (gas: 166449)
172
+ [PASS] test_debit_WithFee_Dust() (gas: 166055)
173
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168080, ~: 170241)
174
+ [PASS] test_initialize() (gas: 24700)
175
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
176
+ [PASS] test_pause_unpause() (gas: 153198)
177
+ [PASS] test_quoteOFT() (gas: 70712)
178
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
179
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
180
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
181
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
182
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
183
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193685, ~: 193521)
184
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
185
+ [PASS] test_rateLimit_Inflow() (gas: 108826)
186
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
187
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176825)
188
+ [PASS] test_send() (gas: 456534)
189
+ [PASS] test_send_Revert_MsgInspection() (gas: 337267)
190
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 250697)
191
+ [PASS] test_send_WithFee() (gas: 504694)
192
+ [PASS] test_setFeeDeposit() (gas: 28445)
193
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
194
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38899, ~: 39034)
195
+ Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 546.77ms (1.53s CPU time)
196
+
197
+ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
198
+ [PASS] test_approvalRequired() (gas: 13426)
199
+ [PASS] test_credit() (gas: 62369)
200
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 66036, ~: 65954)
201
+ [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
202
+ [PASS] test_debit() (gas: 36831)
203
+ [PASS] test_debit_Dust() (gas: 76272)
204
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79361, ~: 79886)
205
+ [PASS] test_debit_PushesFees() (gas: 101339)
206
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
207
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
208
+ [PASS] test_debit_WithFee() (gas: 101145)
209
+ [PASS] test_debit_WithFee_Dust() (gas: 102376)
210
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105301, ~: 107585)
211
+ [PASS] test_initialize() (gas: 22406)
212
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
213
+ [PASS] test_pause_unpause() (gas: 61117)
214
+ [PASS] test_quoteOFT() (gas: 70779)
215
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
216
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
217
+ [PASS] test_quoteOFT_Paused() (gas: 56703)
218
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
219
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
220
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137871, ~: 137697)
221
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
222
+ [PASS] test_rateLimit_Inflow() (gas: 87713)
223
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
224
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
225
+ [PASS] test_send() (gas: 352734)
226
+ [PASS] test_send_PushesFees() (gas: 415282)
227
+ [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
228
+ [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
229
+ [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
230
+ [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
231
+ [PASS] test_send_Revert_MsgInspection() (gas: 221169)
232
+ [PASS] test_send_WithFee() (gas: 415240)
233
+ [PASS] test_setFeeDeposit() (gas: 28425)
234
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
235
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38924, ~: 39011)
236
+ [PASS] test_token() (gas: 13483)
237
+ Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 573.06ms (1.42s CPU time)
156
238
 
157
239
  Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
158
240
  [PASS] test_credit() (gas: 89873)
159
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93020, ~: 93305)
241
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93309, ~: 93305)
160
242
  [PASS] test_debit() (gas: 120710)
161
243
  [PASS] test_debit_Dust() (gas: 143616)
162
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145732, ~: 146486)
244
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145816, ~: 146486)
163
245
  [PASS] test_debit_PushesFees() (gas: 164384)
164
246
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
165
247
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
166
248
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
167
249
  [PASS] test_debit_WithFee() (gas: 166449)
168
250
  [PASS] test_debit_WithFee_Dust() (gas: 164455)
169
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166880, ~: 168645)
251
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 167066, ~: 168645)
170
252
  [PASS] test_initialize() (gas: 24700)
171
253
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
172
254
  [PASS] test_pause_unpause() (gas: 151598)
@@ -176,7 +258,7 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
176
258
  [PASS] test_quoteOFT_Paused() (gas: 56570)
177
259
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
178
260
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
179
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192065, ~: 191921)
261
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192077, ~: 191921)
180
262
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
181
263
  [PASS] test_rateLimit_Inflow() (gas: 108738)
182
264
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -186,21 +268,21 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
186
268
  [PASS] test_send_WithFee() (gas: 462592)
187
269
  [PASS] test_setFeeDeposit() (gas: 28445)
188
270
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
189
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
190
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 580.39ms (1.92s CPU time)
271
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38976, ~: 39034)
272
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 573.12ms (1.51s CPU time)
191
273
 
192
274
  Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
193
275
  [PASS] test_credit() (gas: 89882)
194
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93371, ~: 93314)
276
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93163, ~: 93314)
195
277
  [PASS] test_debit() (gas: 113036)
196
278
  [PASS] test_debit_Dust() (gas: 135880)
197
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 137950, ~: 138823)
279
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138139, ~: 139029)
198
280
  [PASS] test_debit_PushesFees() (gas: 161342)
199
281
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
200
282
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
201
283
  [PASS] test_debit_WithFee() (gas: 163924)
202
284
  [PASS] test_debit_WithFee_Dust() (gas: 161430)
203
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161696, ~: 160967)
285
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161583, ~: 160967)
204
286
  [PASS] test_initialize() (gas: 24678)
205
287
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
206
288
  [PASS] test_pause_unpause() (gas: 143924)
@@ -210,7 +292,7 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
210
292
  [PASS] test_quoteOFT_Paused() (gas: 56637)
211
293
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
212
294
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
213
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196100, ~: 195912)
295
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196094, ~: 195912)
214
296
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
215
297
  [PASS] test_rateLimit_Inflow() (gas: 130622)
216
298
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
@@ -220,63 +302,21 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
220
302
  [PASS] test_send_WithFee() (gas: 474453)
221
303
  [PASS] test_setFeeDeposit() (gas: 28337)
222
304
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
223
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38801, ~: 38945)
224
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 580.35ms (1.76s CPU time)
225
-
226
- Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
227
- [PASS] test_approvalRequired() (gas: 13426)
228
- [PASS] test_credit() (gas: 62369)
229
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65794, ~: 65954)
230
- [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
231
- [PASS] test_debit() (gas: 36831)
232
- [PASS] test_debit_Dust() (gas: 76272)
233
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79800, ~: 79886)
234
- [PASS] test_debit_PushesFees() (gas: 101339)
235
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
236
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
237
- [PASS] test_debit_WithFee() (gas: 101145)
238
- [PASS] test_debit_WithFee_Dust() (gas: 102376)
239
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105460, ~: 107585)
240
- [PASS] test_initialize() (gas: 22406)
241
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
242
- [PASS] test_pause_unpause() (gas: 61117)
243
- [PASS] test_quoteOFT() (gas: 70779)
244
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
245
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
246
- [PASS] test_quoteOFT_Paused() (gas: 56703)
247
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
248
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
249
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137884, ~: 137703)
250
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
251
- [PASS] test_rateLimit_Inflow() (gas: 87713)
252
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
253
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
254
- [PASS] test_send() (gas: 352734)
255
- [PASS] test_send_PushesFees() (gas: 415282)
256
- [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
257
- [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
258
- [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
259
- [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
260
- [PASS] test_send_Revert_MsgInspection() (gas: 221169)
261
- [PASS] test_send_WithFee() (gas: 415240)
262
- [PASS] test_setFeeDeposit() (gas: 28425)
263
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
264
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38934, ~: 39011)
265
- [PASS] test_token() (gas: 13483)
266
- Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 580.43ms (1.12s CPU time)
305
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38892, ~: 38945)
306
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 575.39ms (1.41s CPU time)
267
307
 
268
308
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
269
309
  [PASS] test_credit() (gas: 89907)
270
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93018, ~: 93339)
310
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93386, ~: 93339)
271
311
  [PASS] test_debit() (gas: 98305)
272
312
  [PASS] test_debit_Dust() (gas: 139763)
273
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142840, ~: 143477)
313
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142836, ~: 143477)
274
314
  [PASS] test_debit_PushesFees() (gas: 165812)
275
315
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
276
316
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
277
317
  [PASS] test_debit_WithFee() (gas: 165286)
278
318
  [PASS] test_debit_WithFee_Dust() (gas: 165900)
279
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169143, ~: 171220)
319
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168687, ~: 171220)
280
320
  [PASS] test_initialize() (gas: 24722)
281
321
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
282
322
  [PASS] test_pause_unpause() (gas: 130445)
@@ -286,7 +326,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
286
326
  [PASS] test_quoteOFT_Paused() (gas: 56570)
287
327
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
288
328
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
289
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200502, ~: 200315)
329
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200485, ~: 200315)
290
330
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
291
331
  [PASS] test_rateLimit_Inflow() (gas: 108772)
292
332
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -296,44 +336,43 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
296
336
  [PASS] test_send_WithFee() (gas: 477358)
297
337
  [PASS] test_setFeeDeposit() (gas: 28359)
298
338
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
299
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38895, ~: 38967)
300
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 580.54ms (1.44s CPU time)
339
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38899, ~: 38967)
340
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 758.72ms (1.68s CPU time)
301
341
 
302
- Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
303
- [PASS] test_credit() (gas: 89873)
304
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93062, ~: 93305)
305
- [PASS] test_debit() (gas: 120710)
306
- [PASS] test_debit_Dust() (gas: 145216)
307
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 146923, ~: 148086)
308
- [PASS] test_debit_PushesFees() (gas: 165984)
342
+ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
343
+ [PASS] test_credit() (gas: 89871)
344
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93183, ~: 93303)
345
+ [PASS] test_debit() (gas: 98327)
346
+ [PASS] test_debit_Dust() (gas: 141836)
347
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144461, ~: 145461)
348
+ [PASS] test_debit_PushesFees() (gas: 167796)
309
349
  [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, μ: 168458, ~: 170245)
350
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
351
+ [PASS] test_debit_WithFee() (gas: 165270)
352
+ [PASS] test_debit_WithFee_Dust() (gas: 167884)
353
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170801, ~: 173204)
315
354
  [PASS] test_initialize() (gas: 24700)
316
355
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
317
- [PASS] test_pause_unpause() (gas: 153198)
356
+ [PASS] test_pause_unpause() (gas: 132067)
318
357
  [PASS] test_quoteOFT() (gas: 70712)
319
358
  [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
320
359
  [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
321
360
  [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)
361
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
362
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
363
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202487, ~: 202299)
325
364
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
326
- [PASS] test_rateLimit_Inflow() (gas: 108826)
365
+ [PASS] test_rateLimit_Inflow() (gas: 108824)
327
366
  [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)
367
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
368
+ [PASS] test_send() (gas: 421733)
369
+ [PASS] test_send_Revert_MsgInspection() (gas: 310849)
370
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
371
+ [PASS] test_send_WithFee() (gas: 493959)
333
372
  [PASS] test_setFeeDeposit() (gas: 28445)
334
373
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
335
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38904, ~: 39034)
336
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 580.46ms (1.62s CPU time)
374
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
375
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 758.83ms (1.54s CPU time)
337
376
 
338
- Ran 9 test suites in 754.59ms (5.05s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
339
- ⏳ forge test: 47.090s
377
+ Ran 9 test suites in 847.57ms (5.38s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
378
+ ⏳ forge test: 46.425s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-upgradeable-evm-contracts",
3
- "version": "0.2.83",
3
+ "version": "0.2.85",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM upgradeable OFT implementation",
6
6
  "license": "MIT",
@@ -14,16 +14,16 @@
14
14
  "@openzeppelin/contracts-upgradeable": "^5.0.2",
15
15
  "ethers": "^5.8.0",
16
16
  "solhint": "^6.0.1",
17
- "@layerzerolabs/oapp-upgradeable-evm-contracts": "0.2.83",
18
- "@layerzerolabs/oapp-evm-contracts": "0.2.83",
19
- "@layerzerolabs/oft-evm-contracts": "0.2.83",
20
- "@layerzerolabs/test-utils-evm-contracts": "0.2.83",
21
- "@layerzerolabs/solhint-configuration": "0.2.83",
22
- "@layerzerolabs/tsup-configuration": "0.2.83",
23
- "@layerzerolabs/typescript-configuration": "0.2.83",
24
- "@layerzerolabs/utils-evm-contracts": "0.2.83",
25
- "@layerzerolabs/vm-tooling-evm": "0.2.83",
26
- "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.83"
17
+ "@layerzerolabs/oft-evm-contracts": "0.2.85",
18
+ "@layerzerolabs/oapp-upgradeable-evm-contracts": "0.2.85",
19
+ "@layerzerolabs/solhint-configuration": "0.2.85",
20
+ "@layerzerolabs/oapp-evm-contracts": "0.2.85",
21
+ "@layerzerolabs/test-utils-evm-contracts": "0.2.85",
22
+ "@layerzerolabs/tsup-configuration": "0.2.85",
23
+ "@layerzerolabs/typescript-configuration": "0.2.85",
24
+ "@layerzerolabs/utils-evm-contracts": "0.2.85",
25
+ "@layerzerolabs/vm-tooling-evm": "0.2.85",
26
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.85"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public",