@layerzerolabs/oft-evm-contracts 0.2.129 → 0.2.131
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 +19 -19
- package/.turbo/turbo-test.log +9 -9
- package/package.json +7 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -11,27 +11,27 @@
|
|
|
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-KDCFJS
|
|
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:125209) [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-KDCFJS:/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 2a48a439ff33a70b4e6b442dc85caa68ddb6f9aa09ccaeccea33463e76d14f12
|
|
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
30
|
🌍 Using 1 custom environment variable(s)
|
|
31
|
-
$ docker run --platform linux/amd64 --rm --add-host=host.docker.internal:host-gateway -e $'TS_NODE_COMPILER_OPTIONS={"module":"CommonJS","moduleResolution":"node"}' -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-
|
|
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
|
|
32
32
|
Compiling 21 Solidity files
|
|
33
33
|
Successfully compiled 21 Solidity files
|
|
34
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js:
|
|
34
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 3.266s
|
|
35
35
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
36
36
|
|
|
37
37
|
> @layerzerolabs/oft-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
|
|
@@ -40,30 +40,30 @@ Successfully compiled 21 Solidity files
|
|
|
40
40
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
41
41
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
42
42
|
🔧 hardhat version: 2.26.3
|
|
43
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
43
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-0hq3Qt
|
|
44
44
|
📦 Copied 9 workspace package source(s)
|
|
45
45
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
46
|
-
(node:
|
|
46
|
+
(node:130855) [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
47
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
48
48
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
49
49
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
50
50
|
📦 Docker volumes:
|
|
51
|
-
-v /tmp/lz-scoped-workspace-
|
|
51
|
+
-v /tmp/lz-scoped-workspace-0hq3Qt:/workspace
|
|
52
52
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable
|
|
53
53
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
54
54
|
$ 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
55
|
$ 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
|
|
56
|
+
$ docker container rm 2845d4bfb99bbc951272b89751aa639cb5a32eff760d3d54dc8a9f47ac9e130b
|
|
57
57
|
✅ 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
58
|
👤 Running container as UID:GID 1001:1001
|
|
59
59
|
🌍 Using 1 custom environment variable(s)
|
|
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-
|
|
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
|
|
61
61
|
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
62
|
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
63
|
Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
|
|
64
64
|
Compiling 21 Solidity files
|
|
65
65
|
Successfully compiled 21 Solidity files
|
|
66
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 3.
|
|
66
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 3.578s
|
|
67
67
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
68
68
|
|
|
69
69
|
> @layerzerolabs/oft-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
|
|
@@ -72,27 +72,27 @@ Successfully compiled 21 Solidity files
|
|
|
72
72
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
73
73
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
74
74
|
🔧 hardhat version: 2.26.3
|
|
75
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
75
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-SMOJub
|
|
76
76
|
📦 Copied 9 workspace package source(s)
|
|
77
77
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
78
|
-
(node:
|
|
78
|
+
(node:138952) [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
79
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
80
80
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
81
81
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
82
82
|
📦 Docker volumes:
|
|
83
|
-
-v /tmp/lz-scoped-workspace-
|
|
83
|
+
-v /tmp/lz-scoped-workspace-SMOJub:/workspace
|
|
84
84
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable
|
|
85
85
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
86
86
|
$ 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
87
|
$ 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
|
|
88
|
+
$ docker container rm 9199ef8f01bb3f311e54fc3584e3b633075ae83a931fb3c2bf81114f24ca88da
|
|
89
89
|
✅ 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
90
|
👤 Running container as UID:GID 1001:1001
|
|
91
91
|
🌍 Using 1 custom environment variable(s)
|
|
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-
|
|
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
|
|
93
93
|
detected tron network, replacing deployments extension with custom one
|
|
94
|
-
Tron-solc v0.8.23 is unknown version, attempting anyway...
|
|
95
94
|
Compiling contracts with tron solc v0.8.23
|
|
95
|
+
Tron-solc v0.8.23 is unknown version, attempting anyway...
|
|
96
96
|
Compiling 21 Solidity files
|
|
97
97
|
Successfully compiled 21 Solidity files
|
|
98
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.
|
|
98
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.482s
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -4,23 +4,23 @@
|
|
|
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-QA4xPm
|
|
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:216299) [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-QA4xPm:/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
|
✅ 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)
|
|
20
20
|
👤 Running container as UID:GID 1001:1001
|
|
21
|
-
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-
|
|
21
|
+
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-QA4xPm:/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
22
|
Compiling 41 files with Solc 0.8.22
|
|
23
|
-
Solc 0.8.22 finished in
|
|
23
|
+
Solc 0.8.22 finished in 967.97ms
|
|
24
24
|
Compiler run successful!
|
|
25
25
|
|
|
26
26
|
Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
|
|
@@ -33,7 +33,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
|
|
|
33
33
|
[PASS] test_constructor_18_8() (gas: 10747)
|
|
34
34
|
[PASS] test_constructor_6_6() (gas: 10747)
|
|
35
35
|
[PASS] test_constructor_8_6() (gas: 10791)
|
|
36
|
-
[PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, μ:
|
|
36
|
+
[PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, μ: 191129, ~: 191177)
|
|
37
37
|
[PASS] test_constructor_Revert_SharedGreaterThanLocal() (gas: 36043)
|
|
38
38
|
[PASS] test_removeDust_0_0() (gas: 8695)
|
|
39
39
|
[PASS] test_removeDust_18_6_NoDust() (gas: 8704)
|
|
@@ -72,7 +72,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
|
|
|
72
72
|
[PASS] test_toSD_Revert_AmountSDOverflowed_0_0() (gas: 9119)
|
|
73
73
|
[PASS] test_toSD_Revert_AmountSDOverflowed_18_6() (gas: 9264)
|
|
74
74
|
[PASS] test_toSD_Revert_AmountSDOverflowed_6_6() (gas: 9186)
|
|
75
|
-
Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in
|
|
75
|
+
Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 64.89ms (528.05ms CPU time)
|
|
76
76
|
|
|
77
|
-
Ran 1 test suite in
|
|
78
|
-
⏳ forge test: 2.
|
|
77
|
+
Ran 1 test suite in 72.68ms (64.89ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
|
|
78
|
+
⏳ forge test: 2.574s
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/oft-evm-contracts",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.131",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LayerZero Labs reference EVM OFT implementation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,12 +14,12 @@
|
|
|
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/typescript-configuration": "0.2.
|
|
20
|
-
"@layerzerolabs/
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/vm-tooling-evm": "0.2.
|
|
17
|
+
"@layerzerolabs/oapp-evm-contracts": "0.2.131",
|
|
18
|
+
"@layerzerolabs/tsup-configuration": "0.2.131",
|
|
19
|
+
"@layerzerolabs/typescript-configuration": "0.2.131",
|
|
20
|
+
"@layerzerolabs/solhint-configuration": "0.2.131",
|
|
21
|
+
"@layerzerolabs/utils-evm-contracts": "0.2.131",
|
|
22
|
+
"@layerzerolabs/vm-tooling-evm": "0.2.131"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public",
|