@layerzerolabs/oft-upgradeable-evm-contracts 1.2.12 → 1.2.14

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,103 +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-yZlnx0
14
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-fcuzxg
15
15
  📦 Copied 13 workspace package source(s)
16
16
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
17
- (node:30031) [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:35873) [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-yZlnx0:/workspace
22
+ -v /tmp/lz-scoped-workspace-fcuzxg:/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
- $ 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
26
- 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
27
- 📥 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 (platform: linux/amd64)
28
- $ docker pull --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
29
- forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
30
- 86ec798129ac: Pulling fs layer
31
- eef7c391911c: Pulling fs layer
32
- cc2ecf4065b7: Pulling fs layer
33
- 5760fdd70374: Pulling fs layer
34
- c70db14240a1: Pulling fs layer
35
- 0cb2c6965bde: Pulling fs layer
36
- 885bca26f927: Pulling fs layer
37
- 8e167e77288f: Pulling fs layer
38
- 45d43cc973ba: Pulling fs layer
39
- 44c09156221f: Pulling fs layer
40
- f2fb700979ad: Pulling fs layer
41
- 2a1ced882ba9: Pulling fs layer
42
- 597168d5c38e: Pulling fs layer
43
- e431adaf232f: Pulling fs layer
44
- 36e15e3f2788: Pulling fs layer
45
- 36e15e3f2788: Waiting
46
- 0cb2c6965bde: Waiting
47
- 885bca26f927: Waiting
48
- 8e167e77288f: Waiting
49
- 45d43cc973ba: Waiting
50
- 597168d5c38e: Waiting
51
- 2a1ced882ba9: Waiting
52
- e431adaf232f: Waiting
53
- 44c09156221f: Waiting
54
- f2fb700979ad: Waiting
55
- cc2ecf4065b7: Waiting
56
- 86ec798129ac: Waiting
57
- 5760fdd70374: Waiting
58
- eef7c391911c: Waiting
59
- c70db14240a1: Waiting
60
- eef7c391911c: Verifying Checksum
61
- eef7c391911c: Download complete
62
- 86ec798129ac: Verifying Checksum
63
- 86ec798129ac: Download complete
64
- 5760fdd70374: Verifying Checksum
65
- 5760fdd70374: Download complete
66
- c70db14240a1: Download complete
67
- cc2ecf4065b7: Verifying Checksum
68
- cc2ecf4065b7: Download complete
69
- 0cb2c6965bde: Verifying Checksum
70
- 0cb2c6965bde: Download complete
71
- 86ec798129ac: Pull complete
72
- eef7c391911c: Pull complete
73
- 8e167e77288f: Verifying Checksum
74
- 8e167e77288f: Download complete
75
- 45d43cc973ba: Verifying Checksum
76
- 44c09156221f: Verifying Checksum
77
- 44c09156221f: Download complete
78
- f2fb700979ad: Verifying Checksum
79
- f2fb700979ad: Download complete
80
- cc2ecf4065b7: Pull complete
81
- 5760fdd70374: Pull complete
82
- c70db14240a1: Pull complete
83
- 2a1ced882ba9: Verifying Checksum
84
- 2a1ced882ba9: Download complete
85
- 597168d5c38e: Verifying Checksum
86
- 597168d5c38e: Download complete
87
- 0cb2c6965bde: Pull complete
88
- 885bca26f927: Verifying Checksum
89
- 885bca26f927: Download complete
90
- e431adaf232f: Verifying Checksum
91
- e431adaf232f: Download complete
92
- 36e15e3f2788: Verifying Checksum
93
- 36e15e3f2788: Download complete
94
- 885bca26f927: Pull complete
95
- 8e167e77288f: Pull complete
96
- 45d43cc973ba: Pull complete
97
- 44c09156221f: Pull complete
98
- f2fb700979ad: Pull complete
99
- 2a1ced882ba9: Pull complete
100
- 597168d5c38e: Pull complete
101
- e431adaf232f: Pull complete
102
- 36e15e3f2788: Pull complete
103
- Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
104
- 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
105
- 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
106
- $ 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
107
- $ docker container rm 5cea09f80519e89ad293379b9e14d69f1e032d97143a7b03db4e6e9f87bed504
108
- ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
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
+ $ 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 bf8e4c8b41b2af2cde8f5f238960218c7116d8a1309815e29ca5d13ea13834b1
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)
109
29
  👤 Running container as UID:GID 1001:1001
110
- $ 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-yZlnx0:/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-3 hardhat compile --config /hardhat/hardhat.default.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-fcuzxg:/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/hardhat.default.config.js
111
31
  Compiling 76 Solidity files
112
32
  Warning: Contract code size is 28075 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.
113
33
  --> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
@@ -159,7 +79,7 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
159
79
 
160
80
 
161
81
  Successfully compiled 76 Solidity files
162
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 10.351s
82
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 9.803s
163
83
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
164
84
 
165
85
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -168,29 +88,29 @@ Successfully compiled 76 Solidity files
168
88
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
169
89
  ✅ forge-1.3.6-hardhat-2.26.3
170
90
  🔧 hardhat version: 2.26.3
171
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-OiRY2y
91
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-cxQjVK
172
92
  📦 Copied 13 workspace package source(s)
173
93
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
174
- (node:31349) [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.
94
+ (node:38069) [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.
175
95
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
176
96
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
177
97
  (Use `node --trace-warnings ...` to show where the warning was created)
178
98
  📦 Docker volumes:
179
- -v /tmp/lz-scoped-workspace-OiRY2y:/workspace
99
+ -v /tmp/lz-scoped-workspace-cxQjVK:/workspace
180
100
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
181
101
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
182
- $ 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
183
- $ 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
184
- $ docker container rm 91ce964d78d1c721fd6602585d3ec403c4118d133d267a745c54237a2bbee886
185
- ✅ 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)
102
+ $ 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
103
+ $ 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
104
+ $ docker container rm 62ffbbe07424ec95c92ec0c1e137f505e23983c51aa2983b11babfa870b3b053
105
+ ✅ 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)
186
106
  👤 Running container as UID:GID 1001:1001
187
- $ 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-OiRY2y:/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-3 hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet
107
+ $ 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-cxQjVK:/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/hardhat.default.config.js --network zksync-mainnet
188
108
  The solc version 1.3.22 is deprecated and will be removed for security reasons soon. Please update to v1.4.0 or newer.
189
109
  The zksolc compiler version in your Hardhat config file (1.3.22) is not the latest. We recommend using the latest version 1.5.15.
190
110
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
191
111
  Compiling 76 Solidity files
192
112
  Successfully compiled 76 Solidity files
193
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:15.210 (m:ss.mmm)
113
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:19.800 (m:ss.mmm)
194
114
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
195
115
 
196
116
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -199,23 +119,23 @@ Successfully compiled 76 Solidity files
199
119
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
200
120
  ✅ forge-1.3.6-hardhat-2.26.3
201
121
  🔧 hardhat version: 2.26.3
202
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-wXwMsz
122
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-W4LvrB
203
123
  📦 Copied 13 workspace package source(s)
204
124
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
205
- (node:50477) [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.
125
+ (node:50469) [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.
206
126
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
207
127
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
208
128
  (Use `node --trace-warnings ...` to show where the warning was created)
209
129
  📦 Docker volumes:
210
- -v /tmp/lz-scoped-workspace-wXwMsz:/workspace
130
+ -v /tmp/lz-scoped-workspace-W4LvrB:/workspace
211
131
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
212
132
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
213
- $ 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
214
- $ 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
215
- $ docker container rm 96e53b59ae5018fe6191c57d5555811db5fa25be76f989cf1b5c794e8067ce8f
216
- ✅ 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)
133
+ $ 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
134
+ $ 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
135
+ $ docker container rm 5fd199a6ebb417d5ed27c8c8407ea44218f6cf216c9f599f45281e4774a39de8
136
+ ✅ 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)
217
137
  👤 Running container as UID:GID 1001:1001
218
- $ 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-wXwMsz:/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-3 hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet
138
+ $ 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-W4LvrB:/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/hardhat.default.config.js --network tron-mainnet
219
139
  detected tron network, replacing deployments extension with custom one
220
140
  Tron-solc v0.8.23 is unknown version, attempting anyway...
221
141
  Compiling contracts with tron solc v0.8.23
@@ -270,4 +190,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
270
190
 
271
191
 
272
192
  Successfully compiled 76 Solidity files
273
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 32.903s
193
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 32.712s
@@ -4,74 +4,73 @@
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-w7qJl7
7
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-GTbnbW
8
8
  📦 Copied 13 workspace package source(s)
9
9
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
10
- (node:368213) [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:64770) [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-w7qJl7:/workspace
15
+ -v /tmp/lz-scoped-workspace-GTbnbW:/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
- $ 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
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-3 (amd64)
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
+ ✅ 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)
20
20
  👤 Running container as UID:GID 1001:1001
21
- $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-w7qJl7:/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-3 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-GTbnbW:/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
22
22
  Compiling 185 files with Solc 0.8.22
23
- Solc 0.8.22 finished in 46.97s
23
+ Solc 0.8.22 finished in 40.63s
24
24
  Compiler run successful!
25
25
 
26
- Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
27
- [PASS] test_credit() (gas: 91882)
28
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95083, ~: 95314)
29
- [PASS] test_debit() (gas: 113036)
30
- [PASS] test_debit_Dust() (gas: 137551)
31
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140067, ~: 140423)
32
- [PASS] test_debit_PushesFees() (gas: 163342)
33
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
34
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
35
- [PASS] test_debit_WithFee() (gas: 163924)
36
- [PASS] test_debit_WithFee_Dust() (gas: 163430)
37
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163211, ~: 162567)
38
- [PASS] test_initialize() (gas: 24656)
39
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
40
- [PASS] test_pause_unpause() (gas: 145524)
41
- [PASS] test_quoteOFT() (gas: 70757)
42
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
43
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59240)
44
- [PASS] test_quoteOFT_Paused() (gas: 56637)
45
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
46
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
47
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198102, ~: 197912)
48
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
49
- [PASS] test_rateLimit_Inflow() (gas: 132710)
50
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
51
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 176893)
52
- [PASS] test_send() (gas: 465637)
53
- [PASS] test_send_Revert_MsgInspection() (gas: 327696)
54
- [PASS] test_send_Revert_OnlyAltToken() (gas: 241148)
55
- [PASS] test_send_WithFee() (gas: 516566)
56
- [PASS] test_setFeeDeposit() (gas: 28423)
57
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
58
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38925, ~: 39012)
59
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 560.51ms (1.61s CPU time)
26
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
27
+ [PASS] test_credit() (gas: 89907)
28
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93201, ~: 93339)
29
+ [PASS] test_debit() (gas: 98305)
30
+ [PASS] test_debit_Dust() (gas: 139763)
31
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142812, ~: 143477)
32
+ [PASS] test_debit_PushesFees() (gas: 165812)
33
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
34
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
35
+ [PASS] test_debit_WithFee() (gas: 165286)
36
+ [PASS] test_debit_WithFee_Dust() (gas: 165900)
37
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168887, ~: 171220)
38
+ [PASS] test_initialize() (gas: 24722)
39
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
40
+ [PASS] test_pause_unpause() (gas: 130445)
41
+ [PASS] test_quoteOFT() (gas: 70712)
42
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
43
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
44
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
45
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
46
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
47
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200484, ~: 200315)
48
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
49
+ [PASS] test_rateLimit_Inflow() (gas: 108772)
50
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
51
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
52
+ [PASS] test_send() (gas: 400494)
53
+ [PASS] test_send_Revert_MsgInspection() (gas: 308847)
54
+ [PASS] test_send_WithFee() (gas: 477358)
55
+ [PASS] test_setFeeDeposit() (gas: 28359)
56
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
57
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38880, ~: 38967)
58
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 500.30ms (1.15s CPU time)
60
59
 
61
60
  Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
62
61
  [PASS] test_approvalRequired() (gas: 13426)
63
62
  [PASS] test_credit() (gas: 62369)
64
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65872, ~: 65954)
63
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65694, ~: 65954)
65
64
  [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
66
65
  [PASS] test_debit() (gas: 36831)
67
66
  [PASS] test_debit_Dust() (gas: 76272)
68
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79488, ~: 79886)
67
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79265, ~: 79886)
69
68
  [PASS] test_debit_PushesFees() (gas: 101339)
70
69
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
71
70
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
72
71
  [PASS] test_debit_WithFee() (gas: 101145)
73
72
  [PASS] test_debit_WithFee_Dust() (gas: 102376)
74
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105767, ~: 107585)
73
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105719, ~: 107585)
75
74
  [PASS] test_initialize() (gas: 22406)
76
75
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
77
76
  [PASS] test_pause_unpause() (gas: 61117)
@@ -81,7 +80,7 @@ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
81
80
  [PASS] test_quoteOFT_Paused() (gas: 56703)
82
81
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
83
82
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
84
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137871, ~: 137703)
83
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137884, ~: 137703)
85
84
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
86
85
  [PASS] test_rateLimit_Inflow() (gas: 87713)
87
86
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
@@ -96,22 +95,22 @@ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
96
95
  [PASS] test_send_WithFee() (gas: 415240)
97
96
  [PASS] test_setFeeDeposit() (gas: 28425)
98
97
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
99
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38902, ~: 39011)
98
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38862, ~: 39011)
100
99
  [PASS] test_token() (gas: 13483)
101
- Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 668.16ms (1.54s CPU time)
100
+ Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 507.92ms (1.36s CPU time)
102
101
 
103
102
  Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
104
103
  [PASS] test_credit() (gas: 89871)
105
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93111, ~: 93303)
104
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93120, ~: 93303)
106
105
  [PASS] test_debit() (gas: 98327)
107
106
  [PASS] test_debit_Dust() (gas: 141836)
108
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144373, ~: 145461)
107
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144754, ~: 145461)
109
108
  [PASS] test_debit_PushesFees() (gas: 167796)
110
109
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
111
110
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
112
111
  [PASS] test_debit_WithFee() (gas: 165270)
113
112
  [PASS] test_debit_WithFee_Dust() (gas: 167884)
114
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170784, ~: 173204)
113
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170818, ~: 173204)
115
114
  [PASS] test_initialize() (gas: 24700)
116
115
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
117
116
  [PASS] test_pause_unpause() (gas: 132067)
@@ -121,7 +120,7 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
121
120
  [PASS] test_quoteOFT_Paused() (gas: 56570)
122
121
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
123
122
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
124
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202473, ~: 202293)
123
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202502, ~: 202299)
125
124
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
126
125
  [PASS] test_rateLimit_Inflow() (gas: 108824)
127
126
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -132,22 +131,125 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
132
131
  [PASS] test_send_WithFee() (gas: 493959)
133
132
  [PASS] test_setFeeDeposit() (gas: 28445)
134
133
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
135
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
136
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 677.23ms (2.14s CPU time)
134
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38971, ~: 39034)
135
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 508.68ms (1.48s 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, μ: 95158, ~: 95314)
140
+ [PASS] test_debit() (gas: 113036)
141
+ [PASS] test_debit_Dust() (gas: 137551)
142
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140316, ~: 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, μ: 163431, ~: 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, μ: 198092, ~: 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, μ: 38911, ~: 39012)
170
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 557.19ms (1.24s CPU time)
171
+
172
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
173
+ [PASS] test_credit() (gas: 89874)
174
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93027, ~: 93306)
175
+ [PASS] test_debit() (gas: 98332)
176
+ [PASS] test_debit_Dust() (gas: 139763)
177
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 143130, ~: 143477)
178
+ [PASS] test_debit_PushesFees() (gas: 165812)
179
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
180
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
181
+ [PASS] test_debit_WithFee() (gas: 165286)
182
+ [PASS] test_debit_WithFee_Dust() (gas: 165900)
183
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168685, ~: 171220)
184
+ [PASS] test_initialize() (gas: 24722)
185
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
186
+ [PASS] test_pause_unpause() (gas: 130472)
187
+ [PASS] test_quoteOFT() (gas: 70712)
188
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
189
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
190
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
191
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
192
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
193
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200464, ~: 200309)
194
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
195
+ [PASS] test_rateLimit_Inflow() (gas: 108739)
196
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
197
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
198
+ [PASS] test_send() (gas: 400527)
199
+ [PASS] test_send_Revert_MsgInspection() (gas: 308880)
200
+ [PASS] test_send_WithFee() (gas: 477358)
201
+ [PASS] test_setFeeDeposit() (gas: 28359)
202
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
203
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38899, ~: 38967)
204
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 559.02ms (1.34s CPU time)
205
+
206
+ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
207
+ [PASS] test_credit() (gas: 89882)
208
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93197, ~: 93314)
209
+ [PASS] test_debit() (gas: 113036)
210
+ [PASS] test_debit_Dust() (gas: 135880)
211
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138326, ~: 138823)
212
+ [PASS] test_debit_PushesFees() (gas: 161342)
213
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
214
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
215
+ [PASS] test_debit_WithFee() (gas: 163924)
216
+ [PASS] test_debit_WithFee_Dust() (gas: 161430)
217
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161651, ~: 160967)
218
+ [PASS] test_initialize() (gas: 24678)
219
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
220
+ [PASS] test_pause_unpause() (gas: 143924)
221
+ [PASS] test_quoteOFT() (gas: 70757)
222
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
223
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
224
+ [PASS] test_quoteOFT_Paused() (gas: 56637)
225
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
226
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
227
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196085, ~: 195912)
228
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
229
+ [PASS] test_rateLimit_Inflow() (gas: 130622)
230
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
231
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
232
+ [PASS] test_send() (gas: 418929)
233
+ [PASS] test_send_Revert_MsgInspection() (gas: 325718)
234
+ [PASS] test_send_WithFee() (gas: 474453)
235
+ [PASS] test_setFeeDeposit() (gas: 28337)
236
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
237
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38803, ~: 38945)
238
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 576.22ms (1.51s CPU time)
137
239
 
138
240
  Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
139
241
  [PASS] test_credit() (gas: 89873)
140
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92763, ~: 93305)
242
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93144, ~: 93305)
141
243
  [PASS] test_debit() (gas: 120710)
142
244
  [PASS] test_debit_Dust() (gas: 143616)
143
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145607, ~: 146486)
245
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145679, ~: 146486)
144
246
  [PASS] test_debit_PushesFees() (gas: 164384)
145
247
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
146
248
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
147
249
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
148
250
  [PASS] test_debit_WithFee() (gas: 166449)
149
251
  [PASS] test_debit_WithFee_Dust() (gas: 164455)
150
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166621, ~: 168645)
252
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166734, ~: 168645)
151
253
  [PASS] test_initialize() (gas: 24700)
152
254
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
153
255
  [PASS] test_pause_unpause() (gas: 151598)
@@ -157,7 +259,7 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
157
259
  [PASS] test_quoteOFT_Paused() (gas: 56570)
158
260
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
159
261
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
160
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192072, ~: 191921)
262
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192058, ~: 191921)
161
263
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
162
264
  [PASS] test_rateLimit_Inflow() (gas: 108738)
163
265
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -167,56 +269,22 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
167
269
  [PASS] test_send_WithFee() (gas: 462592)
168
270
  [PASS] test_setFeeDeposit() (gas: 28445)
169
271
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
170
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38971, ~: 39034)
171
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 735.80ms (2.38s CPU time)
172
-
173
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
174
- [PASS] test_credit() (gas: 89907)
175
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93090, ~: 93339)
176
- [PASS] test_debit() (gas: 98305)
177
- [PASS] test_debit_Dust() (gas: 139763)
178
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142740, ~: 143477)
179
- [PASS] test_debit_PushesFees() (gas: 165812)
180
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
181
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
182
- [PASS] test_debit_WithFee() (gas: 165286)
183
- [PASS] test_debit_WithFee_Dust() (gas: 165900)
184
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168959, ~: 171220)
185
- [PASS] test_initialize() (gas: 24722)
186
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
187
- [PASS] test_pause_unpause() (gas: 130445)
188
- [PASS] test_quoteOFT() (gas: 70712)
189
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
190
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
191
- [PASS] test_quoteOFT_Paused() (gas: 56570)
192
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
193
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
194
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200509, ~: 200315)
195
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
196
- [PASS] test_rateLimit_Inflow() (gas: 108772)
197
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
198
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
199
- [PASS] test_send() (gas: 400494)
200
- [PASS] test_send_Revert_MsgInspection() (gas: 308847)
201
- [PASS] test_send_WithFee() (gas: 477358)
202
- [PASS] test_setFeeDeposit() (gas: 28359)
203
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
204
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38813, ~: 38967)
205
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 744.08ms (2.24s CPU time)
272
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38933, ~: 39034)
273
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 620.02ms (1.76s CPU time)
206
274
 
207
275
  Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
208
276
  [PASS] test_credit() (gas: 89873)
209
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93341, ~: 93305)
277
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93093, ~: 93305)
210
278
  [PASS] test_debit() (gas: 120710)
211
279
  [PASS] test_debit_Dust() (gas: 145216)
212
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147440, ~: 148086)
280
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147416, ~: 148086)
213
281
  [PASS] test_debit_PushesFees() (gas: 165984)
214
282
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
215
283
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
216
284
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
217
285
  [PASS] test_debit_WithFee() (gas: 166449)
218
286
  [PASS] test_debit_WithFee_Dust() (gas: 166055)
219
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168355, ~: 170245)
287
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168302, ~: 170238)
220
288
  [PASS] test_initialize() (gas: 24700)
221
289
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
222
290
  [PASS] test_pause_unpause() (gas: 153198)
@@ -226,7 +294,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
226
294
  [PASS] test_quoteOFT_Paused() (gas: 56570)
227
295
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
228
296
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
229
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193659, ~: 193521)
297
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193686, ~: 193521)
230
298
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
231
299
  [PASS] test_rateLimit_Inflow() (gas: 108826)
232
300
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -237,55 +305,21 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
237
305
  [PASS] test_send_WithFee() (gas: 504694)
238
306
  [PASS] test_setFeeDeposit() (gas: 28445)
239
307
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
240
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38942, ~: 39034)
241
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 826.64ms (2.24s CPU time)
242
-
243
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
244
- [PASS] test_credit() (gas: 89874)
245
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92952, ~: 93306)
246
- [PASS] test_debit() (gas: 98332)
247
- [PASS] test_debit_Dust() (gas: 139763)
248
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142558, ~: 143477)
249
- [PASS] test_debit_PushesFees() (gas: 165812)
250
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
251
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
252
- [PASS] test_debit_WithFee() (gas: 165286)
253
- [PASS] test_debit_WithFee_Dust() (gas: 165900)
254
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168930, ~: 171220)
255
- [PASS] test_initialize() (gas: 24722)
256
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
257
- [PASS] test_pause_unpause() (gas: 130472)
258
- [PASS] test_quoteOFT() (gas: 70712)
259
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
260
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
261
- [PASS] test_quoteOFT_Paused() (gas: 56570)
262
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
263
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
264
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200498, ~: 200315)
265
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
266
- [PASS] test_rateLimit_Inflow() (gas: 108739)
267
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
268
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
269
- [PASS] test_send() (gas: 400527)
270
- [PASS] test_send_Revert_MsgInspection() (gas: 308880)
271
- [PASS] test_send_WithFee() (gas: 477358)
272
- [PASS] test_setFeeDeposit() (gas: 28359)
273
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
274
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38880, ~: 38967)
275
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 860.00ms (1.88s CPU time)
308
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38971, ~: 39034)
309
+ Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 620.14ms (1.53s CPU time)
276
310
 
277
311
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
278
312
  [PASS] test_credit() (gas: 89871)
279
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92950, ~: 93303)
313
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93236, ~: 93303)
280
314
  [PASS] test_debit() (gas: 98327)
281
315
  [PASS] test_debit_Dust() (gas: 139747)
282
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 141977, ~: 143461)
316
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142722, ~: 143461)
283
317
  [PASS] test_debit_PushesFees() (gas: 165796)
284
318
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
285
319
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
286
320
  [PASS] test_debit_WithFee() (gas: 165270)
287
321
  [PASS] test_debit_WithFee_Dust() (gas: 165884)
288
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169238, ~: 171204)
322
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169064, ~: 171204)
289
323
  [PASS] test_initialize() (gas: 24722)
290
324
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
291
325
  [PASS] test_pause_unpause() (gas: 130467)
@@ -295,7 +329,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
295
329
  [PASS] test_quoteOFT_Paused() (gas: 56570)
296
330
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
297
331
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
298
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200473, ~: 200293)
332
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200485, ~: 200299)
299
333
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
300
334
  [PASS] test_rateLimit_Inflow() (gas: 108736)
301
335
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -306,41 +340,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
306
340
  [PASS] test_setFeeDeposit() (gas: 28359)
307
341
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
308
342
  [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38895, ~: 38967)
309
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 887.21ms (2.10s CPU time)
310
-
311
- Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
312
- [PASS] test_credit() (gas: 89882)
313
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93039, ~: 93314)
314
- [PASS] test_debit() (gas: 113036)
315
- [PASS] test_debit_Dust() (gas: 135880)
316
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138057, ~: 138823)
317
- [PASS] test_debit_PushesFees() (gas: 161342)
318
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
319
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
320
- [PASS] test_debit_WithFee() (gas: 163924)
321
- [PASS] test_debit_WithFee_Dust() (gas: 161430)
322
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161327, ~: 160967)
323
- [PASS] test_initialize() (gas: 24678)
324
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
325
- [PASS] test_pause_unpause() (gas: 143924)
326
- [PASS] test_quoteOFT() (gas: 70757)
327
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
328
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
329
- [PASS] test_quoteOFT_Paused() (gas: 56637)
330
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
331
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
332
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196089, ~: 195912)
333
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
334
- [PASS] test_rateLimit_Inflow() (gas: 130622)
335
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
336
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
337
- [PASS] test_send() (gas: 418929)
338
- [PASS] test_send_Revert_MsgInspection() (gas: 325718)
339
- [PASS] test_send_WithFee() (gas: 474453)
340
- [PASS] test_setFeeDeposit() (gas: 28337)
341
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
342
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38822, ~: 38945)
343
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 887.31ms (1.64s CPU time)
343
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 620.13ms (1.62s CPU time)
344
344
 
345
- Ran 9 test suites in 1.02s (6.85s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
346
- ⏳ forge test: 50.901s
345
+ Ran 9 test suites in 896.00ms (5.07s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
346
+ ⏳ forge test: 44.167s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-upgradeable-evm-contracts",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM upgradeable OFT implementation",
6
6
  "license": "MIT",
@@ -10,18 +10,18 @@
10
10
  "@layerzerolabs/lz-evm-v1-0.7": "3.0.168",
11
11
  "@layerzerolabs/test-devtools-evm-foundry": "8.0.1",
12
12
  "@layerzerolabs/toolbox-foundry": "^0.1.13",
13
- "@openzeppelin/contracts": "^5.0.2",
14
- "@openzeppelin/contracts-upgradeable": "^5.0.2",
13
+ "@openzeppelin/contracts": ">=5.0.2 <5.5.0",
14
+ "@openzeppelin/contracts-upgradeable": ">=5.0.2 <5.5.0",
15
15
  "ethers": "^5.8.0",
16
16
  "solhint": "^6.0.1",
17
- "@layerzerolabs/oapp-evm-contracts": "1.2.12",
18
- "@layerzerolabs/oft-evm-contracts": "1.2.12",
19
- "@layerzerolabs/solhint-configuration": "1.2.12",
20
- "@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.12",
21
- "@layerzerolabs/test-utils-evm-contracts": "1.2.12",
22
- "@layerzerolabs/utils-evm-contracts": "1.2.12",
23
- "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.12",
24
- "@layerzerolabs/vm-tooling-evm": "1.2.12"
17
+ "@layerzerolabs/oapp-evm-contracts": "1.2.14",
18
+ "@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.14",
19
+ "@layerzerolabs/oft-evm-contracts": "1.2.14",
20
+ "@layerzerolabs/solhint-configuration": "1.2.14",
21
+ "@layerzerolabs/test-utils-evm-contracts": "1.2.14",
22
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.14",
23
+ "@layerzerolabs/vm-tooling-evm": "1.2.14",
24
+ "@layerzerolabs/utils-evm-contracts": "1.2.14"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public",