@layerzerolabs/oft-upgradeable-evm-contracts 1.2.24 → 1.2.26

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.
@@ -11,23 +11,23 @@
11
11
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
12
12
  ✅ forge-1.3.6-hardhat-2.26.3
13
13
  🔧 hardhat version: 2.26.3
14
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-nmsqIO
14
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-IjYyny
15
15
  📦 Copied 13 workspace package source(s)
16
16
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
17
- (node:31726) [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.
17
+ (node:203702) [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.
18
18
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
19
19
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
20
20
  (Use `node --trace-warnings ...` to show where the warning was created)
21
21
  📦 Docker volumes:
22
- -v /tmp/lz-scoped-workspace-nmsqIO:/workspace
22
+ -v /tmp/lz-scoped-workspace-IjYyny:/workspace
23
23
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
24
24
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
25
25
  $ 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-4
26
26
  $ 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-4 true
27
- $ docker container rm 987504908ae42938731a13f484d51a849b06b679cb6bc0a1555adcd5600d5abb
27
+ $ docker container rm 4f753c408ed37001f5184ea73789a6a6bea0d1357923083edb861a0bf12f3921
28
28
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4 (linux/amd64)
29
29
  👤 Running container as UID:GID 1001:1001
30
- $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-nmsqIO:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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-4 hardhat compile --config ./hardhat.config.js
30
+ $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-IjYyny:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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-4 hardhat compile --config ./hardhat.config.js
31
31
  Downloading solc 0.8.26
32
32
  Compiling 85 Solidity files
33
33
  Warning: Contract code size is 30173 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
@@ -80,7 +80,7 @@ Warning: Contract code size is 29866 bytes and exceeds 24576 bytes (a limit intr
80
80
 
81
81
 
82
82
  Successfully compiled 85 Solidity files
83
- ⏳ hardhat compile --config ./hardhat.config.js: 8.174s
83
+ ⏳ hardhat compile --config ./hardhat.config.js: 7.540s
84
84
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
85
85
 
86
86
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -89,23 +89,23 @@ Successfully compiled 85 Solidity files
89
89
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
90
90
  ✅ forge-1.3.6-hardhat-2.26.3
91
91
  🔧 hardhat version: 2.26.3
92
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-XHShBO
92
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-JeKHNH
93
93
  📦 Copied 13 workspace package source(s)
94
94
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
95
- (node:33223) [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.
95
+ (node:207334) [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.
96
96
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
97
97
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
98
98
  (Use `node --trace-warnings ...` to show where the warning was created)
99
99
  📦 Docker volumes:
100
- -v /tmp/lz-scoped-workspace-XHShBO:/workspace
100
+ -v /tmp/lz-scoped-workspace-JeKHNH:/workspace
101
101
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
102
102
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
103
103
  $ 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-4
104
104
  $ 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-4 true
105
- $ docker container rm 415c4258c884c0773b1ca5cb493282b0682eb70d959399e5ae11bd99ec09b07c
105
+ $ docker container rm 512fd4128cbf95bfab020281b556477e8c7308a8663ec8496b3dfef75d704dc9
106
106
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4 (linux/amd64)
107
107
  👤 Running container as UID:GID 1001:1001
108
- $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-XHShBO:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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-4 hardhat compile --config ./hardhat.config.js --network zksync-mainnet
108
+ $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-JeKHNH:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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-4 hardhat compile --config ./hardhat.config.js --network zksync-mainnet
109
109
  Downloading zksolc 1.5.15
110
110
  zksolc version 1.5.15 successfully downloaded
111
111
  Downloading zkvm-solc 0.8.26-1.0.2
@@ -142,7 +142,7 @@ For reference, see the following links:
142
142
  - `zksolc` standard JSON input reference: https://matter-labs.github.io/era-compiler-solidity/latest/03-standard-json.html#input-json
143
143
 
144
144
  Successfully compiled 85 Solidity files
145
- ⏳ hardhat compile --config ./hardhat.config.js --network zksync-mainnet: 21.643s
145
+ ⏳ hardhat compile --config ./hardhat.config.js --network zksync-mainnet: 20.854s
146
146
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
147
147
 
148
148
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -151,28 +151,28 @@ Successfully compiled 85 Solidity files
151
151
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
152
152
  ✅ forge-1.3.6-hardhat-2.26.3
153
153
  🔧 hardhat version: 2.26.3
154
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-c09uOw
154
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-kfghyx
155
155
  📦 Copied 13 workspace package source(s)
156
156
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
157
- (node:36242) [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.
157
+ (node:214742) [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.
158
158
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
159
159
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
160
160
  (Use `node --trace-warnings ...` to show where the warning was created)
161
161
  📦 Docker volumes:
162
- -v /tmp/lz-scoped-workspace-c09uOw:/workspace
162
+ -v /tmp/lz-scoped-workspace-kfghyx:/workspace
163
163
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
164
164
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
165
165
  $ 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-4
166
166
  $ 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-4 true
167
- $ docker container rm ad28603e12ddf95ba3980b3f6bc57bc4a57e95072de1be65898c1186f01eb840
167
+ $ docker container rm 3e245c4624fdffc5ba5187a3a793e456656a81219c929e383691733da188ebea
168
168
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4 (linux/amd64)
169
169
  👤 Running container as UID:GID 1001:1001
170
- $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-c09uOw:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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-4 hardhat compile --config ./hardhat.config.js --network tron-mainnet
170
+ $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-kfghyx:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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-4 hardhat compile --config ./hardhat.config.js --network tron-mainnet
171
171
  detected tron network, replacing deployments extension with custom one
172
172
  Tron-solc v0.8.24 is unknown version, attempting anyway...
173
173
  Compiling contracts with tron solc v0.8.24
174
- Tron-solc v0.8.24 is unknown version, attempting anyway...
175
174
  Downloading tron solc compiler...
175
+ Tron-solc v0.8.24 is unknown version, attempting anyway...
176
176
  /root/.tron/solc/soljson_v0.8.24.js <- https://tronsuper.github.io/tron-solc-bin/bin/soljson_v0.8.24.js
177
177
  Downloaded compiler - 8681 KB in 0 secs
178
178
  Compiling 85 Solidity files
@@ -226,4 +226,4 @@ Warning: Contract code size is 31769 bytes and exceeds 24576 bytes (a limit intr
226
226
 
227
227
 
228
228
  Successfully compiled 85 Solidity files
229
- ⏳ hardhat compile --config ./hardhat.config.js --network tron-mainnet: 33.805s
229
+ ⏳ hardhat compile --config ./hardhat.config.js --network tron-mainnet: 27.609s
@@ -4,168 +4,77 @@
4
4
 
5
5
  ✅ forge-1.3.6-hardhat-2.26.3
6
6
  🔧 forge version: 1.3.6
7
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-c4lQhG
7
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-8llnD4
8
8
  📦 Copied 13 workspace package source(s)
9
9
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
10
- (node:62021) [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.
10
+ (node:322014) [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.
11
11
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
12
12
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
13
13
  (Use `node --trace-warnings ...` to show where the warning was created)
14
14
  📦 Docker volumes:
15
- -v /tmp/lz-scoped-workspace-c4lQhG:/workspace
15
+ -v /tmp/lz-scoped-workspace-8llnD4:/workspace
16
16
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
17
17
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
18
18
  $ 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-4
19
- 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-4
20
- 📥 Pulling Docker image from: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
21
- $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
22
- forge-1.3.6-hardhat-2.26.3-patch-4: Pulling from layerzerolabs/evm-tooling
23
- 17639c486e57: Already exists
24
- 53d86cd64323: Already exists
25
- bbd7db620433: Already exists
26
- dd8d0adb78c1: Already exists
27
- e2082273f6a6: Already exists
28
- 6aca5ecbfbf0: Already exists
29
- 57cfa89d22f0: Already exists
30
- 95f21f1a21d0: Pulling fs layer
31
- 796d60317d4d: Pulling fs layer
32
- c35d7f83b6fc: Pulling fs layer
33
- 8f1cde221fc4: Pulling fs layer
34
- bcbb9eb73fb5: Pulling fs layer
35
- c8e19a2c627e: Pulling fs layer
36
- b79abc894e87: Pulling fs layer
37
- 63ec365deef1: Pulling fs layer
38
- 36a7bdc86737: Pulling fs layer
39
- 36a7bdc86737: Download complete
40
- 8f1cde221fc4: Download complete
41
- 796d60317d4d: Download complete
42
- c8e19a2c627e: Download complete
43
- bcbb9eb73fb5: Download complete
44
- c35d7f83b6fc: Download complete
45
- b79abc894e87: Download complete
46
- 63ec365deef1: Download complete
47
- 95f21f1a21d0: Pull complete
48
- 796d60317d4d: Pull complete
49
- c35d7f83b6fc: Pull complete
50
- 8f1cde221fc4: Pull complete
51
- bcbb9eb73fb5: Pull complete
52
- c8e19a2c627e: Pull complete
53
- b79abc894e87: Pull complete
54
- 63ec365deef1: Pull complete
55
- 36a7bdc86737: Pull complete
56
- Digest: sha256:778dd8fe35fba1405c5995090a0d4167609e8b03ece06b005fb0e067f4f7e2ab
57
- Status: Image is up to date for 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
58
- 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
59
- ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
19
+ ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4 (amd64)
60
20
  👤 Running container as UID:GID 1001:1001
61
- $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-c4lQhG:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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-4 forge test
21
+ $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-8llnD4:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -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-4 forge test
62
22
  Compiling 196 files with Solc 0.8.26
63
- Solc 0.8.26 finished in 36.74s
23
+ Solc 0.8.26 finished in 55.94s
64
24
  Compiler run successful!
65
25
 
66
- Ran 49 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
67
- [PASS] test_burn() (gas: 434327)
68
- [PASS] test_burn_Revert_Unauthorized() (gas: 20114)
69
- [PASS] test_clear() (gas: 427588)
70
- [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366559)
71
- [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
72
- [PASS] test_credit() (gas: 90995)
73
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94220, ~: 94367)
74
- [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292288)
75
- [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 90971)
76
- [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280501)
77
- [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318755)
78
- [PASS] test_debit() (gas: 97098)
79
- [PASS] test_debit_Dust() (gas: 139594)
80
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142077, ~: 143116)
81
- [PASS] test_debit_PushesFees() (gas: 165540)
82
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 132813)
83
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139591)
84
- [PASS] test_debit_WithFee() (gas: 162911)
85
- [PASS] test_debit_WithFee_Dust() (gas: 165539)
86
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 167996, ~: 170540)
87
- [PASS] test_initialize() (gas: 24422)
88
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91893)
89
- [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629073)
90
- [PASS] test_nilify() (gas: 425420)
91
- [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365985)
92
- [PASS] test_nilify_Revert_Unauthorized() (gas: 20173)
93
- [PASS] test_nilify_Unverified() (gas: 399700)
94
- [PASS] test_oftVersion() (gas: 14283)
95
- [PASS] test_pause_unpause() (gas: 129996)
96
- [PASS] test_quoteOFT() (gas: 69454)
97
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 79290)
98
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58143)
99
- [PASS] test_quoteOFT_Paused() (gas: 56020)
100
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 182916)
101
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 228811)
102
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198510, ~: 198353)
103
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82813)
104
- [PASS] test_rateLimit_Inflow() (gas: 109114)
105
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157957)
106
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 178651)
107
- [PASS] test_send() (gas: 415914)
108
- [PASS] test_send_Revert_MsgInspection() (gas: 324942)
109
- [PASS] test_send_Revert_OnlyAltToken() (gas: 196834)
110
- [PASS] test_send_WithFee() (gas: 487483)
111
- [PASS] test_setFeeDeposit() (gas: 28142)
112
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22061)
113
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38073, ~: 38217)
114
- [PASS] test_skip() (gas: 399117)
115
- [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
116
- Suite result: ok. 49 passed; 0 failed; 0 skipped; finished in 705.69ms (1.44s CPU time)
117
-
118
- Ran 49 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
26
+ Ran 50 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
119
27
  [PASS] test_burn() (gas: 434327)
120
- [PASS] test_burn_Revert_Unauthorized() (gas: 20114)
121
- [PASS] test_clear() (gas: 427588)
122
- [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366559)
28
+ [PASS] test_burn_Revert_Unauthorized() (gas: 20159)
29
+ [PASS] test_clear() (gas: 427566)
30
+ [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366537)
123
31
  [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
124
- [PASS] test_credit() (gas: 90944)
125
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94137, ~: 94316)
126
- [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292237)
32
+ [PASS] test_credit() (gas: 90922)
33
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94207, ~: 94316)
34
+ [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292215)
127
35
  [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 90920)
128
36
  [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280450)
129
- [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318704)
37
+ [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318682)
130
38
  [PASS] test_debit() (gas: 119141)
131
- [PASS] test_debit_Dust() (gas: 141681)
132
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144250, ~: 144468)
133
- [PASS] test_debit_PushesFees() (gas: 162438)
134
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 130813)
135
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 141679)
136
- [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 120884)
39
+ [PASS] test_debit_Dust() (gas: 143264)
40
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145131, ~: 146071)
41
+ [PASS] test_debit_PushesFees() (gas: 164020)
42
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 132858)
43
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 143261)
44
+ [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 120866)
137
45
  [PASS] test_debit_WithFee() (gas: 164348)
138
- [PASS] test_debit_WithFee_Dust() (gas: 162437)
139
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 164576, ~: 166372)
140
- [PASS] test_initialize() (gas: 24422)
141
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91893)
46
+ [PASS] test_debit_WithFee_Dust() (gas: 164037)
47
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 165769, ~: 167972)
48
+ [PASS] test_initialize() (gas: 24463)
49
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91871)
142
50
  [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629022)
143
51
  [PASS] test_nilify() (gas: 425420)
144
- [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365985)
145
- [PASS] test_nilify_Revert_Unauthorized() (gas: 20173)
52
+ [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365963)
53
+ [PASS] test_nilify_Revert_Unauthorized() (gas: 20217)
146
54
  [PASS] test_nilify_Unverified() (gas: 399700)
147
- [PASS] test_oftVersion() (gas: 14283)
148
- [PASS] test_pause_unpause() (gas: 149223)
55
+ [PASS] test_oftVersion() (gas: 14325)
56
+ [PASS] test_pause_unpause() (gas: 150823)
149
57
  [PASS] test_quoteOFT() (gas: 69454)
150
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 79290)
151
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58143)
152
- [PASS] test_quoteOFT_Paused() (gas: 56020)
153
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 237290)
154
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 263193)
155
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 188748, ~: 188623)
156
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82813)
157
- [PASS] test_rateLimit_Inflow() (gas: 109085)
158
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 155957)
159
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 172927)
160
- [PASS] test_send() (gas: 382097)
161
- [PASS] test_send_Revert_MsgInspection() (gas: 348976)
162
- [PASS] test_send_WithFee() (gas: 457061)
163
- [PASS] test_setFeeDeposit() (gas: 28142)
58
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 79268)
59
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58121)
60
+ [PASS] test_quoteOFT_Paused() (gas: 56065)
61
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 238890)
62
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 264793)
63
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 190353, ~: 190223)
64
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82791)
65
+ [PASS] test_rateLimit_Inflow() (gas: 109063)
66
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157957)
67
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174509)
68
+ [PASS] test_send() (gas: 451496)
69
+ [PASS] test_send_Revert_MsgInspection() (gas: 350954)
70
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 248213)
71
+ [PASS] test_send_WithFee() (gas: 497877)
72
+ [PASS] test_setFeeDeposit() (gas: 28120)
164
73
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22061)
165
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38111, ~: 38217)
166
- [PASS] test_skip() (gas: 399117)
74
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38137, ~: 38195)
75
+ [PASS] test_skip() (gas: 399095)
167
76
  [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
168
- Suite result: ok. 49 passed; 0 failed; 0 skipped; finished in 722.93ms (1.75s CPU time)
77
+ Suite result: ok. 50 passed; 0 failed; 0 skipped; finished in 672.09ms (1.61s CPU time)
169
78
 
170
79
  Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
171
80
  [PASS] test_burn() (gas: 434327)
@@ -174,20 +83,20 @@ Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
174
83
  [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366559)
175
84
  [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
176
85
  [PASS] test_credit() (gas: 90945)
177
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93971, ~: 94317)
86
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94159, ~: 94317)
178
87
  [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292194)
179
88
  [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 90921)
180
89
  [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280451)
181
90
  [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318727)
182
91
  [PASS] test_debit() (gas: 97058)
183
92
  [PASS] test_debit_Dust() (gas: 137624)
184
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140103, ~: 141017)
93
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140026, ~: 141017)
185
94
  [PASS] test_debit_PushesFees() (gas: 163441)
186
95
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 130813)
187
96
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 137621)
188
97
  [PASS] test_debit_WithFee() (gas: 162812)
189
98
  [PASS] test_debit_WithFee_Dust() (gas: 163440)
190
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 165189, ~: 168441)
99
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166164, ~: 168441)
191
100
  [PASS] test_initialize() (gas: 24422)
192
101
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91893)
193
102
  [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629023)
@@ -203,7 +112,7 @@ Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
203
112
  [PASS] test_quoteOFT_Paused() (gas: 56020)
204
113
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 181236)
205
114
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 226613)
206
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196432, ~: 196254)
115
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196413, ~: 196254)
207
116
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82813)
208
117
  [PASS] test_rateLimit_Inflow() (gas: 109086)
209
118
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 155957)
@@ -213,10 +122,10 @@ Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
213
122
  [PASS] test_send_WithFee() (gas: 471890)
214
123
  [PASS] test_setFeeDeposit() (gas: 28142)
215
124
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22061)
216
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 37999, ~: 38172)
125
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38061, ~: 38172)
217
126
  [PASS] test_skip() (gas: 399117)
218
127
  [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
219
- Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 780.03ms (2.11s CPU time)
128
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 735.95ms (2.18s CPU time)
220
129
 
221
130
  Ran 56 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
222
131
  [PASS] test_approvalRequired() (gas: 13337)
@@ -226,7 +135,7 @@ Ran 56 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
226
135
  [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366563)
227
136
  [PASS] test_clear_Revert_Unauthorized() (gas: 20799)
228
137
  [PASS] test_credit() (gas: 64068)
229
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 67377, ~: 67458)
138
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 67390, ~: 67458)
230
139
  [PASS] test_credit_NoRedirect_Allowlisted() (gas: 267812)
231
140
  [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 64067)
232
141
  [PASS] test_credit_Redirect_NotAllowlisted() (gas: 254764)
@@ -234,13 +143,13 @@ Ran 56 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
234
143
  [PASS] test_credit_Revert_CreditFailed() (gas: 100491)
235
144
  [PASS] test_debit() (gas: 36129)
236
145
  [PASS] test_debit_Dust() (gas: 75511)
237
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 78741, ~: 79021)
146
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 78606, ~: 79021)
238
147
  [PASS] test_debit_PushesFees() (gas: 100461)
239
148
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 53467)
240
149
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 75487)
241
150
  [PASS] test_debit_WithFee() (gas: 100181)
242
151
  [PASS] test_debit_WithFee_Dust() (gas: 101403)
243
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 104715, ~: 106401)
152
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 104396, ~: 106401)
244
153
  [PASS] test_initialize() (gas: 22266)
245
154
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91915)
246
155
  [PASS] test_lzReceive_Redirect_WithCompose() (gas: 600866)
@@ -256,7 +165,7 @@ Ran 56 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
256
165
  [PASS] test_quoteOFT_Paused() (gas: 56064)
257
166
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 94089)
258
167
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 156364)
259
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 135366, ~: 135207)
168
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 135398, ~: 135207)
260
169
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82856)
261
170
  [PASS] test_rateLimit_Inflow() (gas: 88576)
262
171
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 78592)
@@ -271,62 +180,11 @@ Ran 56 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
271
180
  [PASS] test_send_WithFee() (gas: 411353)
272
181
  [PASS] test_setFeeDeposit() (gas: 28190)
273
182
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22077)
274
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38012, ~: 38195)
183
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38103, ~: 38195)
275
184
  [PASS] test_skip() (gas: 399103)
276
185
  [PASS] test_skip_Revert_Unauthorized() (gas: 20167)
277
186
  [PASS] test_token() (gas: 13448)
278
- Suite result: ok. 56 passed; 0 failed; 0 skipped; finished in 779.35ms (1.60s CPU time)
279
-
280
- Ran 48 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
281
- [PASS] test_burn() (gas: 434262)
282
- [PASS] test_burn_Revert_Unauthorized() (gas: 20114)
283
- [PASS] test_clear() (gas: 427523)
284
- [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366471)
285
- [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
286
- [PASS] test_credit() (gas: 91030)
287
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94323, ~: 94402)
288
- [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292254)
289
- [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 91006)
290
- [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280511)
291
- [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 340709)
292
- [PASS] test_debit() (gas: 111918)
293
- [PASS] test_debit_Dust() (gas: 134485)
294
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 136797, ~: 137272)
295
- [PASS] test_debit_PushesFees() (gas: 159496)
296
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 130803)
297
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 134483)
298
- [PASS] test_debit_WithFee() (gas: 161873)
299
- [PASS] test_debit_WithFee_Dust() (gas: 159495)
300
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 159231, ~: 159164)
301
- [PASS] test_initialize() (gas: 24400)
302
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91916)
303
- [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629086)
304
- [PASS] test_nilify() (gas: 425355)
305
- [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365897)
306
- [PASS] test_nilify_Revert_Unauthorized() (gas: 20173)
307
- [PASS] test_nilify_Unverified() (gas: 399612)
308
- [PASS] test_oftVersion() (gas: 14326)
309
- [PASS] test_pause_unpause() (gas: 142027)
310
- [PASS] test_quoteOFT() (gas: 69476)
311
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 79334)
312
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58187)
313
- [PASS] test_quoteOFT_Paused() (gas: 56064)
314
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 194764)
315
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 236534)
316
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192532, ~: 192353)
317
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82835)
318
- [PASS] test_rateLimit_Inflow() (gas: 131046)
319
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 155947)
320
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 172607)
321
- [PASS] test_send() (gas: 414390)
322
- [PASS] test_send_Revert_MsgInspection() (gas: 339962)
323
- [PASS] test_send_WithFee() (gas: 469433)
324
- [PASS] test_setFeeDeposit() (gas: 28165)
325
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22084)
326
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38070, ~: 38195)
327
- [PASS] test_skip() (gas: 399029)
328
- [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
329
- Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 779.42ms (1.94s CPU time)
187
+ Suite result: ok. 56 passed; 0 failed; 0 skipped; finished in 752.62ms (1.75s CPU time)
330
188
 
331
189
  Ran 49 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
332
190
  [PASS] test_burn() (gas: 434262)
@@ -335,20 +193,20 @@ Ran 49 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
335
193
  [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366471)
336
194
  [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
337
195
  [PASS] test_credit() (gas: 93030)
338
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 96208, ~: 96402)
196
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 96081, ~: 96402)
339
197
  [PASS] test_credit_NoRedirect_Allowlisted() (gas: 294298)
340
198
  [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 93006)
341
199
  [PASS] test_credit_Redirect_NotAllowlisted() (gas: 282511)
342
200
  [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 342687)
343
201
  [PASS] test_debit() (gas: 111918)
344
202
  [PASS] test_debit_Dust() (gas: 136085)
345
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138170, ~: 139094)
203
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138134, ~: 139094)
346
204
  [PASS] test_debit_PushesFees() (gas: 161496)
347
205
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 132803)
348
206
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 136083)
349
207
  [PASS] test_debit_WithFee() (gas: 161873)
350
208
  [PASS] test_debit_WithFee_Dust() (gas: 161495)
351
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161511, ~: 160764)
209
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 162061, ~: 160764)
352
210
  [PASS] test_initialize() (gas: 24400)
353
211
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91916)
354
212
  [PASS] test_lzReceive_Redirect_WithCompose() (gas: 631086)
@@ -364,7 +222,7 @@ Ran 49 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
364
222
  [PASS] test_quoteOFT_Paused() (gas: 56064)
365
223
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 196364)
366
224
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 238134)
367
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 194536, ~: 194353)
225
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 194534, ~: 194353)
368
226
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82835)
369
227
  [PASS] test_rateLimit_Inflow() (gas: 133024)
370
228
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157947)
@@ -375,61 +233,61 @@ Ran 49 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
375
233
  [PASS] test_send_WithFee() (gas: 510271)
376
234
  [PASS] test_setFeeDeposit() (gas: 28165)
377
235
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22084)
378
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38105, ~: 38240)
236
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38120, ~: 38240)
379
237
  [PASS] test_skip() (gas: 399029)
380
238
  [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
381
- Suite result: ok. 49 passed; 0 failed; 0 skipped; finished in 789.20ms (2.09s CPU time)
239
+ Suite result: ok. 49 passed; 0 failed; 0 skipped; finished in 804.19ms (2.26s CPU time)
382
240
 
383
- Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
384
- [PASS] test_burn() (gas: 434327)
241
+ Ran 48 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
242
+ [PASS] test_burn() (gas: 434262)
385
243
  [PASS] test_burn_Revert_Unauthorized() (gas: 20114)
386
- [PASS] test_clear() (gas: 427588)
387
- [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366559)
244
+ [PASS] test_clear() (gas: 427523)
245
+ [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366471)
388
246
  [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
389
- [PASS] test_credit() (gas: 90995)
390
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94391, ~: 94367)
391
- [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292244)
392
- [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 90971)
393
- [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280501)
394
- [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318777)
395
- [PASS] test_debit() (gas: 97098)
396
- [PASS] test_debit_Dust() (gas: 137703)
397
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140385, ~: 141116)
398
- [PASS] test_debit_PushesFees() (gas: 163540)
399
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 130813)
400
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 137700)
401
- [PASS] test_debit_WithFee() (gas: 162911)
402
- [PASS] test_debit_WithFee_Dust() (gas: 163539)
403
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166119, ~: 168540)
404
- [PASS] test_initialize() (gas: 24422)
405
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91893)
406
- [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629073)
407
- [PASS] test_nilify() (gas: 425420)
408
- [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365985)
247
+ [PASS] test_credit() (gas: 91030)
248
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94066, ~: 94402)
249
+ [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292254)
250
+ [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 91006)
251
+ [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280511)
252
+ [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 340709)
253
+ [PASS] test_debit() (gas: 111918)
254
+ [PASS] test_debit_Dust() (gas: 134485)
255
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 136614, ~: 137272)
256
+ [PASS] test_debit_PushesFees() (gas: 159496)
257
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 130803)
258
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 134483)
259
+ [PASS] test_debit_WithFee() (gas: 161873)
260
+ [PASS] test_debit_WithFee_Dust() (gas: 159495)
261
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 159350, ~: 159164)
262
+ [PASS] test_initialize() (gas: 24400)
263
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91916)
264
+ [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629086)
265
+ [PASS] test_nilify() (gas: 425355)
266
+ [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365897)
409
267
  [PASS] test_nilify_Revert_Unauthorized() (gas: 20173)
410
- [PASS] test_nilify_Unverified() (gas: 399700)
411
- [PASS] test_oftVersion() (gas: 14283)
412
- [PASS] test_pause_unpause() (gas: 128396)
413
- [PASS] test_quoteOFT() (gas: 69454)
414
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 79290)
415
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58143)
416
- [PASS] test_quoteOFT_Paused() (gas: 56020)
417
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 181316)
418
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 226811)
419
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196526, ~: 196353)
420
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82813)
421
- [PASS] test_rateLimit_Inflow() (gas: 109136)
422
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 155957)
423
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176651)
424
- [PASS] test_send() (gas: 395863)
425
- [PASS] test_send_Revert_MsgInspection() (gas: 322942)
426
- [PASS] test_send_WithFee() (gas: 471989)
427
- [PASS] test_setFeeDeposit() (gas: 28142)
428
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22061)
429
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38066, ~: 38172)
430
- [PASS] test_skip() (gas: 399117)
268
+ [PASS] test_nilify_Unverified() (gas: 399612)
269
+ [PASS] test_oftVersion() (gas: 14326)
270
+ [PASS] test_pause_unpause() (gas: 142027)
271
+ [PASS] test_quoteOFT() (gas: 69476)
272
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 79334)
273
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58187)
274
+ [PASS] test_quoteOFT_Paused() (gas: 56064)
275
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 194764)
276
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 236534)
277
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192511, ~: 192353)
278
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82835)
279
+ [PASS] test_rateLimit_Inflow() (gas: 131046)
280
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 155947)
281
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 172607)
282
+ [PASS] test_send() (gas: 414390)
283
+ [PASS] test_send_Revert_MsgInspection() (gas: 339962)
284
+ [PASS] test_send_WithFee() (gas: 469433)
285
+ [PASS] test_setFeeDeposit() (gas: 28165)
286
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22084)
287
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38108, ~: 38195)
288
+ [PASS] test_skip() (gas: 399029)
431
289
  [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
432
- Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 953.36ms (2.53s CPU time)
290
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 825.50ms (2.30s CPU time)
433
291
 
434
292
  Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
435
293
  [PASS] test_burn() (gas: 434327)
@@ -438,20 +296,20 @@ Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
438
296
  [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366559)
439
297
  [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
440
298
  [PASS] test_credit() (gas: 90978)
441
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94176, ~: 94350)
299
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94385, ~: 94350)
442
300
  [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292227)
443
301
  [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 90954)
444
302
  [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280484)
445
303
  [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318760)
446
304
  [PASS] test_debit() (gas: 97032)
447
305
  [PASS] test_debit_Dust() (gas: 137624)
448
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 139872, ~: 141017)
306
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140369, ~: 141017)
449
307
  [PASS] test_debit_PushesFees() (gas: 163441)
450
308
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 130813)
451
309
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 137621)
452
310
  [PASS] test_debit_WithFee() (gas: 162812)
453
311
  [PASS] test_debit_WithFee_Dust() (gas: 163440)
454
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 165845, ~: 168441)
312
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 165952, ~: 168441)
455
313
  [PASS] test_initialize() (gas: 24422)
456
314
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91893)
457
315
  [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629056)
@@ -467,7 +325,7 @@ Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
467
325
  [PASS] test_quoteOFT_Paused() (gas: 56020)
468
326
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 181183)
469
327
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 226613)
470
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196392, ~: 196248)
328
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196419, ~: 196254)
471
329
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82813)
472
330
  [PASS] test_rateLimit_Inflow() (gas: 109119)
473
331
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 155957)
@@ -477,63 +335,165 @@ Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedee
477
335
  [PASS] test_send_WithFee() (gas: 471890)
478
336
  [PASS] test_setFeeDeposit() (gas: 28142)
479
337
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22061)
480
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38047, ~: 38172)
338
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38076, ~: 38172)
481
339
  [PASS] test_skip() (gas: 399117)
482
340
  [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
483
- Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 954.36ms (1.59s CPU time)
341
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 874.53ms (2.85s CPU time)
484
342
 
485
- Ran 50 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
343
+ Ran 49 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
486
344
  [PASS] test_burn() (gas: 434327)
487
- [PASS] test_burn_Revert_Unauthorized() (gas: 20159)
488
- [PASS] test_clear() (gas: 427566)
489
- [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366537)
345
+ [PASS] test_burn_Revert_Unauthorized() (gas: 20114)
346
+ [PASS] test_clear() (gas: 427588)
347
+ [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366559)
490
348
  [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
491
- [PASS] test_credit() (gas: 90922)
492
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93982, ~: 94316)
493
- [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292215)
349
+ [PASS] test_credit() (gas: 90944)
350
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94148, ~: 94316)
351
+ [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292237)
494
352
  [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 90920)
495
353
  [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280450)
496
- [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318682)
354
+ [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318704)
497
355
  [PASS] test_debit() (gas: 119141)
498
- [PASS] test_debit_Dust() (gas: 143264)
499
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145359, ~: 146068)
500
- [PASS] test_debit_PushesFees() (gas: 164020)
501
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 132858)
502
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 143261)
503
- [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 120866)
356
+ [PASS] test_debit_Dust() (gas: 141681)
357
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 143721, ~: 144468)
358
+ [PASS] test_debit_PushesFees() (gas: 162438)
359
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 130813)
360
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 141679)
361
+ [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 120884)
504
362
  [PASS] test_debit_WithFee() (gas: 164348)
505
- [PASS] test_debit_WithFee_Dust() (gas: 164037)
506
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166017, ~: 167975)
507
- [PASS] test_initialize() (gas: 24463)
508
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91871)
363
+ [PASS] test_debit_WithFee_Dust() (gas: 162437)
364
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 164476, ~: 166372)
365
+ [PASS] test_initialize() (gas: 24422)
366
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91893)
509
367
  [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629022)
510
368
  [PASS] test_nilify() (gas: 425420)
511
- [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365963)
512
- [PASS] test_nilify_Revert_Unauthorized() (gas: 20217)
369
+ [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365985)
370
+ [PASS] test_nilify_Revert_Unauthorized() (gas: 20173)
513
371
  [PASS] test_nilify_Unverified() (gas: 399700)
514
- [PASS] test_oftVersion() (gas: 14325)
515
- [PASS] test_pause_unpause() (gas: 150823)
372
+ [PASS] test_oftVersion() (gas: 14283)
373
+ [PASS] test_pause_unpause() (gas: 149223)
516
374
  [PASS] test_quoteOFT() (gas: 69454)
517
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 79268)
518
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58121)
519
- [PASS] test_quoteOFT_Paused() (gas: 56065)
520
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 238890)
521
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 264793)
522
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 190383, ~: 190223)
523
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82791)
524
- [PASS] test_rateLimit_Inflow() (gas: 109063)
375
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 79290)
376
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58143)
377
+ [PASS] test_quoteOFT_Paused() (gas: 56020)
378
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 237290)
379
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 263193)
380
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 188771, ~: 188623)
381
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82813)
382
+ [PASS] test_rateLimit_Inflow() (gas: 109085)
383
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 155957)
384
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 172927)
385
+ [PASS] test_send() (gas: 382097)
386
+ [PASS] test_send_Revert_MsgInspection() (gas: 348976)
387
+ [PASS] test_send_WithFee() (gas: 457061)
388
+ [PASS] test_setFeeDeposit() (gas: 28142)
389
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22061)
390
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38111, ~: 38217)
391
+ [PASS] test_skip() (gas: 399117)
392
+ [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
393
+ Suite result: ok. 49 passed; 0 failed; 0 skipped; finished in 879.29ms (2.03s CPU time)
394
+
395
+ Ran 49 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
396
+ [PASS] test_burn() (gas: 434327)
397
+ [PASS] test_burn_Revert_Unauthorized() (gas: 20114)
398
+ [PASS] test_clear() (gas: 427588)
399
+ [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366559)
400
+ [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
401
+ [PASS] test_credit() (gas: 90995)
402
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94303, ~: 94367)
403
+ [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292288)
404
+ [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 90971)
405
+ [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280501)
406
+ [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318755)
407
+ [PASS] test_debit() (gas: 97098)
408
+ [PASS] test_debit_Dust() (gas: 139594)
409
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142387, ~: 143116)
410
+ [PASS] test_debit_PushesFees() (gas: 165540)
411
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 132813)
412
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139591)
413
+ [PASS] test_debit_WithFee() (gas: 162911)
414
+ [PASS] test_debit_WithFee_Dust() (gas: 165539)
415
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168201, ~: 170540)
416
+ [PASS] test_initialize() (gas: 24422)
417
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91893)
418
+ [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629073)
419
+ [PASS] test_nilify() (gas: 425420)
420
+ [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365985)
421
+ [PASS] test_nilify_Revert_Unauthorized() (gas: 20173)
422
+ [PASS] test_nilify_Unverified() (gas: 399700)
423
+ [PASS] test_oftVersion() (gas: 14283)
424
+ [PASS] test_pause_unpause() (gas: 129996)
425
+ [PASS] test_quoteOFT() (gas: 69454)
426
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 79290)
427
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58143)
428
+ [PASS] test_quoteOFT_Paused() (gas: 56020)
429
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 182916)
430
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 228811)
431
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198524, ~: 198353)
432
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82813)
433
+ [PASS] test_rateLimit_Inflow() (gas: 109114)
525
434
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157957)
526
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174509)
527
- [PASS] test_send() (gas: 451496)
528
- [PASS] test_send_Revert_MsgInspection() (gas: 350954)
529
- [PASS] test_send_Revert_OnlyAltToken() (gas: 248213)
530
- [PASS] test_send_WithFee() (gas: 497877)
531
- [PASS] test_setFeeDeposit() (gas: 28120)
435
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 178651)
436
+ [PASS] test_send() (gas: 415914)
437
+ [PASS] test_send_Revert_MsgInspection() (gas: 324942)
438
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 196834)
439
+ [PASS] test_send_WithFee() (gas: 487483)
440
+ [PASS] test_setFeeDeposit() (gas: 28142)
532
441
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22061)
533
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38103, ~: 38195)
534
- [PASS] test_skip() (gas: 399095)
442
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38103, ~: 38217)
443
+ [PASS] test_skip() (gas: 399117)
444
+ [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
445
+ Suite result: ok. 49 passed; 0 failed; 0 skipped; finished in 877.47ms (1.96s CPU time)
446
+
447
+ Ran 48 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
448
+ [PASS] test_burn() (gas: 434327)
449
+ [PASS] test_burn_Revert_Unauthorized() (gas: 20114)
450
+ [PASS] test_clear() (gas: 427588)
451
+ [PASS] test_clear_Revert_NilifierUnauthorized() (gas: 366559)
452
+ [PASS] test_clear_Revert_Unauthorized() (gas: 20812)
453
+ [PASS] test_credit() (gas: 90995)
454
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94060, ~: 94367)
455
+ [PASS] test_credit_NoRedirect_Allowlisted() (gas: 292244)
456
+ [PASS] test_credit_NoRedirect_ConfigUnset() (gas: 90971)
457
+ [PASS] test_credit_Redirect_NotAllowlisted() (gas: 280501)
458
+ [PASS] test_credit_Redirect_RateLimitUsesOriginalRecipient() (gas: 318777)
459
+ [PASS] test_debit() (gas: 97098)
460
+ [PASS] test_debit_Dust() (gas: 137703)
461
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140748, ~: 141116)
462
+ [PASS] test_debit_PushesFees() (gas: 163540)
463
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 130813)
464
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 137700)
465
+ [PASS] test_debit_WithFee() (gas: 162911)
466
+ [PASS] test_debit_WithFee_Dust() (gas: 163539)
467
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166409, ~: 168540)
468
+ [PASS] test_initialize() (gas: 24422)
469
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 91893)
470
+ [PASS] test_lzReceive_Redirect_WithCompose() (gas: 629073)
471
+ [PASS] test_nilify() (gas: 425420)
472
+ [PASS] test_nilify_Revert_ManagerUnauthorized() (gas: 365985)
473
+ [PASS] test_nilify_Revert_Unauthorized() (gas: 20173)
474
+ [PASS] test_nilify_Unverified() (gas: 399700)
475
+ [PASS] test_oftVersion() (gas: 14283)
476
+ [PASS] test_pause_unpause() (gas: 128396)
477
+ [PASS] test_quoteOFT() (gas: 69454)
478
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 79290)
479
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 58143)
480
+ [PASS] test_quoteOFT_Paused() (gas: 56020)
481
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 181316)
482
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 226811)
483
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196543, ~: 196353)
484
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 82813)
485
+ [PASS] test_rateLimit_Inflow() (gas: 109136)
486
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 155957)
487
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176651)
488
+ [PASS] test_send() (gas: 395863)
489
+ [PASS] test_send_Revert_MsgInspection() (gas: 322942)
490
+ [PASS] test_send_WithFee() (gas: 471989)
491
+ [PASS] test_setFeeDeposit() (gas: 28142)
492
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22061)
493
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38018, ~: 38172)
494
+ [PASS] test_skip() (gas: 399117)
535
495
  [PASS] test_skip_Revert_Unauthorized() (gas: 20130)
536
- Suite result: ok. 50 passed; 0 failed; 0 skipped; finished in 954.33ms (2.87s CPU time)
496
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 879.32ms (2.25s CPU time)
537
497
 
538
- Ran 9 test suites in 1.23s (7.42s CPU time): 445 tests passed, 0 failed, 0 skipped (445 total tests)
539
- ⏳ forge test: 41.981s
498
+ Ran 9 test suites in 1.22s (7.30s CPU time): 445 tests passed, 0 failed, 0 skipped (445 total tests)
499
+ ⏳ forge test: 59.749s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-upgradeable-evm-contracts",
3
- "version": "1.2.24",
3
+ "version": "1.2.26",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM upgradeable OFT implementation",
6
6
  "license": "MIT",
@@ -17,14 +17,14 @@
17
17
  "ethers": "^5.8.0",
18
18
  "hardhat-deploy": "^0.12.4",
19
19
  "solhint": "^6.0.1",
20
- "@layerzerolabs/oapp-evm-contracts": "1.2.24",
21
- "@layerzerolabs/oft-evm-contracts": "1.2.24",
22
- "@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.24",
23
- "@layerzerolabs/solhint-configuration": "1.2.24",
24
- "@layerzerolabs/test-utils-evm-contracts": "1.2.24",
25
- "@layerzerolabs/utils-evm-contracts": "1.2.24",
26
- "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.24",
27
- "@layerzerolabs/vm-tooling-evm": "1.2.24"
20
+ "@layerzerolabs/oapp-evm-contracts": "1.2.26",
21
+ "@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.26",
22
+ "@layerzerolabs/oft-evm-contracts": "1.2.26",
23
+ "@layerzerolabs/solhint-configuration": "1.2.26",
24
+ "@layerzerolabs/test-utils-evm-contracts": "1.2.26",
25
+ "@layerzerolabs/utils-evm-contracts": "1.2.26",
26
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.26",
27
+ "@layerzerolabs/vm-tooling-evm": "1.2.26"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public",