@layerzerolabs/oft-evm-contracts 0.2.133 → 1.2.6
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 +22 -25
- package/.turbo/turbo-test.log +57 -10
- package/package.json +9 -11
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,93 +6,90 @@
|
|
|
6
6
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
7
7
|
|
|
8
8
|
> @layerzerolabs/oft-evm-contracts@0.0.0 compile:evm /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
|
|
9
|
-
> pnpm lz-tool
|
|
9
|
+
> pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js
|
|
10
10
|
|
|
11
11
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
12
12
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
13
13
|
🔧 hardhat version: 2.26.3
|
|
14
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
14
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-EGOKMv
|
|
15
15
|
📦 Copied 9 workspace package source(s)
|
|
16
16
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
17
|
-
(node:
|
|
17
|
+
(node:45377) [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-EGOKMv:/workspace
|
|
23
23
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-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
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
|
|
27
|
-
$ docker container rm
|
|
27
|
+
$ docker container rm e711dc3b06d0fb17cb00c193321ab410d3f807718919df83125695f7a944eb8c
|
|
28
28
|
✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 (linux/amd64)
|
|
29
29
|
👤 Running container as UID:GID 1001:1001
|
|
30
|
-
|
|
31
|
-
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e $'TS_NODE_COMPILER_OPTIONS={"module":"CommonJS","moduleResolution":"node"}' -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-KDCFJS:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-upgradeable 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 hardhat compile --config /hardhat/hardhat.default.config.js
|
|
30
|
+
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-EGOKMv:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-upgradeable 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3 hardhat compile --config /hardhat/hardhat.default.config.js
|
|
32
31
|
Compiling 21 Solidity files
|
|
33
32
|
Successfully compiled 21 Solidity files
|
|
34
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js:
|
|
33
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 1.669s
|
|
35
34
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
36
35
|
|
|
37
36
|
> @layerzerolabs/oft-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
|
|
38
|
-
> pnpm lz-tool
|
|
37
|
+
> pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet
|
|
39
38
|
|
|
40
39
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
41
40
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
42
41
|
🔧 hardhat version: 2.26.3
|
|
43
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
42
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-8mxFiR
|
|
44
43
|
📦 Copied 9 workspace package source(s)
|
|
45
44
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
46
|
-
(node:
|
|
45
|
+
(node:46451) [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.
|
|
47
46
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
48
47
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
49
48
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
50
49
|
📦 Docker volumes:
|
|
51
|
-
-v /tmp/lz-scoped-workspace-
|
|
50
|
+
-v /tmp/lz-scoped-workspace-8mxFiR:/workspace
|
|
52
51
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable
|
|
53
52
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
54
53
|
$ 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
|
|
55
54
|
$ 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
|
|
56
|
-
$ docker container rm
|
|
55
|
+
$ docker container rm 90f45f9cd228743d63f4adeb79a799628a7216a39ffc2a61571928573a479673
|
|
57
56
|
✅ 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)
|
|
58
57
|
👤 Running container as UID:GID 1001:1001
|
|
59
|
-
|
|
60
|
-
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e $'TS_NODE_COMPILER_OPTIONS={"module":"CommonJS","moduleResolution":"node"}' -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-0hq3Qt:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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
|
|
58
|
+
$ 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-8mxFiR:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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
|
|
61
59
|
The solc version 1.3.22 is deprecated and will be removed for security reasons soon. Please update to v1.4.0 or newer.
|
|
62
60
|
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.
|
|
63
61
|
Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
|
|
64
62
|
Compiling 21 Solidity files
|
|
65
63
|
Successfully compiled 21 Solidity files
|
|
66
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet:
|
|
64
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 2.063s
|
|
67
65
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
68
66
|
|
|
69
67
|
> @layerzerolabs/oft-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
|
|
70
|
-
> pnpm lz-tool
|
|
68
|
+
> pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet
|
|
71
69
|
|
|
72
70
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
73
71
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
74
72
|
🔧 hardhat version: 2.26.3
|
|
75
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
73
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-wt8eXp
|
|
76
74
|
📦 Copied 9 workspace package source(s)
|
|
77
75
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
78
|
-
(node:
|
|
76
|
+
(node:47743) [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.
|
|
79
77
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
80
78
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
81
79
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
82
80
|
📦 Docker volumes:
|
|
83
|
-
-v /tmp/lz-scoped-workspace-
|
|
81
|
+
-v /tmp/lz-scoped-workspace-wt8eXp:/workspace
|
|
84
82
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable
|
|
85
83
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
86
84
|
$ 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
|
|
87
85
|
$ 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
|
|
88
|
-
$ docker container rm
|
|
86
|
+
$ docker container rm 4fc660d291a9392d8a74d4d0f6c27a3e011f369ebd9d5cd9dc63ca3e5909b366
|
|
89
87
|
✅ 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)
|
|
90
88
|
👤 Running container as UID:GID 1001:1001
|
|
91
|
-
|
|
92
|
-
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e $'TS_NODE_COMPILER_OPTIONS={"module":"CommonJS","moduleResolution":"node"}' -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-SMOJub:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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
|
|
89
|
+
$ 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-wt8eXp:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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
|
|
93
90
|
detected tron network, replacing deployments extension with custom one
|
|
94
|
-
Compiling contracts with tron solc v0.8.23
|
|
95
91
|
Tron-solc v0.8.23 is unknown version, attempting anyway...
|
|
92
|
+
Compiling contracts with tron solc v0.8.23
|
|
96
93
|
Compiling 21 Solidity files
|
|
97
94
|
Successfully compiled 21 Solidity files
|
|
98
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet:
|
|
95
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 2.521s
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -4,23 +4,70 @@
|
|
|
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-J0Z4Bt
|
|
8
8
|
📦 Copied 9 workspace package source(s)
|
|
9
9
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
10
|
-
(node:
|
|
10
|
+
(node:88595) [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-J0Z4Bt:/workspace
|
|
16
16
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-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
|
-
|
|
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: Already exists
|
|
26
|
+
5760fdd70374: Already exists
|
|
27
|
+
c70db14240a1: Already exists
|
|
28
|
+
0cb2c6965bde: Pulling fs layer
|
|
29
|
+
885bca26f927: Pulling fs layer
|
|
30
|
+
8e167e77288f: Pulling fs layer
|
|
31
|
+
45d43cc973ba: Pulling fs layer
|
|
32
|
+
44c09156221f: Pulling fs layer
|
|
33
|
+
f2fb700979ad: Pulling fs layer
|
|
34
|
+
2a1ced882ba9: Pulling fs layer
|
|
35
|
+
597168d5c38e: Pulling fs layer
|
|
36
|
+
e431adaf232f: Pulling fs layer
|
|
37
|
+
36e15e3f2788: Pulling fs layer
|
|
38
|
+
36e15e3f2788: Waiting
|
|
39
|
+
44c09156221f: Download complete
|
|
40
|
+
45d43cc973ba: Download complete
|
|
41
|
+
f2fb700979ad: Download complete
|
|
42
|
+
8e167e77288f: Download complete
|
|
43
|
+
597168d5c38e: Download complete
|
|
44
|
+
e431adaf232f: Waiting
|
|
45
|
+
0cb2c6965bde: Pull complete
|
|
46
|
+
2a1ced882ba9: Verifying Checksum
|
|
47
|
+
2a1ced882ba9: Download complete
|
|
48
|
+
36e15e3f2788: Verifying Checksum
|
|
49
|
+
36e15e3f2788: Download complete
|
|
50
|
+
e431adaf232f: Verifying Checksum
|
|
51
|
+
e431adaf232f: Download complete
|
|
52
|
+
885bca26f927: Verifying Checksum
|
|
53
|
+
885bca26f927: Download complete
|
|
54
|
+
885bca26f927: Pull complete
|
|
55
|
+
8e167e77288f: Pull complete
|
|
56
|
+
45d43cc973ba: Pull complete
|
|
57
|
+
44c09156221f: Pull complete
|
|
58
|
+
f2fb700979ad: Pull complete
|
|
59
|
+
2a1ced882ba9: Pull complete
|
|
60
|
+
597168d5c38e: Pull complete
|
|
61
|
+
e431adaf232f: Pull complete
|
|
62
|
+
36e15e3f2788: Pull complete
|
|
63
|
+
Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
|
|
64
|
+
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
|
|
65
|
+
438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
66
|
+
✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
20
67
|
👤 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-
|
|
68
|
+
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-J0Z4Bt:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oft-app/contracts/evm/non-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
69
|
Compiling 41 files with Solc 0.8.22
|
|
23
|
-
Solc 0.8.22 finished in
|
|
70
|
+
Solc 0.8.22 finished in 1.10s
|
|
24
71
|
Compiler run successful!
|
|
25
72
|
|
|
26
73
|
Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
|
|
@@ -33,7 +80,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
|
|
|
33
80
|
[PASS] test_constructor_18_8() (gas: 10747)
|
|
34
81
|
[PASS] test_constructor_6_6() (gas: 10747)
|
|
35
82
|
[PASS] test_constructor_8_6() (gas: 10791)
|
|
36
|
-
[PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, μ:
|
|
83
|
+
[PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, μ: 191123, ~: 191177)
|
|
37
84
|
[PASS] test_constructor_Revert_SharedGreaterThanLocal() (gas: 36043)
|
|
38
85
|
[PASS] test_removeDust_0_0() (gas: 8695)
|
|
39
86
|
[PASS] test_removeDust_18_6_NoDust() (gas: 8704)
|
|
@@ -72,7 +119,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
|
|
|
72
119
|
[PASS] test_toSD_Revert_AmountSDOverflowed_0_0() (gas: 9119)
|
|
73
120
|
[PASS] test_toSD_Revert_AmountSDOverflowed_18_6() (gas: 9264)
|
|
74
121
|
[PASS] test_toSD_Revert_AmountSDOverflowed_6_6() (gas: 9186)
|
|
75
|
-
Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in
|
|
122
|
+
Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 114.52ms (673.63ms CPU time)
|
|
76
123
|
|
|
77
|
-
Ran 1 test suite in
|
|
78
|
-
⏳ forge test:
|
|
124
|
+
Ran 1 test suite in 122.32ms (114.52ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
|
|
125
|
+
⏳ forge test: 3.464s
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/oft-evm-contracts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LayerZero Labs reference EVM OFT implementation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,12 +14,10 @@
|
|
|
14
14
|
"@openzeppelin/contracts-upgradeable": "^5.0.2",
|
|
15
15
|
"ethers": "^5.8.0",
|
|
16
16
|
"solhint": "^6.0.1",
|
|
17
|
-
"@layerzerolabs/
|
|
18
|
-
"@layerzerolabs/
|
|
19
|
-
"@layerzerolabs/
|
|
20
|
-
"@layerzerolabs/
|
|
21
|
-
"@layerzerolabs/typescript-configuration": "0.2.133",
|
|
22
|
-
"@layerzerolabs/vm-tooling-evm": "0.2.133"
|
|
17
|
+
"@layerzerolabs/vm-tooling-evm": "1.2.6",
|
|
18
|
+
"@layerzerolabs/utils-evm-contracts": "1.2.6",
|
|
19
|
+
"@layerzerolabs/oapp-evm-contracts": "1.2.6",
|
|
20
|
+
"@layerzerolabs/solhint-configuration": "1.2.6"
|
|
23
21
|
},
|
|
24
22
|
"publishConfig": {
|
|
25
23
|
"access": "public",
|
|
@@ -35,10 +33,10 @@
|
|
|
35
33
|
"scripts": {
|
|
36
34
|
"build": "pnpm compile:evm && pnpm compile:zksync && pnpm compile:tron",
|
|
37
35
|
"clean": "rm -rf ./node_modules .turbo ./dist && pnpm generated:clean",
|
|
38
|
-
"compile:evm": "pnpm lz-tool
|
|
39
|
-
"compile:tron": "pnpm lz-tool
|
|
40
|
-
"compile:zksync": "pnpm lz-tool
|
|
41
|
-
"generated:clean": "rm -rf ./artifacts ./
|
|
36
|
+
"compile:evm": "pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js",
|
|
37
|
+
"compile:tron": "pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet",
|
|
38
|
+
"compile:zksync": "pnpm lz-tool hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet",
|
|
39
|
+
"generated:clean": "rm -rf ./artifacts* ./hh-cache* ./out ./cache",
|
|
42
40
|
"lint": "solhint --config solhint.config.js 'contracts/**/*.sol' 'test/**/*.sol' --fix --noPrompt",
|
|
43
41
|
"test": "pnpm lz-tool forge test",
|
|
44
42
|
"test:snapshot:check": "pnpm exec turbo-snapshot check",
|