@layerzerolabs/oft-upgradeable-evm-contracts 1.2.6 → 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.
@@ -11,23 +11,99 @@
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-Ya7t65
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:45490) [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-Ya7t65:/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 b134ed5fe47a5a2e9ed71185b327188f9bb7666578808040a32aea8a857fab41
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
- $ 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-Ya7t65:/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
31
107
  Compiling 76 Solidity files
32
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.
33
109
  --> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
@@ -79,7 +155,7 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
79
155
 
80
156
 
81
157
  Successfully compiled 76 Solidity files
82
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 10.225s
158
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 11.190s
83
159
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
84
160
 
85
161
  > @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
@@ -88,29 +164,29 @@ Successfully compiled 76 Solidity files
88
164
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
89
165
  ✅ forge-1.3.6-hardhat-2.26.3
90
166
  🔧 hardhat version: 2.26.3
91
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-m7xntm
167
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-khzu25
92
168
  📦 Copied 13 workspace package source(s)
93
169
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
94
- (node:48215) [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.
95
171
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
96
172
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
97
173
  (Use `node --trace-warnings ...` to show where the warning was created)
98
174
  📦 Docker volumes:
99
- -v /tmp/lz-scoped-workspace-m7xntm:/workspace
175
+ -v /tmp/lz-scoped-workspace-khzu25:/workspace
100
176
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
101
177
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
102
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
103
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
104
- $ docker container rm e33b5ffc6b225469054e05b905fa9377d2d267bd2fee2cf32b39a6ee709cd3d4
180
+ $ docker container rm 4c8181fe041bfa26c659cbd81d465b814631a721c544cbc47e1a507a126ff87d
105
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)
106
182
  👤 Running container as UID:GID 1001:1001
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-m7xntm:/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
108
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.
109
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.
110
186
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
111
187
  Compiling 76 Solidity files
112
188
  Successfully compiled 76 Solidity files
113
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:18.432 (m:ss.mmm)
189
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:04.464 (m:ss.mmm)
114
190
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
115
191
 
116
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,26 +195,26 @@ Successfully compiled 76 Solidity files
119
195
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
120
196
  ✅ forge-1.3.6-hardhat-2.26.3
121
197
  🔧 hardhat version: 2.26.3
122
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-BW1fD0
198
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-TJVRVw
123
199
  📦 Copied 13 workspace package source(s)
124
200
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
125
- (node:59390) [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.
126
202
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
127
203
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
128
204
  (Use `node --trace-warnings ...` to show where the warning was created)
129
205
  📦 Docker volumes:
130
- -v /tmp/lz-scoped-workspace-BW1fD0:/workspace
206
+ -v /tmp/lz-scoped-workspace-TJVRVw:/workspace
131
207
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
132
208
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
133
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
134
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
135
- $ docker container rm 02c452f9587fffc608bf1bc459a25c7bf4f1f2f35ae8f366292b4277c1d7bfde
211
+ $ docker container rm 547c406a3d22fbb14b63823bb95bc0a6bf70b1203b868eaddc03befcc461587c
136
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)
137
213
  👤 Running container as UID:GID 1001:1001
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-BW1fD0:/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
139
215
  detected tron network, replacing deployments extension with custom one
140
- Compiling contracts with tron solc v0.8.23
141
216
  Tron-solc v0.8.23 is unknown version, attempting anyway...
217
+ Compiling contracts with tron solc v0.8.23
142
218
  Compiling 76 Solidity files
143
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.
144
220
  --> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
@@ -190,4 +266,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
190
266
 
191
267
 
192
268
  Successfully compiled 76 Solidity files
193
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 39.230s
269
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 29.360s
@@ -4,37 +4,192 @@
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-Do4QZa
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
- (node:91190) [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.
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-Do4QZa:/workspace
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-Do4QZa:/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 39.98s
74
+ Solc 0.8.22 finished in 36.03s
24
75
  Compiler run successful!
25
76
 
77
+ Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
78
+ [PASS] test_credit() (gas: 89873)
79
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93156, ~: 93305)
80
+ [PASS] test_debit() (gas: 120710)
81
+ [PASS] test_debit_Dust() (gas: 143616)
82
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145535, ~: 146486)
83
+ [PASS] test_debit_PushesFees() (gas: 164384)
84
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
85
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
86
+ [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
87
+ [PASS] test_debit_WithFee() (gas: 166449)
88
+ [PASS] test_debit_WithFee_Dust() (gas: 164455)
89
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166910, ~: 168645)
90
+ [PASS] test_initialize() (gas: 24700)
91
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
92
+ [PASS] test_pause_unpause() (gas: 151598)
93
+ [PASS] test_quoteOFT() (gas: 70712)
94
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
95
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
96
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
97
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
98
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
99
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192062, ~: 191921)
100
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
101
+ [PASS] test_rateLimit_Inflow() (gas: 108738)
102
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
103
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
104
+ [PASS] test_send() (gas: 387136)
105
+ [PASS] test_send_Revert_MsgInspection() (gas: 335267)
106
+ [PASS] test_send_WithFee() (gas: 462592)
107
+ [PASS] test_setFeeDeposit() (gas: 28445)
108
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
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)
111
+
112
+ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
113
+ [PASS] test_credit() (gas: 89871)
114
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93307, ~: 93303)
115
+ [PASS] test_debit() (gas: 98327)
116
+ [PASS] test_debit_Dust() (gas: 141836)
117
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144969, ~: 145461)
118
+ [PASS] test_debit_PushesFees() (gas: 167796)
119
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
120
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
121
+ [PASS] test_debit_WithFee() (gas: 165270)
122
+ [PASS] test_debit_WithFee_Dust() (gas: 167884)
123
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 171090, ~: 173204)
124
+ [PASS] test_initialize() (gas: 24700)
125
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
126
+ [PASS] test_pause_unpause() (gas: 132067)
127
+ [PASS] test_quoteOFT() (gas: 70712)
128
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
129
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
130
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
131
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
132
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
133
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202488, ~: 202299)
134
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
135
+ [PASS] test_rateLimit_Inflow() (gas: 108824)
136
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
137
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
138
+ [PASS] test_send() (gas: 421733)
139
+ [PASS] test_send_Revert_MsgInspection() (gas: 310849)
140
+ [PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
141
+ [PASS] test_send_WithFee() (gas: 493959)
142
+ [PASS] test_setFeeDeposit() (gas: 28445)
143
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
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)
146
+
147
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
148
+ [PASS] test_credit() (gas: 89871)
149
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93150, ~: 93303)
150
+ [PASS] test_debit() (gas: 98327)
151
+ [PASS] test_debit_Dust() (gas: 139747)
152
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142426, ~: 143461)
153
+ [PASS] test_debit_PushesFees() (gas: 165796)
154
+ [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
155
+ [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
156
+ [PASS] test_debit_WithFee() (gas: 165270)
157
+ [PASS] test_debit_WithFee_Dust() (gas: 165884)
158
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168934, ~: 171204)
159
+ [PASS] test_initialize() (gas: 24722)
160
+ [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
161
+ [PASS] test_pause_unpause() (gas: 130467)
162
+ [PASS] test_quoteOFT() (gas: 70712)
163
+ [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
164
+ [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
165
+ [PASS] test_quoteOFT_Paused() (gas: 56570)
166
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
167
+ [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
168
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200469, ~: 200299)
169
+ [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
170
+ [PASS] test_rateLimit_Inflow() (gas: 108736)
171
+ [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
172
+ [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
173
+ [PASS] test_send() (gas: 400518)
174
+ [PASS] test_send_Revert_MsgInspection() (gas: 308871)
175
+ [PASS] test_send_WithFee() (gas: 477338)
176
+ [PASS] test_setFeeDeposit() (gas: 28359)
177
+ [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
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
+
26
181
  Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
27
182
  [PASS] test_credit() (gas: 89882)
28
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92965, ~: 93314)
183
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93219, ~: 93314)
29
184
  [PASS] test_debit() (gas: 113036)
30
185
  [PASS] test_debit_Dust() (gas: 135880)
31
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 137966, ~: 138823)
186
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 137843, ~: 138823)
32
187
  [PASS] test_debit_PushesFees() (gas: 161342)
33
188
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
34
189
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
35
190
  [PASS] test_debit_WithFee() (gas: 163924)
36
191
  [PASS] test_debit_WithFee_Dust() (gas: 161430)
37
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161376, ~: 160967)
192
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161710, ~: 160967)
38
193
  [PASS] test_initialize() (gas: 24678)
39
194
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
40
195
  [PASS] test_pause_unpause() (gas: 143924)
@@ -44,7 +199,7 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
44
199
  [PASS] test_quoteOFT_Paused() (gas: 56637)
45
200
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
46
201
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
47
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196088, ~: 195912)
202
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196119, ~: 195912)
48
203
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
49
204
  [PASS] test_rateLimit_Inflow() (gas: 130622)
50
205
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
@@ -54,56 +209,22 @@ Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACT
54
209
  [PASS] test_send_WithFee() (gas: 474453)
55
210
  [PASS] test_setFeeDeposit() (gas: 28337)
56
211
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
57
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38868, ~: 38945)
58
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 462.88ms (1.33s CPU time)
59
-
60
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
61
- [PASS] test_credit() (gas: 89874)
62
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92939, ~: 93306)
63
- [PASS] test_debit() (gas: 98332)
64
- [PASS] test_debit_Dust() (gas: 139763)
65
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142591, ~: 143477)
66
- [PASS] test_debit_PushesFees() (gas: 165812)
67
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
68
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
69
- [PASS] test_debit_WithFee() (gas: 165286)
70
- [PASS] test_debit_WithFee_Dust() (gas: 165900)
71
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 169255, ~: 171220)
72
- [PASS] test_initialize() (gas: 24722)
73
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
74
- [PASS] test_pause_unpause() (gas: 130472)
75
- [PASS] test_quoteOFT() (gas: 70712)
76
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
77
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
78
- [PASS] test_quoteOFT_Paused() (gas: 56570)
79
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
80
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
81
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200482, ~: 200315)
82
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
83
- [PASS] test_rateLimit_Inflow() (gas: 108739)
84
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
85
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
86
- [PASS] test_send() (gas: 400527)
87
- [PASS] test_send_Revert_MsgInspection() (gas: 308880)
88
- [PASS] test_send_WithFee() (gas: 477358)
89
- [PASS] test_setFeeDeposit() (gas: 28359)
90
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
91
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38895, ~: 38967)
92
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 481.44ms (1.65s CPU time)
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)
93
214
 
94
215
  Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
95
216
  [PASS] test_credit() (gas: 89873)
96
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93144, ~: 93305)
217
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93131, ~: 93305)
97
218
  [PASS] test_debit() (gas: 120710)
98
219
  [PASS] test_debit_Dust() (gas: 145216)
99
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147454, ~: 148086)
220
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147505, ~: 148086)
100
221
  [PASS] test_debit_PushesFees() (gas: 165984)
101
222
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
102
223
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
103
224
  [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
104
225
  [PASS] test_debit_WithFee() (gas: 166449)
105
226
  [PASS] test_debit_WithFee_Dust() (gas: 166055)
106
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168356, ~: 170245)
227
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168440, ~: 170245)
107
228
  [PASS] test_initialize() (gas: 24700)
108
229
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
109
230
  [PASS] test_pause_unpause() (gas: 153198)
@@ -113,7 +234,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
113
234
  [PASS] test_quoteOFT_Paused() (gas: 56570)
114
235
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
115
236
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
116
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193651, ~: 193521)
237
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193669, ~: 193521)
117
238
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
118
239
  [PASS] test_rateLimit_Inflow() (gas: 108826)
119
240
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
@@ -124,55 +245,97 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
124
245
  [PASS] test_send_WithFee() (gas: 504694)
125
246
  [PASS] test_setFeeDeposit() (gas: 28445)
126
247
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
127
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38938, ~: 39034)
128
- Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 528.69ms (1.55s 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)
129
250
 
130
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
131
- [PASS] test_credit() (gas: 89871)
132
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93211, ~: 93303)
133
- [PASS] test_debit() (gas: 98327)
134
- [PASS] test_debit_Dust() (gas: 139747)
135
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142602, ~: 143461)
136
- [PASS] test_debit_PushesFees() (gas: 165796)
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)
137
300
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
138
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
139
- [PASS] test_debit_WithFee() (gas: 165270)
140
- [PASS] test_debit_WithFee_Dust() (gas: 165884)
141
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168732, ~: 171204)
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)
142
305
  [PASS] test_initialize() (gas: 24722)
143
306
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
144
- [PASS] test_pause_unpause() (gas: 130467)
307
+ [PASS] test_pause_unpause() (gas: 130445)
145
308
  [PASS] test_quoteOFT() (gas: 70712)
146
309
  [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
147
310
  [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
148
311
  [PASS] test_quoteOFT_Paused() (gas: 56570)
149
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185657)
150
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
151
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200505, ~: 200299)
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)
152
315
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
153
- [PASS] test_rateLimit_Inflow() (gas: 108736)
316
+ [PASS] test_rateLimit_Inflow() (gas: 108772)
154
317
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
155
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
156
- [PASS] test_send() (gas: 400518)
157
- [PASS] test_send_Revert_MsgInspection() (gas: 308871)
158
- [PASS] test_send_WithFee() (gas: 477338)
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)
159
322
  [PASS] test_setFeeDeposit() (gas: 28359)
160
323
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
161
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38890, ~: 38967)
162
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 530.40ms (1.81s CPU time)
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)
163
326
 
164
327
  Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
165
328
  [PASS] test_credit() (gas: 91882)
166
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95041, ~: 95314)
329
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 94636, ~: 95314)
167
330
  [PASS] test_debit() (gas: 113036)
168
331
  [PASS] test_debit_Dust() (gas: 137551)
169
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140236, ~: 140423)
332
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140415, ~: 141029)
170
333
  [PASS] test_debit_PushesFees() (gas: 163342)
171
334
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
172
335
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
173
336
  [PASS] test_debit_WithFee() (gas: 163924)
174
337
  [PASS] test_debit_WithFee_Dust() (gas: 163430)
175
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163433, ~: 162567)
338
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163473, ~: 162567)
176
339
  [PASS] test_initialize() (gas: 24656)
177
340
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
178
341
  [PASS] test_pause_unpause() (gas: 145524)
@@ -182,7 +345,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
182
345
  [PASS] test_quoteOFT_Paused() (gas: 56637)
183
346
  [PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
184
347
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
185
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198112, ~: 197912)
348
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198079, ~: 197906)
186
349
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
187
350
  [PASS] test_rateLimit_Inflow() (gas: 132710)
188
351
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
@@ -193,154 +356,42 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
193
356
  [PASS] test_send_WithFee() (gas: 516566)
194
357
  [PASS] test_setFeeDeposit() (gas: 28423)
195
358
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
196
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38925, ~: 39012)
197
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 561.31ms (1.50s 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)
198
361
 
199
- Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
200
- [PASS] test_credit() (gas: 89907)
201
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93221, ~: 93339)
202
- [PASS] test_debit() (gas: 98305)
362
+ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
363
+ [PASS] test_credit() (gas: 89874)
364
+ [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93125, ~: 93306)
365
+ [PASS] test_debit() (gas: 98332)
203
366
  [PASS] test_debit_Dust() (gas: 139763)
204
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142877, ~: 143477)
367
+ [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142576, ~: 143477)
205
368
  [PASS] test_debit_PushesFees() (gas: 165812)
206
369
  [PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
207
370
  [PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
208
371
  [PASS] test_debit_WithFee() (gas: 165286)
209
372
  [PASS] test_debit_WithFee_Dust() (gas: 165900)
210
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168666, ~: 171220)
373
+ [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168765, ~: 171220)
211
374
  [PASS] test_initialize() (gas: 24722)
212
375
  [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
213
- [PASS] test_pause_unpause() (gas: 130445)
376
+ [PASS] test_pause_unpause() (gas: 130472)
214
377
  [PASS] test_quoteOFT() (gas: 70712)
215
378
  [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
216
379
  [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
217
380
  [PASS] test_quoteOFT_Paused() (gas: 56570)
218
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
381
+ [PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
219
382
  [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
220
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200465, ~: 200315)
383
+ [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200489, ~: 200315)
221
384
  [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
222
- [PASS] test_rateLimit_Inflow() (gas: 108772)
385
+ [PASS] test_rateLimit_Inflow() (gas: 108739)
223
386
  [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
224
387
  [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
225
- [PASS] test_send() (gas: 400494)
226
- [PASS] test_send_Revert_MsgInspection() (gas: 308847)
388
+ [PASS] test_send() (gas: 400527)
389
+ [PASS] test_send_Revert_MsgInspection() (gas: 308880)
227
390
  [PASS] test_send_WithFee() (gas: 477358)
228
391
  [PASS] test_setFeeDeposit() (gas: 28359)
229
392
  [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
230
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38842, ~: 38967)
231
- Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 611.25ms (1.73s CPU time)
232
-
233
- Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
234
- [PASS] test_approvalRequired() (gas: 13426)
235
- [PASS] test_credit() (gas: 62369)
236
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65911, ~: 65954)
237
- [PASS] test_credit_Revert_CreditFailed() (gas: 91478)
238
- [PASS] test_debit() (gas: 36831)
239
- [PASS] test_debit_Dust() (gas: 76272)
240
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79585, ~: 79886)
241
- [PASS] test_debit_PushesFees() (gas: 101339)
242
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
243
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
244
- [PASS] test_debit_WithFee() (gas: 101145)
245
- [PASS] test_debit_WithFee_Dust() (gas: 102376)
246
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105478, ~: 107585)
247
- [PASS] test_initialize() (gas: 22406)
248
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
249
- [PASS] test_pause_unpause() (gas: 61117)
250
- [PASS] test_quoteOFT() (gas: 70779)
251
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
252
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
253
- [PASS] test_quoteOFT_Paused() (gas: 56703)
254
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
255
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
256
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137905, ~: 137703)
257
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
258
- [PASS] test_rateLimit_Inflow() (gas: 87713)
259
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
260
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
261
- [PASS] test_send() (gas: 352734)
262
- [PASS] test_send_PushesFees() (gas: 415282)
263
- [PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
264
- [PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
265
- [PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
266
- [PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
267
- [PASS] test_send_Revert_MsgInspection() (gas: 221169)
268
- [PASS] test_send_WithFee() (gas: 415240)
269
- [PASS] test_setFeeDeposit() (gas: 28425)
270
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
271
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38939, ~: 39011)
272
- [PASS] test_token() (gas: 13483)
273
- Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 626.48ms (1.27s CPU time)
274
-
275
- Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
276
- [PASS] test_credit() (gas: 89871)
277
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93317, ~: 93303)
278
- [PASS] test_debit() (gas: 98327)
279
- [PASS] test_debit_Dust() (gas: 141836)
280
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144823, ~: 145461)
281
- [PASS] test_debit_PushesFees() (gas: 167796)
282
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
283
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
284
- [PASS] test_debit_WithFee() (gas: 165270)
285
- [PASS] test_debit_WithFee_Dust() (gas: 167884)
286
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170346, ~: 173204)
287
- [PASS] test_initialize() (gas: 24700)
288
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
289
- [PASS] test_pause_unpause() (gas: 132067)
290
- [PASS] test_quoteOFT() (gas: 70712)
291
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
292
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
293
- [PASS] test_quoteOFT_Paused() (gas: 56570)
294
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
295
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
296
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202467, ~: 202299)
297
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
298
- [PASS] test_rateLimit_Inflow() (gas: 108824)
299
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
300
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 181347)
301
- [PASS] test_send() (gas: 421733)
302
- [PASS] test_send_Revert_MsgInspection() (gas: 310849)
303
- [PASS] test_send_Revert_OnlyAltToken() (gas: 198819)
304
- [PASS] test_send_WithFee() (gas: 493959)
305
- [PASS] test_setFeeDeposit() (gas: 28445)
306
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
307
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38938, ~: 39034)
308
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 625.57ms (1.59s CPU time)
309
-
310
- Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
311
- [PASS] test_credit() (gas: 89873)
312
- [PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93265, ~: 93305)
313
- [PASS] test_debit() (gas: 120710)
314
- [PASS] test_debit_Dust() (gas: 143616)
315
- [PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 145553, ~: 146486)
316
- [PASS] test_debit_PushesFees() (gas: 164384)
317
- [PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
318
- [PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
319
- [PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
320
- [PASS] test_debit_WithFee() (gas: 166449)
321
- [PASS] test_debit_WithFee_Dust() (gas: 164455)
322
- [PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166774, ~: 168645)
323
- [PASS] test_initialize() (gas: 24700)
324
- [PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
325
- [PASS] test_pause_unpause() (gas: 151598)
326
- [PASS] test_quoteOFT() (gas: 70712)
327
- [PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
328
- [PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
329
- [PASS] test_quoteOFT_Paused() (gas: 56570)
330
- [PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
331
- [PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
332
- [PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192079, ~: 191921)
333
- [PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
334
- [PASS] test_rateLimit_Inflow() (gas: 108738)
335
- [PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
336
- [PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
337
- [PASS] test_send() (gas: 387136)
338
- [PASS] test_send_Revert_MsgInspection() (gas: 335267)
339
- [PASS] test_send_WithFee() (gas: 462592)
340
- [PASS] test_setFeeDeposit() (gas: 28445)
341
- [PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
342
- [PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38966, ~: 39034)
343
- Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 666.06ms (1.54s 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 825.44ms (5.09s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
346
- ⏳ forge test: 43.006s
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": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM upgradeable OFT implementation",
6
6
  "license": "MIT",
@@ -14,14 +14,14 @@
14
14
  "@openzeppelin/contracts-upgradeable": "^5.0.2",
15
15
  "ethers": "^5.8.0",
16
16
  "solhint": "^6.0.1",
17
- "@layerzerolabs/oft-evm-contracts": "1.2.6",
18
- "@layerzerolabs/oapp-evm-contracts": "1.2.6",
19
- "@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.6",
20
- "@layerzerolabs/test-utils-evm-contracts": "1.2.6",
21
- "@layerzerolabs/solhint-configuration": "1.2.6",
22
- "@layerzerolabs/utils-evm-contracts": "1.2.6",
23
- "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.6",
24
- "@layerzerolabs/vm-tooling-evm": "1.2.6"
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"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public",
@@ -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;