@layerzerolabs/oft-upgradeable-evm-contracts 0.2.133 → 1.2.7

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.
@@ -6,29 +6,104 @@
6
6
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
7
7
 
8
8
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:evm /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
9
- > pnpm lz-tool --env TS_NODE_COMPILER_OPTIONS='{"module":"CommonJS","moduleResolution":"node"}' hardhat compile --config /hardhat/hardhat.default.config.js
9
+ > pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js
10
10
 
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-TN3N6P
14
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-YcZeXi
15
15
  📦 Copied 13 workspace package source(s)
16
16
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
17
- (node:188106) [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:29380) [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-TN3N6P:/workspace
22
+ -v /tmp/lz-scoped-workspace-YcZeXi:/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-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
+ 5760fdd70374: Waiting
47
+ c70db14240a1: Waiting
48
+ 0cb2c6965bde: Waiting
49
+ 885bca26f927: Waiting
50
+ 8e167e77288f: Waiting
51
+ 2a1ced882ba9: Waiting
52
+ 597168d5c38e: Waiting
53
+ e431adaf232f: Waiting
54
+ 45d43cc973ba: Waiting
55
+ f2fb700979ad: Waiting
56
+ 44c09156221f: Waiting
57
+ eef7c391911c: Verifying Checksum
58
+ eef7c391911c: Download complete
59
+ 5760fdd70374: Verifying Checksum
60
+ 5760fdd70374: Download complete
61
+ 86ec798129ac: Verifying Checksum
62
+ 86ec798129ac: Download complete
63
+ c70db14240a1: Verifying Checksum
64
+ c70db14240a1: Download complete
65
+ cc2ecf4065b7: Verifying Checksum
66
+ cc2ecf4065b7: Download complete
67
+ 86ec798129ac: Pull complete
68
+ 8e167e77288f: Download complete
69
+ 45d43cc973ba: Verifying Checksum
70
+ 45d43cc973ba: Download complete
71
+ 0cb2c6965bde: Verifying Checksum
72
+ 0cb2c6965bde: Download complete
73
+ 44c09156221f: Verifying Checksum
74
+ 44c09156221f: Download complete
75
+ f2fb700979ad: Verifying Checksum
76
+ f2fb700979ad: Download complete
77
+ 597168d5c38e: Download complete
78
+ eef7c391911c: Pull complete
79
+ cc2ecf4065b7: Pull complete
80
+ 5760fdd70374: Pull complete
81
+ c70db14240a1: Pull complete
82
+ 2a1ced882ba9: Verifying Checksum
83
+ 2a1ced882ba9: Download complete
84
+ 0cb2c6965bde: Pull complete
85
+ 36e15e3f2788: Download complete
86
+ 885bca26f927: Verifying Checksum
87
+ 885bca26f927: Download complete
88
+ e431adaf232f: Verifying Checksum
89
+ e431adaf232f: Download complete
90
+ 885bca26f927: Pull complete
91
+ 8e167e77288f: Pull complete
92
+ 45d43cc973ba: Pull complete
93
+ 44c09156221f: Pull complete
94
+ f2fb700979ad: Pull complete
95
+ 2a1ced882ba9: Pull complete
96
+ 597168d5c38e: Pull complete
97
+ e431adaf232f: Pull complete
98
+ 36e15e3f2788: Pull complete
99
+ Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
100
+ 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
101
+ 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
26
102
  $ 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
27
- $ docker container rm 809289316aeb9222cc2c51f50c7b4aa6359797ffdcea74051873fe45e15ca9a3
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-3 (linux/amd64)
103
+ $ docker container rm 14dbe4d0976c8d3192edc6706bab34d4e0827b11e46a5dddd1e7a31b0ad16b93
104
+ ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
29
105
  👤 Running container as UID:GID 1001:1001
30
- 🌍 Using 1 custom environment variable(s)
31
- $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e $'TS_NODE_COMPILER_OPTIONS={"module":"CommonJS","moduleResolution":"node"}' -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-TN3N6P:/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
106
+ $ 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-YcZeXi:/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
32
107
  Compiling 76 Solidity files
33
108
  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.
34
109
  --> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
@@ -80,68 +155,66 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
80
155
 
81
156
 
82
157
  Successfully compiled 76 Solidity files
83
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 10.863s
158
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 11.190s
84
159
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
85
160
 
86
161
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
87
- > pnpm lz-tool --env TS_NODE_COMPILER_OPTIONS='{"module":"CommonJS","moduleResolution":"node"}' hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet
162
+ > pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet
88
163
 
89
164
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
90
165
  ✅ forge-1.3.6-hardhat-2.26.3
91
166
  🔧 hardhat version: 2.26.3
92
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-ZwpByW
167
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-khzu25
93
168
  📦 Copied 13 workspace package source(s)
94
169
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
95
- (node:191707) [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.
170
+ (node:30726) [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
171
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
97
172
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
98
173
  (Use `node --trace-warnings ...` to show where the warning was created)
99
174
  📦 Docker volumes:
100
- -v /tmp/lz-scoped-workspace-ZwpByW:/workspace
175
+ -v /tmp/lz-scoped-workspace-khzu25:/workspace
101
176
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
102
177
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
103
178
  $ 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
104
179
  $ 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
105
- $ docker container rm 374a0ea4fdfc547e81fbe0066f15d2b5573cd91eff70f27e99e9629db03251f5
180
+ $ docker container rm 4c8181fe041bfa26c659cbd81d465b814631a721c544cbc47e1a507a126ff87d
106
181
  ✅ 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)
107
182
  👤 Running container as UID:GID 1001:1001
108
- 🌍 Using 1 custom environment variable(s)
109
- $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e $'TS_NODE_COMPILER_OPTIONS={"module":"CommonJS","moduleResolution":"node"}' -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-ZwpByW:/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
183
+ $ 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-khzu25:/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
110
184
  The solc version 1.3.22 is deprecated and will be removed for security reasons soon. Please update to v1.4.0 or newer.
111
185
  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.
112
186
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
113
187
  Compiling 76 Solidity files
114
188
  Successfully compiled 76 Solidity files
115
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:23.972 (m:ss.mmm)
189
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:04.464 (m:ss.mmm)
116
190
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
117
191
 
118
192
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
119
- > pnpm lz-tool --env TS_NODE_COMPILER_OPTIONS='{"module":"CommonJS","moduleResolution":"node"}' hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet
193
+ > pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet
120
194
 
121
195
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
122
196
  ✅ forge-1.3.6-hardhat-2.26.3
123
197
  🔧 hardhat version: 2.26.3
124
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-5AJi1J
198
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-TJVRVw
125
199
  📦 Copied 13 workspace package source(s)
126
200
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
127
- (node:204027) [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.
201
+ (node:32208) [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.
128
202
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
129
203
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
130
204
  (Use `node --trace-warnings ...` to show where the warning was created)
131
205
  📦 Docker volumes:
132
- -v /tmp/lz-scoped-workspace-5AJi1J:/workspace
206
+ -v /tmp/lz-scoped-workspace-TJVRVw:/workspace
133
207
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
134
208
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
135
209
  $ 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
136
210
  $ 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
137
- $ docker container rm b880d753b4c5051255293bdc34344c62435e9acc6ab81a7b3a109c7f95b7569c
211
+ $ docker container rm 547c406a3d22fbb14b63823bb95bc0a6bf70b1203b868eaddc03befcc461587c
138
212
  ✅ 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)
139
213
  👤 Running container as UID:GID 1001:1001
140
- 🌍 Using 1 custom environment variable(s)
141
- $ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e $'TS_NODE_COMPILER_OPTIONS={"module":"CommonJS","moduleResolution":"node"}' -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-5AJi1J:/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
214
+ $ 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-TJVRVw:/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
142
215
  detected tron network, replacing deployments extension with custom one
143
- Compiling contracts with tron solc v0.8.23
144
216
  Tron-solc v0.8.23 is unknown version, attempting anyway...
217
+ Compiling contracts with tron solc v0.8.23
145
218
  Compiling 76 Solidity files
146
219
  Warning: Contract code size is 29971 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.
147
220
  --> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
@@ -193,4 +266,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
193
266
 
194
267
 
195
268
  Successfully compiled 76 Solidity files
196
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 36.921s
269
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 29.360s
@@ -4,114 +4,89 @@
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-w1LVr7
7
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-CU8MQ9
8
8
  📦 Copied 13 workspace package source(s)
9
9
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
10
- 📦 Docker volumes:
11
- (node:199324) [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:87990) [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.
12
11
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
13
12
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
14
13
  (Use `node --trace-warnings ...` to show where the warning was created)
15
- -v /tmp/lz-scoped-workspace-w1LVr7:/workspace
14
+ 📦 Docker volumes:
15
+ -v /tmp/lz-scoped-workspace-CU8MQ9:/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-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)
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-3
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-3
21
+ $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
22
+ forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
23
+ 86ec798129ac: Already exists
24
+ eef7c391911c: Already exists
25
+ cc2ecf4065b7: Pulling fs layer
26
+ 5760fdd70374: Pulling fs layer
27
+ c70db14240a1: Pulling fs layer
28
+ 0cb2c6965bde: Pulling fs layer
29
+ 885bca26f927: Pulling fs layer
30
+ 8e167e77288f: Pulling fs layer
31
+ 45d43cc973ba: Pulling fs layer
32
+ 5760fdd70374: Download complete
33
+ 44c09156221f: Pulling fs layer
34
+ f2fb700979ad: Pulling fs layer
35
+ c70db14240a1: Download complete
36
+ 45d43cc973ba: Download complete
37
+ 2a1ced882ba9: Pulling fs layer
38
+ 8e167e77288f: Download complete
39
+ 0cb2c6965bde: Download complete
40
+ 44c09156221f: Download complete
41
+ 597168d5c38e: Pulling fs layer
42
+ e431adaf232f: Pulling fs layer
43
+ f2fb700979ad: Download complete
44
+ 2a1ced882ba9: Download complete
45
+ 36e15e3f2788: Pulling fs layer
46
+ 36e15e3f2788: Waiting
47
+ 597168d5c38e: Download complete
48
+ 36e15e3f2788: Verifying Checksum
49
+ 36e15e3f2788: Download complete
50
+ e431adaf232f: Verifying Checksum
51
+ e431adaf232f: Download complete
52
+ cc2ecf4065b7: Pull complete
53
+ 5760fdd70374: Pull complete
54
+ c70db14240a1: Pull complete
55
+ 885bca26f927: Verifying Checksum
56
+ 885bca26f927: Download complete
57
+ 0cb2c6965bde: Pull complete
58
+ 885bca26f927: Pull complete
59
+ 8e167e77288f: Pull complete
60
+ 45d43cc973ba: Pull complete
61
+ 44c09156221f: Pull complete
62
+ f2fb700979ad: Pull complete
63
+ 2a1ced882ba9: Pull complete
64
+ 597168d5c38e: Pull complete
65
+ e431adaf232f: Pull complete
66
+ 36e15e3f2788: Pull complete
67
+ Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
68
+ 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-3
69
+ 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
70
+ ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
20
71
  👤 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-w1LVr7:/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
72
+ $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-CU8MQ9:/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
22
73
  Compiling 185 files with Solc 0.8.22
23
- Solc 0.8.22 finished in 67.48s
74
+ Solc 0.8.22 finished in 36.03s
24
75
  Compiler run successful!
25
76
 
26
- Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
27
- [PASS] test_approvalRequired() (gas: 13426)
28
- [PASS] test_credit() (gas: 62369)
29
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65792, ~: 65954)
30
- [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
31
- [PASS] test_debit() (gas: 36831)
32
- [PASS] test_debit_Dust() (gas: 76272)
33
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79534, ~: 79886)
34
- [PASS] test_debit_PushesFees() (gas: 101339)
35
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
36
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
37
- [PASS] test_debit_WithFee() (gas: 101145)
38
- [PASS] test_debit_WithFee_Dust() (gas: 102376)
39
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105353, ~: 107585)
40
- [PASS] test_initialize() (gas: 22406)
41
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
42
- [PASS] test_pause_unpause() (gas: 61117)
43
- [PASS] test_quoteOFT() (gas: 70779)
44
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
45
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
46
- [PASS] test_quoteOFT_Paused() (gas: 56703)
47
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
48
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
49
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137923, ~: 137703)
50
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
51
- [PASS] test_rateLimit_Inflow() (gas: 87713)
52
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
53
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
54
- [PASS] test_send() (gas: 352734)
55
- [PASS] test_send_PushesFees() (gas: 415282)
56
- [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
57
- [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
58
- [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
59
- [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
60
- [PASS] test_send_Revert_MsgInspection() (gas: 221169)
61
- [PASS] test_send_WithFee() (gas: 415240)
62
- [PASS] test_setFeeDeposit() (gas: 28425)
63
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
64
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38948, ~: 39011)
65
- [PASS] test_token() (gas: 13483)
66
- Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 592.48ms (1.24s CPU time)
67
-
68
- Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
69
- [PASS] test_credit() (gas: 89882)
70
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93190, ~: 93314)
71
- [PASS] test_debit() (gas: 113036)
72
- [PASS] test_debit_Dust() (gas: 135880)
73
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138244, ~: 138823)
74
- [PASS] test_debit_PushesFees() (gas: 161342)
75
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
76
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
77
- [PASS] test_debit_WithFee() (gas: 163924)
78
- [PASS] test_debit_WithFee_Dust() (gas: 161430)
79
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161805, ~: 160967)
80
- [PASS] test_initialize() (gas: 24678)
81
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
82
- [PASS] test_pause_unpause() (gas: 143924)
83
- [PASS] test_quoteOFT() (gas: 70757)
84
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
85
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
86
- [PASS] test_quoteOFT_Paused() (gas: 56637)
87
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
88
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
89
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196100, ~: 195912)
90
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
91
- [PASS] test_rateLimit_Inflow() (gas: 130622)
92
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
93
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
94
- [PASS] test_send() (gas: 418929)
95
- [PASS] test_send_Revert_MsgInspection() (gas: 325718)
96
- [PASS] test_send_WithFee() (gas: 474453)
97
- [PASS] test_setFeeDeposit() (gas: 28337)
98
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
99
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38858, ~: 38945)
100
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 592.60ms (1.86s CPU time)
101
-
102
77
  Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
103
78
  [PASS] test_credit() (gas: 89873)
104
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93073, ~: 93305)
79
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93156, ~: 93305)
105
80
  [PASS] test_debit() (gas: 120710)
106
81
  [PASS] test_debit_Dust() (gas: 143616)
107
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145813, ~: 146486)
82
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145535, ~: 146486)
108
83
  [PASS] test_debit_PushesFees() (gas: 164384)
109
84
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
110
85
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
111
86
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
112
87
  [PASS] test_debit_WithFee() (gas: 166449)
113
88
  [PASS] test_debit_WithFee_Dust() (gas: 164455)
114
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166877, ~: 168645)
89
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166910, ~: 168645)
115
90
  [PASS] test_initialize() (gas: 24700)
116
91
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
117
92
  [PASS] test_pause_unpause() (gas: 151598)
@@ -121,7 +96,7 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
121
96
  [PASS] test_quoteOFT_Paused() (gas: 56570)
122
97
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
123
98
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
124
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192075, ~: 191921)
99
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192062, ~: 191921)
125
100
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
126
101
  [PASS] test_rateLimit_Inflow() (gas: 108738)
127
102
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -131,21 +106,21 @@ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedR
131
106
  [PASS] test_send_WithFee() (gas: 462592)
132
107
  [PASS] test_setFeeDeposit() (gas: 28445)
133
108
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
134
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
135
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 691.34ms (1.52s CPU time)
109
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38938, ~: 39034)
110
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 383.34ms (1.33s CPU time)
136
111
 
137
112
  Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
138
113
  [PASS] test_credit() (gas: 89871)
139
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92931, ~: 93303)
114
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93307, ~: 93303)
140
115
  [PASS] test_debit() (gas: 98327)
141
116
  [PASS] test_debit_Dust() (gas: 141836)
142
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144492, ~: 145461)
117
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144969, ~: 145461)
143
118
  [PASS] test_debit_PushesFees() (gas: 167796)
144
119
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
145
120
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
146
121
  [PASS] test_debit_WithFee() (gas: 165270)
147
122
  [PASS] test_debit_WithFee_Dust() (gas: 167884)
148
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170943, ~: 173204)
123
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 171090, ~: 173204)
149
124
  [PASS] test_initialize() (gas: 24700)
150
125
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
151
126
  [PASS] test_pause_unpause() (gas: 132067)
@@ -155,7 +130,7 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
155
130
  [PASS] test_quoteOFT_Paused() (gas: 56570)
156
131
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
157
132
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
158
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202490, ~: 202299)
133
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202488, ~: 202299)
159
134
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
160
135
  [PASS] test_rateLimit_Inflow() (gas: 108824)
161
136
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -166,21 +141,21 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
166
141
  [PASS] test_send_WithFee() (gas: 493959)
167
142
  [PASS] test_setFeeDeposit() (gas: 28445)
168
143
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
169
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38952, ~: 39034)
170
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 708.43ms (2.31s CPU time)
144
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38947, ~: 39034)
145
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 437.13ms (1.43s CPU time)
171
146
 
172
147
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
173
148
  [PASS] test_credit() (gas: 89871)
174
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93216, ~: 93303)
149
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93150, ~: 93303)
175
150
  [PASS] test_debit() (gas: 98327)
176
151
  [PASS] test_debit_Dust() (gas: 139747)
177
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142653, ~: 143461)
152
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142426, ~: 143461)
178
153
  [PASS] test_debit_PushesFees() (gas: 165796)
179
154
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
180
155
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
181
156
  [PASS] test_debit_WithFee() (gas: 165270)
182
157
  [PASS] test_debit_WithFee_Dust() (gas: 165884)
183
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169521, ~: 171204)
158
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168934, ~: 171204)
184
159
  [PASS] test_initialize() (gas: 24722)
185
160
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
186
161
  [PASS] test_pause_unpause() (gas: 130467)
@@ -190,7 +165,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
190
165
  [PASS] test_quoteOFT_Paused() (gas: 56570)
191
166
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
192
167
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
193
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200500, ~: 200299)
168
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200469, ~: 200299)
194
169
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
195
170
  [PASS] test_rateLimit_Inflow() (gas: 108736)
196
171
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -200,22 +175,56 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
200
175
  [PASS] test_send_WithFee() (gas: 477338)
201
176
  [PASS] test_setFeeDeposit() (gas: 28359)
202
177
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
203
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38871, ~: 38967)
204
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 734.32ms (1.53s CPU time)
178
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38823, ~: 38967)
179
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 437.23ms (1.19s CPU time)
180
+
181
+ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
182
+ [PASS] test_credit() (gas: 89882)
183
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93219, ~: 93314)
184
+ [PASS] test_debit() (gas: 113036)
185
+ [PASS] test_debit_Dust() (gas: 135880)
186
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 137843, ~: 138823)
187
+ [PASS] test_debit_PushesFees() (gas: 161342)
188
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
189
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
190
+ [PASS] test_debit_WithFee() (gas: 163924)
191
+ [PASS] test_debit_WithFee_Dust() (gas: 161430)
192
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161710, ~: 160967)
193
+ [PASS] test_initialize() (gas: 24678)
194
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
195
+ [PASS] test_pause_unpause() (gas: 143924)
196
+ [PASS] test_quoteOFT() (gas: 70757)
197
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
198
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
199
+ [PASS] test_quoteOFT_Paused() (gas: 56637)
200
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
201
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
202
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196119, ~: 195912)
203
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
204
+ [PASS] test_rateLimit_Inflow() (gas: 130622)
205
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
206
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
207
+ [PASS] test_send() (gas: 418929)
208
+ [PASS] test_send_Revert_MsgInspection() (gas: 325718)
209
+ [PASS] test_send_WithFee() (gas: 474453)
210
+ [PASS] test_setFeeDeposit() (gas: 28337)
211
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
212
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38820, ~: 38945)
213
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 443.32ms (1.02s CPU time)
205
214
 
206
215
  Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
207
216
  [PASS] test_credit() (gas: 89873)
208
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92999, ~: 93305)
217
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93131, ~: 93305)
209
218
  [PASS] test_debit() (gas: 120710)
210
219
  [PASS] test_debit_Dust() (gas: 145216)
211
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147031, ~: 148086)
220
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147505, ~: 148086)
212
221
  [PASS] test_debit_PushesFees() (gas: 165984)
213
222
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
214
223
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
215
224
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
216
225
  [PASS] test_debit_WithFee() (gas: 166449)
217
226
  [PASS] test_debit_WithFee_Dust() (gas: 166055)
218
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168388, ~: 170248)
227
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168440, ~: 170245)
219
228
  [PASS] test_initialize() (gas: 24700)
220
229
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
221
230
  [PASS] test_pause_unpause() (gas: 153198)
@@ -225,7 +234,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
225
234
  [PASS] test_quoteOFT_Paused() (gas: 56570)
226
235
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
227
236
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
228
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193678, ~: 193521)
237
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193669, ~: 193521)
229
238
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
230
239
  [PASS] test_rateLimit_Inflow() (gas: 108826)
231
240
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -236,21 +245,97 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
236
245
  [PASS] test_send_WithFee() (gas: 504694)
237
246
  [PASS] test_setFeeDeposit() (gas: 28445)
238
247
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
239
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38962, ~: 39034)
240
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 765.82ms (2.36s CPU time)
248
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38909, ~: 39034)
249
+ Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 488.77ms (1.10s CPU time)
250
+
251
+ Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
252
+ [PASS] test_approvalRequired() (gas: 13426)
253
+ [PASS] test_credit() (gas: 62369)
254
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65886, ~: 65954)
255
+ [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
256
+ [PASS] test_debit() (gas: 36831)
257
+ [PASS] test_debit_Dust() (gas: 76272)
258
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79283, ~: 79886)
259
+ [PASS] test_debit_PushesFees() (gas: 101339)
260
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
261
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
262
+ [PASS] test_debit_WithFee() (gas: 101145)
263
+ [PASS] test_debit_WithFee_Dust() (gas: 102376)
264
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105601, ~: 107585)
265
+ [PASS] test_initialize() (gas: 22406)
266
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
267
+ [PASS] test_pause_unpause() (gas: 61117)
268
+ [PASS] test_quoteOFT() (gas: 70779)
269
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
270
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
271
+ [PASS] test_quoteOFT_Paused() (gas: 56703)
272
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
273
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
274
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137890, ~: 137703)
275
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
276
+ [PASS] test_rateLimit_Inflow() (gas: 87713)
277
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
278
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
279
+ [PASS] test_send() (gas: 352734)
280
+ [PASS] test_send_PushesFees() (gas: 415282)
281
+ [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
282
+ [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
283
+ [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
284
+ [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
285
+ [PASS] test_send_Revert_MsgInspection() (gas: 221169)
286
+ [PASS] test_send_WithFee() (gas: 415240)
287
+ [PASS] test_setFeeDeposit() (gas: 28425)
288
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
289
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38900, ~: 39011)
290
+ [PASS] test_token() (gas: 13483)
291
+ Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 490.92ms (867.03ms CPU time)
292
+
293
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
294
+ [PASS] test_credit() (gas: 89907)
295
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93244, ~: 93339)
296
+ [PASS] test_debit() (gas: 98305)
297
+ [PASS] test_debit_Dust() (gas: 139763)
298
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142546, ~: 143477)
299
+ [PASS] test_debit_PushesFees() (gas: 165812)
300
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
301
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
302
+ [PASS] test_debit_WithFee() (gas: 165286)
303
+ [PASS] test_debit_WithFee_Dust() (gas: 165900)
304
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168905, ~: 171220)
305
+ [PASS] test_initialize() (gas: 24722)
306
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
307
+ [PASS] test_pause_unpause() (gas: 130445)
308
+ [PASS] test_quoteOFT() (gas: 70712)
309
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
310
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
311
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
312
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
313
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
314
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200479, ~: 200315)
315
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
316
+ [PASS] test_rateLimit_Inflow() (gas: 108772)
317
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
318
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
319
+ [PASS] test_send() (gas: 400494)
320
+ [PASS] test_send_Revert_MsgInspection() (gas: 308847)
321
+ [PASS] test_send_WithFee() (gas: 477358)
322
+ [PASS] test_setFeeDeposit() (gas: 28359)
323
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
324
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38909, ~: 38967)
325
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 491.01ms (1.36s CPU time)
241
326
 
242
327
  Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
243
328
  [PASS] test_credit() (gas: 91882)
244
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95154, ~: 95314)
329
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94636, ~: 95314)
245
330
  [PASS] test_debit() (gas: 113036)
246
331
  [PASS] test_debit_Dust() (gas: 137551)
247
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 139782, ~: 141029)
332
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140415, ~: 141029)
248
333
  [PASS] test_debit_PushesFees() (gas: 163342)
249
334
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
250
335
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
251
336
  [PASS] test_debit_WithFee() (gas: 163924)
252
337
  [PASS] test_debit_WithFee_Dust() (gas: 163430)
253
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163382, ~: 162567)
338
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163473, ~: 162567)
254
339
  [PASS] test_initialize() (gas: 24656)
255
340
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
256
341
  [PASS] test_pause_unpause() (gas: 145524)
@@ -260,7 +345,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
260
345
  [PASS] test_quoteOFT_Paused() (gas: 56637)
261
346
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
262
347
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
263
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198109, ~: 197912)
348
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198079, ~: 197906)
264
349
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
265
350
  [PASS] test_rateLimit_Inflow() (gas: 132710)
266
351
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
@@ -271,21 +356,21 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
271
356
  [PASS] test_send_WithFee() (gas: 516566)
272
357
  [PASS] test_setFeeDeposit() (gas: 28423)
273
358
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
274
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38925, ~: 39012)
275
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 801.16ms (2.11s CPU time)
359
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38906, ~: 39012)
360
+ Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 524.74ms (1.29s CPU time)
276
361
 
277
362
  Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
278
363
  [PASS] test_credit() (gas: 89874)
279
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93190, ~: 93306)
364
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93125, ~: 93306)
280
365
  [PASS] test_debit() (gas: 98332)
281
366
  [PASS] test_debit_Dust() (gas: 139763)
282
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142977, ~: 143477)
367
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142576, ~: 143477)
283
368
  [PASS] test_debit_PushesFees() (gas: 165812)
284
369
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
285
370
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
286
371
  [PASS] test_debit_WithFee() (gas: 165286)
287
372
  [PASS] test_debit_WithFee_Dust() (gas: 165900)
288
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168552, ~: 171220)
373
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168765, ~: 171220)
289
374
  [PASS] test_initialize() (gas: 24722)
290
375
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
291
376
  [PASS] test_pause_unpause() (gas: 130472)
@@ -295,7 +380,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
295
380
  [PASS] test_quoteOFT_Paused() (gas: 56570)
296
381
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
297
382
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
298
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200489, ~: 200309)
383
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200489, ~: 200315)
299
384
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
300
385
  [PASS] test_rateLimit_Inflow() (gas: 108739)
301
386
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
@@ -305,42 +390,8 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
305
390
  [PASS] test_send_WithFee() (gas: 477358)
306
391
  [PASS] test_setFeeDeposit() (gas: 28359)
307
392
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
308
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38847, ~: 38967)
309
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 833.52ms (1.93s CPU time)
310
-
311
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
312
- [PASS] test_credit() (gas: 89907)
313
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92781, ~: 93339)
314
- [PASS] test_debit() (gas: 98305)
315
- [PASS] test_debit_Dust() (gas: 139763)
316
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142575, ~: 143477)
317
- [PASS] test_debit_PushesFees() (gas: 165812)
318
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
319
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
320
- [PASS] test_debit_WithFee() (gas: 165286)
321
- [PASS] test_debit_WithFee_Dust() (gas: 165900)
322
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168808, ~: 171220)
323
- [PASS] test_initialize() (gas: 24722)
324
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
325
- [PASS] test_pause_unpause() (gas: 130445)
326
- [PASS] test_quoteOFT() (gas: 70712)
327
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
328
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
329
- [PASS] test_quoteOFT_Paused() (gas: 56570)
330
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
331
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
332
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200491, ~: 200315)
333
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
334
- [PASS] test_rateLimit_Inflow() (gas: 108772)
335
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
336
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
337
- [PASS] test_send() (gas: 400494)
338
- [PASS] test_send_Revert_MsgInspection() (gas: 308847)
339
- [PASS] test_send_WithFee() (gas: 477358)
340
- [PASS] test_setFeeDeposit() (gas: 28359)
341
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
342
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38914, ~: 38967)
343
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 861.23ms (2.15s CPU time)
393
+ [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38890, ~: 38967)
394
+ Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 524.89ms (1.13s CPU time)
344
395
 
345
- Ran 9 test suites in 956.72ms (6.58s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
346
- ⏳ forge test: 1:12.197 (m:ss.mmm)
396
+ Ran 9 test suites in 666.86ms (4.22s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
397
+ ⏳ forge test: 39.348s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-upgradeable-evm-contracts",
3
- "version": "0.2.133",
3
+ "version": "1.2.7",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM upgradeable OFT implementation",
6
6
  "license": "MIT",
@@ -14,16 +14,14 @@
14
14
  "@openzeppelin/contracts-upgradeable": "^5.0.2",
15
15
  "ethers": "^5.8.0",
16
16
  "solhint": "^6.0.1",
17
- "@layerzerolabs/oapp-evm-contracts": "0.2.133",
18
- "@layerzerolabs/oft-evm-contracts": "0.2.133",
19
- "@layerzerolabs/oapp-upgradeable-evm-contracts": "0.2.133",
20
- "@layerzerolabs/solhint-configuration": "0.2.133",
21
- "@layerzerolabs/test-utils-evm-contracts": "0.2.133",
22
- "@layerzerolabs/typescript-configuration": "0.2.133",
23
- "@layerzerolabs/tsup-configuration": "0.2.133",
24
- "@layerzerolabs/utils-evm-contracts": "0.2.133",
25
- "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.133",
26
- "@layerzerolabs/vm-tooling-evm": "0.2.133"
17
+ "@layerzerolabs/oapp-evm-contracts": "1.2.7",
18
+ "@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.7",
19
+ "@layerzerolabs/oft-evm-contracts": "1.2.7",
20
+ "@layerzerolabs/solhint-configuration": "1.2.7",
21
+ "@layerzerolabs/test-utils-evm-contracts": "1.2.7",
22
+ "@layerzerolabs/utils-evm-contracts": "1.2.7",
23
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.7",
24
+ "@layerzerolabs/vm-tooling-evm": "1.2.7"
27
25
  },
28
26
  "publishConfig": {
29
27
  "access": "public",
@@ -38,10 +36,10 @@
38
36
  "scripts": {
39
37
  "build": "pnpm compile:evm && pnpm compile:zksync && pnpm compile:tron",
40
38
  "clean": "rm -rf ./node_modules .turbo ./dist && pnpm generated:clean",
41
- "compile:evm": "pnpm lz-tool --env TS_NODE_COMPILER_OPTIONS='{\"module\":\"CommonJS\",\"moduleResolution\":\"node\"}' hardhat compile --config /hardhat/hardhat.default.config.js",
42
- "compile:tron": "pnpm lz-tool --env TS_NODE_COMPILER_OPTIONS='{\"module\":\"CommonJS\",\"moduleResolution\":\"node\"}' hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet",
43
- "compile:zksync": "pnpm lz-tool --env TS_NODE_COMPILER_OPTIONS='{\"module\":\"CommonJS\",\"moduleResolution\":\"node\"}' hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet",
44
- "generated:clean": "rm -rf ./artifacts ./artifacts-tron ./artifacts-zk ./hh-cache ./hh-cache-tron ./hh-cache-zk ./out ./cache",
39
+ "compile:evm": "pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js",
40
+ "compile:tron": "pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet",
41
+ "compile:zksync": "pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet",
42
+ "generated:clean": "rm -rf ./artifacts* ./hh-cache* ./out ./cache",
45
43
  "lint": "solhint --config solhint.config.js 'contracts/**/*.sol' 'test/**/*.sol' --fix --noPrompt",
46
44
  "test": "pnpm lz-tool forge test",
47
45
  "test:snapshot:check": "pnpm exec turbo-snapshot check",
@@ -35,8 +35,8 @@ interface IOFTExtendedHarness {
35
35
 
36
36
  /**
37
37
  * @notice Base test contract for OFT Extended RBAC tests.
38
- * @dev Provides common state variables, helper functions, and shared tests for
39
- * `OFTBurnMintExtendedRBACUpgradeable`, `OFTLockUnlockExtendedRBACUpgradeable`, and `OFTNativeExtendedRBACUpgradeable` tests.
38
+ * @dev Provides common state variables, helper functions, and shared tests for `OFTBurnMintExtendedRBACUpgradeable`,
39
+ * `OFTLockUnlockExtendedRBACUpgradeable`, and `OFTNativeExtendedRBACUpgradeable` tests.
40
40
  */
41
41
  abstract contract OFTExtendedRBACTestBase is TestHelperOz5 {
42
42
  address endpoint;