@layerzerolabs/oft-upgradeable-evm-contracts 1.2.8 → 1.2.9
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.
- package/.turbo/turbo-build.log +20 -96
- package/.turbo/turbo-test.log +203 -254
- package/package.json +9 -9
package/.turbo/turbo-build.log
CHANGED
|
@@ -11,99 +11,23 @@
|
|
|
11
11
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
12
12
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
13
13
|
🔧 hardhat version: 2.26.3
|
|
14
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
14
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-zKIrG6
|
|
15
15
|
📦 Copied 13 workspace package source(s)
|
|
16
16
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
17
|
-
(node:
|
|
17
|
+
(node:205059) [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-
|
|
22
|
+
-v /tmp/lz-scoped-workspace-zKIrG6:/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
|
|
102
26
|
$ docker container create --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 true
|
|
103
|
-
$ docker container rm
|
|
104
|
-
✅
|
|
27
|
+
$ docker container rm c872ddadf2845a7c4d81e97ecb466f152f8e6ae01ccc0d5c3feae2cc0fc8ba38
|
|
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)
|
|
105
29
|
👤 Running container as UID:GID 1001:1001
|
|
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-
|
|
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-zKIrG6:/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
|
|
107
31
|
Compiling 76 Solidity files
|
|
108
32
|
Warning: Contract code size is 28075 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
|
|
109
33
|
--> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
|
|
@@ -155,7 +79,7 @@ Warning: Contract code size is 27524 bytes and exceeds 24576 bytes (a limit intr
|
|
|
155
79
|
|
|
156
80
|
|
|
157
81
|
Successfully compiled 76 Solidity files
|
|
158
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js:
|
|
82
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 14.597s
|
|
159
83
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
160
84
|
|
|
161
85
|
> @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
|
|
@@ -164,29 +88,29 @@ Successfully compiled 76 Solidity files
|
|
|
164
88
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
165
89
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
166
90
|
🔧 hardhat version: 2.26.3
|
|
167
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
91
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-VOE8Fc
|
|
168
92
|
📦 Copied 13 workspace package source(s)
|
|
169
93
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
170
|
-
(node:
|
|
94
|
+
(node:210538) [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.
|
|
171
95
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
172
96
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
173
97
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
174
98
|
📦 Docker volumes:
|
|
175
|
-
-v /tmp/lz-scoped-workspace-
|
|
99
|
+
-v /tmp/lz-scoped-workspace-VOE8Fc:/workspace
|
|
176
100
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
|
|
177
101
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
178
102
|
$ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
179
103
|
$ docker container create --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 true
|
|
180
|
-
$ docker container rm
|
|
104
|
+
$ docker container rm 33636f5a4a0f67d22059a3a262d9c93e2cd00df25874a7791ff0878a128e5f0c
|
|
181
105
|
✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 (linux/amd64)
|
|
182
106
|
👤 Running container as UID:GID 1001:1001
|
|
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-
|
|
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-VOE8Fc:/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
|
|
184
108
|
The solc version 1.3.22 is deprecated and will be removed for security reasons soon. Please update to v1.4.0 or newer.
|
|
185
109
|
The zksolc compiler version in your Hardhat config file (1.3.22) is not the latest. We recommend using the latest version 1.5.15.
|
|
186
110
|
Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
|
|
187
111
|
Compiling 76 Solidity files
|
|
188
112
|
Successfully compiled 76 Solidity files
|
|
189
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:
|
|
113
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 1:17.996 (m:ss.mmm)
|
|
190
114
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
191
115
|
|
|
192
116
|
> @layerzerolabs/oft-upgradeable-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable
|
|
@@ -195,26 +119,26 @@ Successfully compiled 76 Solidity files
|
|
|
195
119
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
196
120
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
197
121
|
🔧 hardhat version: 2.26.3
|
|
198
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
122
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-UePtRL
|
|
199
123
|
📦 Copied 13 workspace package source(s)
|
|
200
124
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
201
|
-
(node:
|
|
125
|
+
(node:237305) [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.
|
|
202
126
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
203
127
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
204
128
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
205
129
|
📦 Docker volumes:
|
|
206
|
-
-v /tmp/lz-scoped-workspace-
|
|
130
|
+
-v /tmp/lz-scoped-workspace-UePtRL:/workspace
|
|
207
131
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/upgradeable:/workspace/apps/oft-app/contracts/evm/upgradeable
|
|
208
132
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
209
133
|
$ docker image inspect --format {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
210
134
|
$ docker container create --platform linux/amd64 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 true
|
|
211
|
-
$ docker container rm
|
|
135
|
+
$ docker container rm 5d0ea9b445c00553623340777fad3959f5bf650875f0af5eacf11fd90e1beae3
|
|
212
136
|
✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 (linux/amd64)
|
|
213
137
|
👤 Running container as UID:GID 1001:1001
|
|
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-
|
|
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-UePtRL:/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
|
|
215
139
|
detected tron network, replacing deployments extension with custom one
|
|
216
|
-
Tron-solc v0.8.23 is unknown version, attempting anyway...
|
|
217
140
|
Compiling contracts with tron solc v0.8.23
|
|
141
|
+
Tron-solc v0.8.23 is unknown version, attempting anyway...
|
|
218
142
|
Compiling 76 Solidity files
|
|
219
143
|
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.
|
|
220
144
|
--> contracts/extended/OFTBurnMintExtendedRBACUpgradeable.sol:28:1:
|
|
@@ -266,4 +190,4 @@ Warning: Contract code size is 29394 bytes and exceeds 24576 bytes (a limit intr
|
|
|
266
190
|
|
|
267
191
|
|
|
268
192
|
Successfully compiled 76 Solidity files
|
|
269
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet:
|
|
193
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 33.322s
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -4,123 +4,105 @@
|
|
|
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-
|
|
7
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-7npRKF
|
|
8
8
|
📦 Copied 13 workspace package source(s)
|
|
9
9
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
10
|
-
(node:
|
|
10
|
+
(node:375378) [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-
|
|
15
|
+
-v /tmp/lz-scoped-workspace-7npRKF:/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
|
-
|
|
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
|
|
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)
|
|
71
20
|
👤 Running container as UID:GID 1001:1001
|
|
72
|
-
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-
|
|
21
|
+
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-7npRKF:/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
|
|
73
22
|
Compiling 185 files with Solc 0.8.22
|
|
74
|
-
Solc 0.8.22 finished in
|
|
23
|
+
Solc 0.8.22 finished in 32.23s
|
|
75
24
|
Compiler run successful!
|
|
76
25
|
|
|
77
|
-
Ran
|
|
78
|
-
[PASS] test_credit() (gas:
|
|
79
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
80
|
-
[PASS] test_debit() (gas:
|
|
81
|
-
[PASS] test_debit_Dust() (gas:
|
|
82
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
83
|
-
[PASS] test_debit_PushesFees() (gas:
|
|
84
|
-
[PASS] test_debit_Revert_SlippageExceeded() (gas:
|
|
85
|
-
[PASS] test_debit_SmallAmount_DustOnly() (gas:
|
|
86
|
-
[PASS]
|
|
87
|
-
[PASS]
|
|
88
|
-
[PASS]
|
|
89
|
-
[PASS]
|
|
90
|
-
[PASS] test_initialize() (gas: 24700)
|
|
26
|
+
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACRedeemIssueTest
|
|
27
|
+
[PASS] test_credit() (gas: 89907)
|
|
28
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93265, ~: 93339)
|
|
29
|
+
[PASS] test_debit() (gas: 98305)
|
|
30
|
+
[PASS] test_debit_Dust() (gas: 139763)
|
|
31
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142390, ~: 143477)
|
|
32
|
+
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
33
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
34
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
35
|
+
[PASS] test_debit_WithFee() (gas: 165286)
|
|
36
|
+
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
37
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168671, ~: 171220)
|
|
38
|
+
[PASS] test_initialize() (gas: 24722)
|
|
91
39
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
92
|
-
[PASS] test_pause_unpause() (gas:
|
|
40
|
+
[PASS] test_pause_unpause() (gas: 130445)
|
|
93
41
|
[PASS] test_quoteOFT() (gas: 70712)
|
|
94
42
|
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
95
|
-
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas:
|
|
43
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59195)
|
|
96
44
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
97
|
-
[PASS] test_quoteOFT_RateLimiterUsage() (gas:
|
|
98
|
-
[PASS] test_quoteOFT_RateLimiterWithFee() (gas:
|
|
99
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
100
|
-
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas:
|
|
101
|
-
[PASS] test_rateLimit_Inflow() (gas:
|
|
45
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185614)
|
|
46
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
47
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200493, ~: 200315)
|
|
48
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
49
|
+
[PASS] test_rateLimit_Inflow() (gas: 108772)
|
|
102
50
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
103
|
-
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas:
|
|
104
|
-
[PASS] test_send() (gas:
|
|
105
|
-
[PASS] test_send_Revert_MsgInspection() (gas:
|
|
106
|
-
[PASS] test_send_WithFee() (gas:
|
|
107
|
-
[PASS] test_setFeeDeposit() (gas:
|
|
51
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179385)
|
|
52
|
+
[PASS] test_send() (gas: 400494)
|
|
53
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 308847)
|
|
54
|
+
[PASS] test_send_WithFee() (gas: 477358)
|
|
55
|
+
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
56
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
57
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38890, ~: 38967)
|
|
58
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 718.27ms (2.62s CPU time)
|
|
59
|
+
|
|
60
|
+
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACTest
|
|
61
|
+
[PASS] test_credit() (gas: 89871)
|
|
62
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93111, ~: 93303)
|
|
63
|
+
[PASS] test_debit() (gas: 98327)
|
|
64
|
+
[PASS] test_debit_Dust() (gas: 139747)
|
|
65
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142391, ~: 143461)
|
|
66
|
+
[PASS] test_debit_PushesFees() (gas: 165796)
|
|
67
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
68
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139811)
|
|
69
|
+
[PASS] test_debit_WithFee() (gas: 165270)
|
|
70
|
+
[PASS] test_debit_WithFee_Dust() (gas: 165884)
|
|
71
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168675, ~: 171204)
|
|
72
|
+
[PASS] test_initialize() (gas: 24722)
|
|
73
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
74
|
+
[PASS] test_pause_unpause() (gas: 130467)
|
|
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: 185657)
|
|
80
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233398)
|
|
81
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200479, ~: 200299)
|
|
82
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
83
|
+
[PASS] test_rateLimit_Inflow() (gas: 108736)
|
|
84
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
85
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 179369)
|
|
86
|
+
[PASS] test_send() (gas: 400518)
|
|
87
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 308871)
|
|
88
|
+
[PASS] test_send_WithFee() (gas: 477338)
|
|
89
|
+
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
108
90
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
109
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
110
|
-
Suite result: ok.
|
|
91
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38899, ~: 38967)
|
|
92
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 720.05ms (1.52s CPU time)
|
|
111
93
|
|
|
112
94
|
Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAltTest
|
|
113
95
|
[PASS] test_credit() (gas: 89871)
|
|
114
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
96
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93182, ~: 93303)
|
|
115
97
|
[PASS] test_debit() (gas: 98327)
|
|
116
98
|
[PASS] test_debit_Dust() (gas: 141836)
|
|
117
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
99
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 144702, ~: 145461)
|
|
118
100
|
[PASS] test_debit_PushesFees() (gas: 167796)
|
|
119
101
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
120
102
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 141789)
|
|
121
103
|
[PASS] test_debit_WithFee() (gas: 165270)
|
|
122
104
|
[PASS] test_debit_WithFee_Dust() (gas: 167884)
|
|
123
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
105
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 170877, ~: 173204)
|
|
124
106
|
[PASS] test_initialize() (gas: 24700)
|
|
125
107
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
126
108
|
[PASS] test_pause_unpause() (gas: 132067)
|
|
@@ -130,7 +112,7 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
|
|
|
130
112
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
131
113
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 187257)
|
|
132
114
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 235398)
|
|
133
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
115
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 202474, ~: 202299)
|
|
134
116
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
135
117
|
[PASS] test_rateLimit_Inflow() (gas: 108824)
|
|
136
118
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
@@ -142,89 +124,21 @@ Ran 32 tests for test/OFTBurnMintExtendedRBACAlt.t.sol:OFTBurnMintExtendedRBACAl
|
|
|
142
124
|
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
143
125
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
144
126
|
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38947, ~: 39034)
|
|
145
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
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
|
-
|
|
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)
|
|
127
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 766.73ms (1.95s CPU time)
|
|
214
128
|
|
|
215
129
|
Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtendedRBACAltTest
|
|
216
130
|
[PASS] test_credit() (gas: 89873)
|
|
217
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
131
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92930, ~: 93305)
|
|
218
132
|
[PASS] test_debit() (gas: 120710)
|
|
219
133
|
[PASS] test_debit_Dust() (gas: 145216)
|
|
220
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
134
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 147630, ~: 148086)
|
|
221
135
|
[PASS] test_debit_PushesFees() (gas: 165984)
|
|
222
136
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133872)
|
|
223
137
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 145179)
|
|
224
138
|
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122500)
|
|
225
139
|
[PASS] test_debit_WithFee() (gas: 166449)
|
|
226
140
|
[PASS] test_debit_WithFee_Dust() (gas: 166055)
|
|
227
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
141
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168113, ~: 170245)
|
|
228
142
|
[PASS] test_initialize() (gas: 24700)
|
|
229
143
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
230
144
|
[PASS] test_pause_unpause() (gas: 153198)
|
|
@@ -234,7 +148,7 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
|
|
|
234
148
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
235
149
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 243840)
|
|
236
150
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 270346)
|
|
237
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
151
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 193673, ~: 193521)
|
|
238
152
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
239
153
|
[PASS] test_rateLimit_Inflow() (gas: 108826)
|
|
240
154
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159696)
|
|
@@ -245,97 +159,21 @@ Ran 33 tests for test/OFTBurnSelfMintExtendedRBACAlt.t.sol:OFTBurnSelfMintExtend
|
|
|
245
159
|
[PASS] test_send_WithFee() (gas: 504694)
|
|
246
160
|
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
247
161
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
248
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
249
|
-
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in
|
|
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)
|
|
162
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38914, ~: 39034)
|
|
163
|
+
Suite result: ok. 33 passed; 0 failed; 0 skipped; finished in 895.88ms (1.88s CPU time)
|
|
326
164
|
|
|
327
165
|
Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRBACAltTest
|
|
328
166
|
[PASS] test_credit() (gas: 91882)
|
|
329
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
167
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 95159, ~: 95314)
|
|
330
168
|
[PASS] test_debit() (gas: 113036)
|
|
331
169
|
[PASS] test_debit_Dust() (gas: 137551)
|
|
332
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
170
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 140248, ~: 140423)
|
|
333
171
|
[PASS] test_debit_PushesFees() (gas: 163342)
|
|
334
172
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 133828)
|
|
335
173
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 137513)
|
|
336
174
|
[PASS] test_debit_WithFee() (gas: 163924)
|
|
337
175
|
[PASS] test_debit_WithFee_Dust() (gas: 163430)
|
|
338
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
176
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 163365, ~: 162567)
|
|
339
177
|
[PASS] test_initialize() (gas: 24656)
|
|
340
178
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
341
179
|
[PASS] test_pause_unpause() (gas: 145524)
|
|
@@ -345,7 +183,7 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
345
183
|
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
346
184
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 200448)
|
|
347
185
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 242784)
|
|
348
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
186
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 198108, ~: 197912)
|
|
349
187
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84299)
|
|
350
188
|
[PASS] test_rateLimit_Inflow() (gas: 132710)
|
|
351
189
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 159652)
|
|
@@ -356,21 +194,56 @@ Ran 32 tests for test/OFTLockUnlockExtendedRBACAlt.t.sol:OFTLockUnlockExtendedRB
|
|
|
356
194
|
[PASS] test_send_WithFee() (gas: 516566)
|
|
357
195
|
[PASS] test_setFeeDeposit() (gas: 28423)
|
|
358
196
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
359
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
360
|
-
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in
|
|
197
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38913, ~: 39012)
|
|
198
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 901.97ms (2.48s CPU time)
|
|
199
|
+
|
|
200
|
+
Ran 32 tests for test/OFTBurnSelfMintExtendedRBAC.t.sol:OFTBurnSelfMintExtendedRBACTest
|
|
201
|
+
[PASS] test_credit() (gas: 89873)
|
|
202
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 92939, ~: 93305)
|
|
203
|
+
[PASS] test_debit() (gas: 120710)
|
|
204
|
+
[PASS] test_debit_Dust() (gas: 143616)
|
|
205
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 146097, ~: 146486)
|
|
206
|
+
[PASS] test_debit_PushesFees() (gas: 164384)
|
|
207
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131872)
|
|
208
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 143579)
|
|
209
|
+
[PASS] test_debit_TokensTransferredToSelfThenBurned() (gas: 122517)
|
|
210
|
+
[PASS] test_debit_WithFee() (gas: 166449)
|
|
211
|
+
[PASS] test_debit_WithFee_Dust() (gas: 164455)
|
|
212
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 166715, ~: 168640)
|
|
213
|
+
[PASS] test_initialize() (gas: 24700)
|
|
214
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
215
|
+
[PASS] test_pause_unpause() (gas: 151598)
|
|
216
|
+
[PASS] test_quoteOFT() (gas: 70712)
|
|
217
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80538)
|
|
218
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59173)
|
|
219
|
+
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
220
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 242240)
|
|
221
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 268746)
|
|
222
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 192052, ~: 191921)
|
|
223
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84254)
|
|
224
|
+
[PASS] test_rateLimit_Inflow() (gas: 108738)
|
|
225
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
226
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 175225)
|
|
227
|
+
[PASS] test_send() (gas: 387136)
|
|
228
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 335267)
|
|
229
|
+
[PASS] test_send_WithFee() (gas: 462592)
|
|
230
|
+
[PASS] test_setFeeDeposit() (gas: 28445)
|
|
231
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
232
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38957, ~: 39034)
|
|
233
|
+
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 923.37ms (3.06s CPU time)
|
|
361
234
|
|
|
362
235
|
Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCrosschainTest
|
|
363
236
|
[PASS] test_credit() (gas: 89874)
|
|
364
|
-
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ:
|
|
237
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93067, ~: 93306)
|
|
365
238
|
[PASS] test_debit() (gas: 98332)
|
|
366
239
|
[PASS] test_debit_Dust() (gas: 139763)
|
|
367
|
-
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ:
|
|
240
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 142661, ~: 143477)
|
|
368
241
|
[PASS] test_debit_PushesFees() (gas: 165812)
|
|
369
242
|
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131894)
|
|
370
243
|
[PASS] test_debit_SmallAmount_DustOnly() (gas: 139827)
|
|
371
244
|
[PASS] test_debit_WithFee() (gas: 165286)
|
|
372
245
|
[PASS] test_debit_WithFee_Dust() (gas: 165900)
|
|
373
|
-
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ:
|
|
246
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 168451, ~: 171220)
|
|
374
247
|
[PASS] test_initialize() (gas: 24722)
|
|
375
248
|
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92844)
|
|
376
249
|
[PASS] test_pause_unpause() (gas: 130472)
|
|
@@ -380,7 +253,7 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
|
|
|
380
253
|
[PASS] test_quoteOFT_Paused() (gas: 56570)
|
|
381
254
|
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 185667)
|
|
382
255
|
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 233430)
|
|
383
|
-
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ:
|
|
256
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 200483, ~: 200315)
|
|
384
257
|
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84276)
|
|
385
258
|
[PASS] test_rateLimit_Inflow() (gas: 108739)
|
|
386
259
|
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157696)
|
|
@@ -390,8 +263,84 @@ Ran 31 tests for test/OFTBurnMintExtendedRBAC.t.sol:OFTBurnMintExtendedRBACCross
|
|
|
390
263
|
[PASS] test_send_WithFee() (gas: 477358)
|
|
391
264
|
[PASS] test_setFeeDeposit() (gas: 28359)
|
|
392
265
|
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22605)
|
|
393
|
-
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ:
|
|
394
|
-
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in
|
|
266
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38885, ~: 38967)
|
|
267
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 923.37ms (3.06s CPU time)
|
|
268
|
+
|
|
269
|
+
Ran 31 tests for test/OFTLockUnlockExtendedRBAC.t.sol:OFTLockUnlockExtendedRBACTest
|
|
270
|
+
[PASS] test_credit() (gas: 89882)
|
|
271
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 93010, ~: 93314)
|
|
272
|
+
[PASS] test_debit() (gas: 113036)
|
|
273
|
+
[PASS] test_debit_Dust() (gas: 135880)
|
|
274
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 138322, ~: 139029)
|
|
275
|
+
[PASS] test_debit_PushesFees() (gas: 161342)
|
|
276
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 131850)
|
|
277
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 135931)
|
|
278
|
+
[PASS] test_debit_WithFee() (gas: 163924)
|
|
279
|
+
[PASS] test_debit_WithFee_Dust() (gas: 161430)
|
|
280
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 161512, ~: 160967)
|
|
281
|
+
[PASS] test_initialize() (gas: 24678)
|
|
282
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92822)
|
|
283
|
+
[PASS] test_pause_unpause() (gas: 143924)
|
|
284
|
+
[PASS] test_quoteOFT() (gas: 70757)
|
|
285
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80605)
|
|
286
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59262)
|
|
287
|
+
[PASS] test_quoteOFT_Paused() (gas: 56637)
|
|
288
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 198848)
|
|
289
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 241184)
|
|
290
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 196094, ~: 195912)
|
|
291
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84321)
|
|
292
|
+
[PASS] test_rateLimit_Inflow() (gas: 130622)
|
|
293
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 157652)
|
|
294
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 174915)
|
|
295
|
+
[PASS] test_send() (gas: 418929)
|
|
296
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 325718)
|
|
297
|
+
[PASS] test_send_WithFee() (gas: 474453)
|
|
298
|
+
[PASS] test_setFeeDeposit() (gas: 28337)
|
|
299
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22583)
|
|
300
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38829, ~: 38945)
|
|
301
|
+
Suite result: ok. 31 passed; 0 failed; 0 skipped; finished in 1.01s (3.35s CPU time)
|
|
302
|
+
|
|
303
|
+
Ran 39 tests for test/OFTNativeExtendedRBAC.t.sol:OFTNativeExtendedRBACTest
|
|
304
|
+
[PASS] test_approvalRequired() (gas: 13426)
|
|
305
|
+
[PASS] test_credit() (gas: 62369)
|
|
306
|
+
[PASS] test_credit_Fuzz(uint256) (runs: 1000, μ: 65839, ~: 65954)
|
|
307
|
+
[PASS] test_credit_Revert_CreditFailed() (gas: 91478)
|
|
308
|
+
[PASS] test_debit() (gas: 36831)
|
|
309
|
+
[PASS] test_debit_Dust() (gas: 76272)
|
|
310
|
+
[PASS] test_debit_NoFee_Fuzz(uint256) (runs: 1000, μ: 79719, ~: 79886)
|
|
311
|
+
[PASS] test_debit_PushesFees() (gas: 101339)
|
|
312
|
+
[PASS] test_debit_Revert_SlippageExceeded() (gas: 54229)
|
|
313
|
+
[PASS] test_debit_SmallAmount_DustOnly() (gas: 76226)
|
|
314
|
+
[PASS] test_debit_WithFee() (gas: 101145)
|
|
315
|
+
[PASS] test_debit_WithFee_Dust() (gas: 102376)
|
|
316
|
+
[PASS] test_debit_WithFee_Fuzz(uint256,uint16) (runs: 1000, μ: 105440, ~: 107585)
|
|
317
|
+
[PASS] test_initialize() (gas: 22406)
|
|
318
|
+
[PASS] test_initialize_Revert_InvalidInitialAdmin() (gas: 92778)
|
|
319
|
+
[PASS] test_pause_unpause() (gas: 61117)
|
|
320
|
+
[PASS] test_quoteOFT() (gas: 70779)
|
|
321
|
+
[PASS] test_quoteOFT_GloballyDisabled() (gas: 80649)
|
|
322
|
+
[PASS] test_quoteOFT_OutboundRateLimitDisabled() (gas: 59220)
|
|
323
|
+
[PASS] test_quoteOFT_Paused() (gas: 56703)
|
|
324
|
+
[PASS] test_quoteOFT_RateLimiterUsage() (gas: 97744)
|
|
325
|
+
[PASS] test_quoteOFT_RateLimiterWithFee() (gas: 160139)
|
|
326
|
+
[PASS] test_quoteOFT_RateLimiterWithFee_Fuzz(uint96,uint16) (runs: 1000, μ: 137889, ~: 137703)
|
|
327
|
+
[PASS] test_quoteOFT_RateLimiterWithMaxFee() (gas: 84387)
|
|
328
|
+
[PASS] test_rateLimit_Inflow() (gas: 87713)
|
|
329
|
+
[PASS] test_rateLimit_Outflow_WithFee_Revert_ExceedsLimit() (gas: 80123)
|
|
330
|
+
[PASS] test_rateLimit_Outflow_WithFee_Success() (gas: 116713)
|
|
331
|
+
[PASS] test_send() (gas: 352734)
|
|
332
|
+
[PASS] test_send_PushesFees() (gas: 415282)
|
|
333
|
+
[PASS] test_send_Revert_FeeTransferFailed() (gas: 157067)
|
|
334
|
+
[PASS] test_send_Revert_IncorrectMessageValue_TooHigh() (gas: 30287)
|
|
335
|
+
[PASS] test_send_Revert_IncorrectMessageValue_TooLow() (gas: 30257)
|
|
336
|
+
[PASS] test_send_Revert_IncorrectMessageValue_ZeroValue() (gas: 22753)
|
|
337
|
+
[PASS] test_send_Revert_MsgInspection() (gas: 221169)
|
|
338
|
+
[PASS] test_send_WithFee() (gas: 415240)
|
|
339
|
+
[PASS] test_setFeeDeposit() (gas: 28425)
|
|
340
|
+
[PASS] test_setFeeDeposit_Revert_Unauthorized() (gas: 22627)
|
|
341
|
+
[PASS] test_setRateLimitConfig_Fuzz(uint96) (runs: 1000, μ: 38900, ~: 39011)
|
|
342
|
+
[PASS] test_token() (gas: 13483)
|
|
343
|
+
Suite result: ok. 39 passed; 0 failed; 0 skipped; finished in 1.01s (1.89s CPU time)
|
|
395
344
|
|
|
396
|
-
Ran 9 test suites in
|
|
397
|
-
⏳ forge test:
|
|
345
|
+
Ran 9 test suites in 1.16s (7.86s CPU time): 292 tests passed, 0 failed, 0 skipped (292 total tests)
|
|
346
|
+
⏳ forge test: 36.773s
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/oft-upgradeable-evm-contracts",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
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/oapp-evm-contracts": "1.2.
|
|
18
|
-
"@layerzerolabs/
|
|
19
|
-
"@layerzerolabs/oft-evm-contracts": "1.2.
|
|
20
|
-
"@layerzerolabs/
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/utils-evm-contracts": "1.2.
|
|
23
|
-
"@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.
|
|
24
|
-
"@layerzerolabs/vm-tooling-evm": "1.2.
|
|
17
|
+
"@layerzerolabs/oapp-upgradeable-evm-contracts": "1.2.9",
|
|
18
|
+
"@layerzerolabs/solhint-configuration": "1.2.9",
|
|
19
|
+
"@layerzerolabs/oft-evm-contracts": "1.2.9",
|
|
20
|
+
"@layerzerolabs/test-utils-evm-contracts": "1.2.9",
|
|
21
|
+
"@layerzerolabs/oapp-evm-contracts": "1.2.9",
|
|
22
|
+
"@layerzerolabs/utils-evm-contracts": "1.2.9",
|
|
23
|
+
"@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.9",
|
|
24
|
+
"@layerzerolabs/vm-tooling-evm": "1.2.9"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public",
|