@layerzerolabs/oft-upgradeable-evm-contracts 0.2.109 → 0.2.110

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,12 +12,12 @@
12
12
  ✅ forge-1.3.6-hardhat-2.26.3
13
13
  🔧 hardhat version: 2.26.3
14
14
  $ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
15
- (node:144326) [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:154402) [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)
19
19
  $ docker container create --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 true
20
- $ docker container rm 1cd7860736af4c0f3fd9ade8776191ca5a08c09663668a5b0378daa1cb662406
20
+ $ docker container rm 8d6ccfdac9a843a5fe37b3df5e5be7eb40b82244754b8226540f1e93fe262b75
21
21
  ✅ 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 (linux/amd64)
22
22
  👤 Running container as UID:GID 1001:1001
23
23
  🌍 Using 1 custom environment variable(s)
@@ -73,7 +73,7 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
73
73
 
74
74
 
75
75
  Successfully compiled 76 Solidity files
76
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 10.527s
76
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 11.175s
77
77
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
78
78
 
79
79
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -83,12 +83,12 @@ Successfully compiled 76 Solidity files
83
83
  ✅ forge-1.3.6-hardhat-2.26.3
84
84
  🔧 hardhat version: 2.26.3
85
85
  $ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
86
- (node:145034) [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.
86
+ (node:155228) [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.
87
87
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
88
88
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
89
89
  (Use `node --trace-warnings ...` to show where the warning was created)
90
90
  $ docker container create --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 true
91
- $ docker container rm e788611ac0dce6c3456c6d7b688ca1a81e1adee49f8991cc851c81a2f3710f3a
91
+ $ docker container rm 75a99feb480ea48d27c2d88bd6362be1b67446aa06d794e5e4058b4843f5b1a9
92
92
  ✅ 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 (linux/amd64)
93
93
  👤 Running container as UID:GID 1001:1001
94
94
  🌍 Using 1 custom environment variable(s)
@@ -98,7 +98,7 @@ The zksolc compiler version in your Hardhat config file (1.3.22) is not the late
98
98
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
99
99
  Compiling 76 Solidity files
100
100
  Successfully compiled 76 Solidity files
101
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:23.193 (m:ss.mmm)
101
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:25.930 (m:ss.mmm)
102
102
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
103
103
 
104
104
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -108,12 +108,12 @@ Successfully compiled 76 Solidity files
108
108
  ✅ forge-1.3.6-hardhat-2.26.3
109
109
  🔧 hardhat version: 2.26.3
110
110
  $ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
111
- (node:155475) [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.
111
+ (node:163578) [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.
112
112
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
113
113
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
114
114
  (Use `node --trace-warnings ...` to show where the warning was created)
115
115
  $ docker container create --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 true
116
- $ docker container rm d50b784b3e98777d054579b41eec8e9be9016b6653d04f9eb1cbe71b6d958fb8
116
+ $ docker container rm 736fa0a2c4f6a1a56d98d69cbdbab0eec0d58b58102b4984a6529872506da54f
117
117
  ✅ 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 (linux/amd64)
118
118
  👤 Running container as UID:GID 1001:1001
119
119
  🌍 Using 1 custom environment variable(s)
@@ -172,4 +172,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
172
172
 
173
173
 
174
174
  Successfully compiled 76 Solidity files
175
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 34.895s
175
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 37.458s
@@ -5,183 +5,30 @@
5
5
  ✅ forge-1.3.6-hardhat-2.26.3
6
6
  🔧 forge version: 1.3.6
7
7
  $ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
8
- (node:86303) [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:398289) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
9
9
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
10
10
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
11
11
  (Use `node --trace-warnings ...` to show where the warning was created)
12
- Error response from daemon: No such image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
13
- 📥 Pulling Docker image from: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
14
- $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
15
- forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
16
- 86ec798129ac: Pulling fs layer
17
- eef7c391911c: Pulling fs layer
18
- cc2ecf4065b7: Pulling fs layer
19
- 5760fdd70374: Pulling fs layer
20
- c70db14240a1: Pulling fs layer
21
- 0cb2c6965bde: Pulling fs layer
22
- 885bca26f927: Pulling fs layer
23
- 8e167e77288f: Pulling fs layer
24
- 45d43cc973ba: Pulling fs layer
25
- 44c09156221f: Pulling fs layer
26
- 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
- 86ec798129ac: Waiting
32
- 0cb2c6965bde: Waiting
33
- 885bca26f927: Waiting
34
- eef7c391911c: Waiting
35
- 5760fdd70374: Waiting
36
- cc2ecf4065b7: Waiting
37
- 8e167e77288f: Waiting
38
- c70db14240a1: Waiting
39
- f2fb700979ad: Waiting
40
- 2a1ced882ba9: Waiting
41
- 597168d5c38e: Waiting
42
- e431adaf232f: Waiting
43
- 44c09156221f: Waiting
44
- 45d43cc973ba: Waiting
45
- eef7c391911c: Download complete
46
- 86ec798129ac: Download complete
47
- c70db14240a1: Verifying Checksum
48
- c70db14240a1: Download complete
49
- 86ec798129ac: Pull complete
50
- eef7c391911c: Pull complete
51
- 5760fdd70374: Verifying Checksum
52
- 5760fdd70374: Download complete
53
- cc2ecf4065b7: Verifying Checksum
54
- cc2ecf4065b7: Download complete
55
- 8e167e77288f: Download complete
56
- 45d43cc973ba: Verifying Checksum
57
- 45d43cc973ba: Download complete
58
- 0cb2c6965bde: Verifying Checksum
59
- 0cb2c6965bde: Download complete
60
- cc2ecf4065b7: Pull complete
61
- 5760fdd70374: Pull complete
62
- c70db14240a1: Pull complete
63
- 44c09156221f: Verifying Checksum
64
- 44c09156221f: Download complete
65
- f2fb700979ad: Verifying Checksum
66
- f2fb700979ad: Download complete
67
- 597168d5c38e: Download complete
68
- 0cb2c6965bde: Pull complete
69
- 2a1ced882ba9: Verifying Checksum
70
- 2a1ced882ba9: Download complete
71
- 36e15e3f2788: Verifying Checksum
72
- 36e15e3f2788: Download complete
73
- 885bca26f927: Download complete
74
- e431adaf232f: Verifying Checksum
75
- e431adaf232f: Download complete
76
- 885bca26f927: Pull complete
77
- 8e167e77288f: Pull complete
78
- 45d43cc973ba: Pull complete
79
- 44c09156221f: Pull complete
80
- f2fb700979ad: Pull complete
81
- 2a1ced882ba9: Pull complete
82
- 597168d5c38e: Pull complete
83
- e431adaf232f: Pull complete
84
- 36e15e3f2788: Pull complete
85
- Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
86
- 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
87
- 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
88
- ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
12
+ ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 (amd64)
89
13
  👤 Running container as UID:GID 1001:1001
90
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
91
15
  Compiling 185 files with Solc 0.8.22
92
- Solc 0.8.22 finished in 63.95s
16
+ Solc 0.8.22 finished in 48.09s
93
17
  Compiler run successful!
94
18
 
95
- Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
96
- [PASS] test_approvalRequired() (gas: 13426)
97
- [PASS] test_credit() (gas: 62369)
98
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65752, ~: 65954)
99
- [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
100
- [PASS] test_debit() (gas: 36831)
101
- [PASS] test_debit_Dust() (gas: 76272)
102
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79424, ~: 79886)
103
- [PASS] test_debit_PushesFees() (gas: 101339)
104
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
105
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
106
- [PASS] test_debit_WithFee() (gas: 101145)
107
- [PASS] test_debit_WithFee_Dust() (gas: 102376)
108
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105795, ~: 107585)
109
- [PASS] test_initialize() (gas: 22406)
110
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
111
- [PASS] test_pause_unpause() (gas: 61117)
112
- [PASS] test_quoteOFT() (gas: 70779)
113
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
114
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
115
- [PASS] test_quoteOFT_Paused() (gas: 56703)
116
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
117
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
118
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137888, ~: 137703)
119
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
120
- [PASS] test_rateLimit_Inflow() (gas: 87713)
121
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
122
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
123
- [PASS] test_send() (gas: 352734)
124
- [PASS] test_send_PushesFees() (gas: 415282)
125
- [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
126
- [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
127
- [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
128
- [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
129
- [PASS] test_send_Revert_MsgInspection() (gas: 221169)
130
- [PASS] test_send_WithFee() (gas: 415240)
131
- [PASS] test_setFeeDeposit() (gas: 28425)
132
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
133
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38939, ~: 39011)
134
- [PASS] test_token() (gas: 13483)
135
- Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 446.14ms (979.33ms CPU time)
136
-
137
- Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
138
- [PASS] test_credit() (gas: 91882)
139
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95351, ~: 95314)
140
- [PASS] test_debit() (gas: 113036)
141
- [PASS] test_debit_Dust() (gas: 137551)
142
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 139996, ~: 140423)
143
- [PASS] test_debit_PushesFees() (gas: 163342)
144
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
145
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
146
- [PASS] test_debit_WithFee() (gas: 163924)
147
- [PASS] test_debit_WithFee_Dust() (gas: 163430)
148
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163696, ~: 162567)
149
- [PASS] test_initialize() (gas: 24656)
150
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
151
- [PASS] test_pause_unpause() (gas: 145524)
152
- [PASS] test_quoteOFT() (gas: 70757)
153
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
154
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59240)
155
- [PASS] test_quoteOFT_Paused() (gas: 56637)
156
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
157
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
158
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198098, ~: 197912)
159
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
160
- [PASS] test_rateLimit_Inflow() (gas: 132710)
161
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
162
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176893)
163
- [PASS] test_send() (gas: 465637)
164
- [PASS] test_send_Revert_MsgInspection() (gas: 327696)
165
- [PASS] test_send_Revert_OnlyAltToken() (gas: 241148)
166
- [PASS] test_send_WithFee() (gas: 516566)
167
- [PASS] test_setFeeDeposit() (gas: 28423)
168
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
169
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38940, ~: 39012)
170
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 451.73ms (1.21s CPU time)
171
-
172
19
  Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
173
20
  [PASS] test_credit() (gas: 89873)
174
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93239, ~: 93305)
21
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92958, ~: 93305)
175
22
  [PASS] test_debit() (gas: 120710)
176
23
  [PASS] test_debit_Dust() (gas: 145216)
177
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147738, ~: 148086)
24
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147618, ~: 148086)
178
25
  [PASS] test_debit_PushesFees() (gas: 165984)
179
26
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
180
27
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
181
28
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
182
29
  [PASS] test_debit_WithFee() (gas: 166449)
183
30
  [PASS] test_debit_WithFee_Dust() (gas: 166055)
184
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168454, ~: 170245)
31
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168411, ~: 170245)
185
32
  [PASS] test_initialize() (gas: 24700)
186
33
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
187
34
  [PASS] test_pause_unpause() (gas: 153198)
@@ -191,7 +38,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
191
38
  [PASS] test_quoteOFT_Paused() (gas: 56570)
192
39
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
193
40
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
194
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193695, ~: 193524)
41
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193676, ~: 193521)
195
42
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
196
43
  [PASS] test_rateLimit_Inflow() (gas: 108826)
197
44
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -202,55 +49,21 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
202
49
  [PASS] test_send_WithFee() (gas: 504694)
203
50
  [PASS] test_setFeeDeposit() (gas: 28445)
204
51
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
205
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38935, ~: 39034)
206
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 451.83ms (1.48s CPU time)
207
-
208
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
209
- [PASS] test_credit() (gas: 89871)
210
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93141, ~: 93303)
211
- [PASS] test_debit() (gas: 98327)
212
- [PASS] test_debit_Dust() (gas: 139747)
213
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142828, ~: 143461)
214
- [PASS] test_debit_PushesFees() (gas: 165796)
215
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
216
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
217
- [PASS] test_debit_WithFee() (gas: 165270)
218
- [PASS] test_debit_WithFee_Dust() (gas: 165884)
219
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169141, ~: 171204)
220
- [PASS] test_initialize() (gas: 24722)
221
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
222
- [PASS] test_pause_unpause() (gas: 130467)
223
- [PASS] test_quoteOFT() (gas: 70712)
224
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
225
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
226
- [PASS] test_quoteOFT_Paused() (gas: 56570)
227
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
228
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
229
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200456, ~: 200299)
230
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
231
- [PASS] test_rateLimit_Inflow() (gas: 108736)
232
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
233
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
234
- [PASS] test_send() (gas: 400518)
235
- [PASS] test_send_Revert_MsgInspection() (gas: 308871)
236
- [PASS] test_send_WithFee() (gas: 477338)
237
- [PASS] test_setFeeDeposit() (gas: 28359)
238
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
239
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38855, ~: 38967)
240
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 462.61ms (1.48s CPU time)
52
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38942, ~: 39034)
53
+ Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 960.19ms (3.01s CPU time)
241
54
 
242
55
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
243
56
  [PASS] test_credit() (gas: 89874)
244
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93055, ~: 93306)
57
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93156, ~: 93306)
245
58
  [PASS] test_debit() (gas: 98332)
246
59
  [PASS] test_debit_Dust() (gas: 139763)
247
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142925, ~: 143477)
60
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142484, ~: 143477)
248
61
  [PASS] test_debit_PushesFees() (gas: 165812)
249
62
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
250
63
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
251
64
  [PASS] test_debit_WithFee() (gas: 165286)
252
65
  [PASS] test_debit_WithFee_Dust() (gas: 165900)
253
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168800, ~: 171220)
66
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169271, ~: 171220)
254
67
  [PASS] test_initialize() (gas: 24722)
255
68
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
256
69
  [PASS] test_pause_unpause() (gas: 130472)
@@ -260,7 +73,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
260
73
  [PASS] test_quoteOFT_Paused() (gas: 56570)
261
74
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
262
75
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
263
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200486, ~: 200315)
76
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200510, ~: 200315)
264
77
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
265
78
  [PASS] test_rateLimit_Inflow() (gas: 108739)
266
79
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -270,55 +83,98 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
270
83
  [PASS] test_send_WithFee() (gas: 477358)
271
84
  [PASS] test_setFeeDeposit() (gas: 28359)
272
85
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
273
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38880, ~: 38967)
274
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 539.48ms (1.33s CPU time)
86
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38890, ~: 38967)
87
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 993.54ms (2.94s CPU time)
275
88
 
276
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
277
- [PASS] test_credit() (gas: 89907)
278
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93126, ~: 93339)
279
- [PASS] test_debit() (gas: 98305)
280
- [PASS] test_debit_Dust() (gas: 139763)
281
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142621, ~: 143477)
282
- [PASS] test_debit_PushesFees() (gas: 165812)
283
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
284
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
285
- [PASS] test_debit_WithFee() (gas: 165286)
286
- [PASS] test_debit_WithFee_Dust() (gas: 165900)
287
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168993, ~: 171220)
288
- [PASS] test_initialize() (gas: 24722)
289
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
290
- [PASS] test_pause_unpause() (gas: 130445)
291
- [PASS] test_quoteOFT() (gas: 70712)
292
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
293
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
294
- [PASS] test_quoteOFT_Paused() (gas: 56570)
295
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
296
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
297
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200494, ~: 200315)
298
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
299
- [PASS] test_rateLimit_Inflow() (gas: 108772)
300
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
301
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
302
- [PASS] test_send() (gas: 400494)
303
- [PASS] test_send_Revert_MsgInspection() (gas: 308847)
304
- [PASS] test_send_WithFee() (gas: 477358)
305
- [PASS] test_setFeeDeposit() (gas: 28359)
306
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
307
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38875, ~: 38967)
308
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 576.03ms (1.74s CPU time)
89
+ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
90
+ [PASS] test_credit() (gas: 91882)
91
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94921, ~: 95314)
92
+ [PASS] test_debit() (gas: 113036)
93
+ [PASS] test_debit_Dust() (gas: 137551)
94
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 139958, ~: 140423)
95
+ [PASS] test_debit_PushesFees() (gas: 163342)
96
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
97
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
98
+ [PASS] test_debit_WithFee() (gas: 163924)
99
+ [PASS] test_debit_WithFee_Dust() (gas: 163430)
100
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163872, ~: 162567)
101
+ [PASS] test_initialize() (gas: 24656)
102
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
103
+ [PASS] test_pause_unpause() (gas: 145524)
104
+ [PASS] test_quoteOFT() (gas: 70757)
105
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
106
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59240)
107
+ [PASS] test_quoteOFT_Paused() (gas: 56637)
108
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
109
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
110
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198099, ~: 197912)
111
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
112
+ [PASS] test_rateLimit_Inflow() (gas: 132710)
113
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
114
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176893)
115
+ [PASS] test_send() (gas: 465637)
116
+ [PASS] test_send_Revert_MsgInspection() (gas: 327696)
117
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 241148)
118
+ [PASS] test_send_WithFee() (gas: 516566)
119
+ [PASS] test_setFeeDeposit() (gas: 28423)
120
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
121
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38925, ~: 39012)
122
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.02s (3.01s CPU time)
123
+
124
+ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
125
+ [PASS] test_approvalRequired() (gas: 13426)
126
+ [PASS] test_credit() (gas: 62369)
127
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65890, ~: 65954)
128
+ [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
129
+ [PASS] test_debit() (gas: 36831)
130
+ [PASS] test_debit_Dust() (gas: 76272)
131
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79513, ~: 79886)
132
+ [PASS] test_debit_PushesFees() (gas: 101339)
133
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
134
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
135
+ [PASS] test_debit_WithFee() (gas: 101145)
136
+ [PASS] test_debit_WithFee_Dust() (gas: 102376)
137
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105988, ~: 107585)
138
+ [PASS] test_initialize() (gas: 22406)
139
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
140
+ [PASS] test_pause_unpause() (gas: 61117)
141
+ [PASS] test_quoteOFT() (gas: 70779)
142
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
143
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
144
+ [PASS] test_quoteOFT_Paused() (gas: 56703)
145
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
146
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
147
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137881, ~: 137703)
148
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
149
+ [PASS] test_rateLimit_Inflow() (gas: 87713)
150
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
151
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
152
+ [PASS] test_send() (gas: 352734)
153
+ [PASS] test_send_PushesFees() (gas: 415282)
154
+ [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
155
+ [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
156
+ [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
157
+ [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
158
+ [PASS] test_send_Revert_MsgInspection() (gas: 221169)
159
+ [PASS] test_send_WithFee() (gas: 415240)
160
+ [PASS] test_setFeeDeposit() (gas: 28425)
161
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
162
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38919, ~: 39011)
163
+ [PASS] test_token() (gas: 13483)
164
+ Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 1.05s (2.38s CPU time)
309
165
 
310
166
  Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
311
167
  [PASS] test_credit() (gas: 89882)
312
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93355, ~: 93314)
168
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93086, ~: 93314)
313
169
  [PASS] test_debit() (gas: 113036)
314
170
  [PASS] test_debit_Dust() (gas: 135880)
315
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 137838, ~: 138823)
171
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138492, ~: 138823)
316
172
  [PASS] test_debit_PushesFees() (gas: 161342)
317
173
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
318
174
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
319
175
  [PASS] test_debit_WithFee() (gas: 163924)
320
176
  [PASS] test_debit_WithFee_Dust() (gas: 161430)
321
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161828, ~: 160967)
177
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161547, ~: 160967)
322
178
  [PASS] test_initialize() (gas: 24678)
323
179
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
324
180
  [PASS] test_pause_unpause() (gas: 143924)
@@ -328,7 +184,7 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
328
184
  [PASS] test_quoteOFT_Paused() (gas: 56637)
329
185
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
330
186
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
331
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196089, ~: 195912)
187
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196097, ~: 195912)
332
188
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
333
189
  [PASS] test_rateLimit_Inflow() (gas: 130622)
334
190
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
@@ -338,21 +194,55 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
338
194
  [PASS] test_send_WithFee() (gas: 474453)
339
195
  [PASS] test_setFeeDeposit() (gas: 28337)
340
196
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
341
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38877, ~: 38945)
342
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 576.10ms (1.31s CPU time)
197
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38858, ~: 38945)
198
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.05s (2.74s CPU time)
199
+
200
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
201
+ [PASS] test_credit() (gas: 89871)
202
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93088, ~: 93303)
203
+ [PASS] test_debit() (gas: 98327)
204
+ [PASS] test_debit_Dust() (gas: 139747)
205
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142191, ~: 143461)
206
+ [PASS] test_debit_PushesFees() (gas: 165796)
207
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
208
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
209
+ [PASS] test_debit_WithFee() (gas: 165270)
210
+ [PASS] test_debit_WithFee_Dust() (gas: 165884)
211
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168744, ~: 171204)
212
+ [PASS] test_initialize() (gas: 24722)
213
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
214
+ [PASS] test_pause_unpause() (gas: 130467)
215
+ [PASS] test_quoteOFT() (gas: 70712)
216
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
217
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
218
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
219
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
220
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
221
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200458, ~: 200293)
222
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
223
+ [PASS] test_rateLimit_Inflow() (gas: 108736)
224
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
225
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
226
+ [PASS] test_send() (gas: 400518)
227
+ [PASS] test_send_Revert_MsgInspection() (gas: 308871)
228
+ [PASS] test_send_WithFee() (gas: 477338)
229
+ [PASS] test_setFeeDeposit() (gas: 28359)
230
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
231
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38851, ~: 38967)
232
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.10s (3.51s CPU time)
343
233
 
344
234
  Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
345
235
  [PASS] test_credit() (gas: 89871)
346
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92808, ~: 93303)
236
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93235, ~: 93303)
347
237
  [PASS] test_debit() (gas: 98327)
348
238
  [PASS] test_debit_Dust() (gas: 141836)
349
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144373, ~: 145461)
239
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144475, ~: 145461)
350
240
  [PASS] test_debit_PushesFees() (gas: 167796)
351
241
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
352
242
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
353
243
  [PASS] test_debit_WithFee() (gas: 165270)
354
244
  [PASS] test_debit_WithFee_Dust() (gas: 167884)
355
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 171343, ~: 173204)
245
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 171114, ~: 173204)
356
246
  [PASS] test_initialize() (gas: 24700)
357
247
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
358
248
  [PASS] test_pause_unpause() (gas: 132067)
@@ -362,7 +252,7 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
362
252
  [PASS] test_quoteOFT_Paused() (gas: 56570)
363
253
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
364
254
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
365
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202509, ~: 202299)
255
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202489, ~: 202299)
366
256
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
367
257
  [PASS] test_rateLimit_Inflow() (gas: 108824)
368
258
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -373,22 +263,56 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
373
263
  [PASS] test_send_WithFee() (gas: 493959)
374
264
  [PASS] test_setFeeDeposit() (gas: 28445)
375
265
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
376
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38933, ~: 39034)
377
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 576.21ms (1.27s CPU time)
266
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
267
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.11s (2.73s CPU time)
268
+
269
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
270
+ [PASS] test_credit() (gas: 89907)
271
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93126, ~: 93339)
272
+ [PASS] test_debit() (gas: 98305)
273
+ [PASS] test_debit_Dust() (gas: 139763)
274
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142570, ~: 143477)
275
+ [PASS] test_debit_PushesFees() (gas: 165812)
276
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
277
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
278
+ [PASS] test_debit_WithFee() (gas: 165286)
279
+ [PASS] test_debit_WithFee_Dust() (gas: 165900)
280
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169389, ~: 171220)
281
+ [PASS] test_initialize() (gas: 24722)
282
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
283
+ [PASS] test_pause_unpause() (gas: 130445)
284
+ [PASS] test_quoteOFT() (gas: 70712)
285
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
286
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
287
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
288
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
289
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
290
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200488, ~: 200315)
291
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
292
+ [PASS] test_rateLimit_Inflow() (gas: 108772)
293
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
294
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
295
+ [PASS] test_send() (gas: 400494)
296
+ [PASS] test_send_Revert_MsgInspection() (gas: 308847)
297
+ [PASS] test_send_WithFee() (gas: 477358)
298
+ [PASS] test_setFeeDeposit() (gas: 28359)
299
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
300
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38879, ~: 38967)
301
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.14s (2.65s CPU time)
378
302
 
379
303
  Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
380
304
  [PASS] test_credit() (gas: 89873)
381
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93142, ~: 93305)
305
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92857, ~: 93305)
382
306
  [PASS] test_debit() (gas: 120710)
383
307
  [PASS] test_debit_Dust() (gas: 143616)
384
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145955, ~: 146486)
308
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145653, ~: 146486)
385
309
  [PASS] test_debit_PushesFees() (gas: 164384)
386
310
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
387
311
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
388
312
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
389
313
  [PASS] test_debit_WithFee() (gas: 166449)
390
314
  [PASS] test_debit_WithFee_Dust() (gas: 164455)
391
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166620, ~: 168646)
315
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166986, ~: 168645)
392
316
  [PASS] test_initialize() (gas: 24700)
393
317
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
394
318
  [PASS] test_pause_unpause() (gas: 151598)
@@ -398,7 +322,7 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
398
322
  [PASS] test_quoteOFT_Paused() (gas: 56570)
399
323
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
400
324
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
401
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192061, ~: 191921)
325
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192058, ~: 191921)
402
326
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
403
327
  [PASS] test_rateLimit_Inflow() (gas: 108738)
404
328
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -408,8 +332,8 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
408
332
  [PASS] test_send_WithFee() (gas: 462592)
409
333
  [PASS] test_setFeeDeposit() (gas: 28445)
410
334
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
411
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
412
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 576.23ms (1.37s CPU time)
335
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38956, ~: 39034)
336
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 1.19s (3.64s CPU time)
413
337
 
414
- Ran 9 test suites in 692.38ms (4.66s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
415
- ⏳ forge test: 1:08.771 (m:ss.mmm)
338
+ Ran 9 test suites in 1.37s (9.61s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
339
+ ⏳ forge test: 52.410s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-upgradeable-evm-contracts",
3
- "version": "0.2.109",
3
+ "version": "0.2.110",
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-evm-contracts": "0.2.109",
18
- "@layerzerolabs/oapp-upgradeable-evm-contracts": "0.2.109",
19
- "@layerzerolabs/solhint-configuration": "0.2.109",
20
- "@layerzerolabs/oft-evm-contracts": "0.2.109",
21
- "@layerzerolabs/test-utils-evm-contracts": "0.2.109",
22
- "@layerzerolabs/typescript-configuration": "0.2.109",
23
- "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.109",
24
- "@layerzerolabs/tsup-configuration": "0.2.109",
25
- "@layerzerolabs/utils-evm-contracts": "0.2.109",
26
- "@layerzerolabs/vm-tooling-evm": "0.2.109"
17
+ "@layerzerolabs/oapp-evm-contracts": "0.2.110",
18
+ "@layerzerolabs/oapp-upgradeable-evm-contracts": "0.2.110",
19
+ "@layerzerolabs/solhint-configuration": "0.2.110",
20
+ "@layerzerolabs/oft-evm-contracts": "0.2.110",
21
+ "@layerzerolabs/test-utils-evm-contracts": "0.2.110",
22
+ "@layerzerolabs/tsup-configuration": "0.2.110",
23
+ "@layerzerolabs/typescript-configuration": "0.2.110",
24
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.110",
25
+ "@layerzerolabs/utils-evm-contracts": "0.2.110",
26
+ "@layerzerolabs/vm-tooling-evm": "0.2.110"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public",