@layerzerolabs/oft-evm-contracts 0.2.113 → 0.2.115
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 +36 -15
- package/.turbo/turbo-test.log +15 -8
- package/package.json +7 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -11,20 +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
|
-
|
|
15
|
-
|
|
14
|
+
📦 Using mini workspace: /tmp/lz-mini-workspace-wCFrnF
|
|
15
|
+
📦 Copied 9 workspace package source(s)
|
|
16
|
+
📦 No mini-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
17
|
+
(node:72704) [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.
|
|
16
18
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
17
19
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
18
20
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
21
|
+
📦 Docker volumes:
|
|
22
|
+
-v /tmp/lz-mini-workspace-wCFrnF:/workspace
|
|
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
|
+
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
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
|
|
19
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
|
|
20
|
-
$ docker container rm
|
|
27
|
+
$ docker container rm 37e508764e8e2a4ebc7094e45feb555eccc7d590147f773fe102ef768a9a66d2
|
|
21
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)
|
|
22
29
|
👤 Running container as UID:GID 1001:1001
|
|
23
30
|
🌍 Using 1 custom environment variable(s)
|
|
24
|
-
$ 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 /home/runner/work/monorepo-internal/monorepo-internal:/workspace -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
|
|
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-mini-workspace-wCFrnF:/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
|
|
25
32
|
Compiling 21 Solidity files
|
|
26
33
|
Successfully compiled 21 Solidity files
|
|
27
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 2.
|
|
34
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 2.111s
|
|
28
35
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
29
36
|
|
|
30
37
|
> @layerzerolabs/oft-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
|
|
@@ -33,23 +40,30 @@ Successfully compiled 21 Solidity files
|
|
|
33
40
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
34
41
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
35
42
|
🔧 hardhat version: 2.26.3
|
|
36
|
-
|
|
37
|
-
|
|
43
|
+
📦 Using mini workspace: /tmp/lz-mini-workspace-gHwv07
|
|
44
|
+
📦 Copied 9 workspace package source(s)
|
|
45
|
+
📦 No mini-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
46
|
+
(node:73513) [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.
|
|
38
47
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
39
48
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
40
49
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
50
|
+
📦 Docker volumes:
|
|
51
|
+
-v /tmp/lz-mini-workspace-gHwv07:/workspace
|
|
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
|
+
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
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
|
|
41
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
|
|
42
|
-
$ docker container rm
|
|
56
|
+
$ docker container rm e6584a0a6f643985c255c0a25cab9454bbd0a2fce3e0bfcdf9795afbabbee640
|
|
43
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)
|
|
44
58
|
👤 Running container as UID:GID 1001:1001
|
|
45
59
|
🌍 Using 1 custom environment variable(s)
|
|
46
|
-
$ 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 /home/runner/work/monorepo-internal/monorepo-internal:/workspace -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
|
|
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-mini-workspace-gHwv07:/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
|
|
47
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.
|
|
48
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.
|
|
49
63
|
Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
|
|
50
64
|
Compiling 21 Solidity files
|
|
51
65
|
Successfully compiled 21 Solidity files
|
|
52
|
-
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet:
|
|
66
|
+
⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 2.579s
|
|
53
67
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
54
68
|
|
|
55
69
|
> @layerzerolabs/oft-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
|
|
@@ -58,20 +72,27 @@ Successfully compiled 21 Solidity files
|
|
|
58
72
|
WARN Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
|
|
59
73
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
60
74
|
🔧 hardhat version: 2.26.3
|
|
61
|
-
|
|
62
|
-
|
|
75
|
+
📦 Using mini workspace: /tmp/lz-mini-workspace-peUXVX
|
|
76
|
+
📦 Copied 9 workspace package source(s)
|
|
77
|
+
📦 No mini-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
78
|
+
(node:74425) [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.
|
|
63
79
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
64
80
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
65
81
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
82
|
+
📦 Docker volumes:
|
|
83
|
+
-v /tmp/lz-mini-workspace-peUXVX:/workspace
|
|
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
|
+
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
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
|
|
66
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
|
|
67
|
-
$ docker container rm
|
|
88
|
+
$ docker container rm e0b2925fea3aa91e27af0e2feaebbfff5985afad2b50577c64152c5b8db9c81a
|
|
68
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)
|
|
69
90
|
👤 Running container as UID:GID 1001:1001
|
|
70
91
|
🌍 Using 1 custom environment variable(s)
|
|
71
|
-
$ 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 /home/runner/work/monorepo-internal/monorepo-internal:/workspace -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
|
|
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-mini-workspace-peUXVX:/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
|
|
72
93
|
detected tron network, replacing deployments extension with custom one
|
|
73
94
|
Tron-solc v0.8.23 is unknown version, attempting anyway...
|
|
74
95
|
Compiling contracts with tron solc v0.8.23
|
|
75
96
|
Compiling 21 Solidity files
|
|
76
97
|
Successfully compiled 21 Solidity files
|
|
77
|
-
⏳ 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.755s
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -4,16 +4,23 @@
|
|
|
4
4
|
|
|
5
5
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
6
6
|
🔧 forge version: 1.3.6
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
📦 Using mini workspace: /tmp/lz-mini-workspace-V0PHy7
|
|
8
|
+
📦 Copied 9 workspace package source(s)
|
|
9
|
+
📦 No mini-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
10
|
+
(node:161699) [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.
|
|
9
11
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
10
12
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
11
13
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
14
|
+
📦 Docker volumes:
|
|
15
|
+
-v /tmp/lz-mini-workspace-V0PHy7:/workspace
|
|
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
|
+
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
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
|
|
12
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)
|
|
13
20
|
👤 Running container as UID:GID 1001:1001
|
|
14
|
-
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /home/runner/work/monorepo-internal/monorepo-internal:/workspace -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
|
|
21
|
+
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-mini-workspace-V0PHy7:/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
|
|
15
22
|
Compiling 41 files with Solc 0.8.22
|
|
16
|
-
Solc 0.8.22 finished in
|
|
23
|
+
Solc 0.8.22 finished in 2.04s
|
|
17
24
|
Compiler run successful!
|
|
18
25
|
|
|
19
26
|
Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
|
|
@@ -26,7 +33,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
|
|
|
26
33
|
[PASS] test_constructor_18_8() (gas: 10747)
|
|
27
34
|
[PASS] test_constructor_6_6() (gas: 10747)
|
|
28
35
|
[PASS] test_constructor_8_6() (gas: 10791)
|
|
29
|
-
[PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, μ:
|
|
36
|
+
[PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, μ: 191120, ~: 191177)
|
|
30
37
|
[PASS] test_constructor_Revert_SharedGreaterThanLocal() (gas: 36043)
|
|
31
38
|
[PASS] test_removeDust_0_0() (gas: 8695)
|
|
32
39
|
[PASS] test_removeDust_18_6_NoDust() (gas: 8704)
|
|
@@ -65,7 +72,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
|
|
|
65
72
|
[PASS] test_toSD_Revert_AmountSDOverflowed_0_0() (gas: 9119)
|
|
66
73
|
[PASS] test_toSD_Revert_AmountSDOverflowed_18_6() (gas: 9264)
|
|
67
74
|
[PASS] test_toSD_Revert_AmountSDOverflowed_6_6() (gas: 9186)
|
|
68
|
-
Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in
|
|
75
|
+
Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 196.48ms (1.31s CPU time)
|
|
69
76
|
|
|
70
|
-
Ran 1 test suite in
|
|
71
|
-
⏳ forge test:
|
|
77
|
+
Ran 1 test suite in 213.32ms (196.48ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
|
|
78
|
+
⏳ forge test: 5.151s
|
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.115",
|
|
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/oapp-evm-contracts": "0.2.
|
|
18
|
-
"@layerzerolabs/
|
|
19
|
-
"@layerzerolabs/
|
|
20
|
-
"@layerzerolabs/
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/vm-tooling-evm": "0.2.
|
|
17
|
+
"@layerzerolabs/oapp-evm-contracts": "0.2.115",
|
|
18
|
+
"@layerzerolabs/solhint-configuration": "0.2.115",
|
|
19
|
+
"@layerzerolabs/tsup-configuration": "0.2.115",
|
|
20
|
+
"@layerzerolabs/typescript-configuration": "0.2.115",
|
|
21
|
+
"@layerzerolabs/utils-evm-contracts": "0.2.115",
|
|
22
|
+
"@layerzerolabs/vm-tooling-evm": "0.2.115"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public",
|