@layerzerolabs/oft-evm-contracts 1.2.9 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,26 +11,26 @@
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-Z71BFY
14
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-4o56yY
15
15
  📦 Copied 9 workspace package source(s)
16
16
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
17
- (node:99881) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
17
+ (node:101909) [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-Z71BFY:/workspace
22
+ -v /tmp/lz-scoped-workspace-4o56yY:/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 4ca4b83ae9a79274dfe55cc7183830997bd2a3bab36f8ed5abc5cee9361212e0
27
+ $ docker container rm 569f425d147d182a48bd9d1e6e89352216f0938003ed11d71666b3378ef0296f
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
- $ 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-Z71BFY:/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-4o56yY:/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
31
31
  Compiling 21 Solidity files
32
32
  Successfully compiled 21 Solidity files
33
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 2.820s
33
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 3.631s
34
34
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
35
35
 
36
36
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -39,29 +39,29 @@ Successfully compiled 21 Solidity files
39
39
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
40
40
  ✅ forge-1.3.6-hardhat-2.26.3
41
41
  🔧 hardhat version: 2.26.3
42
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-ZlGzPw
42
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-cF7JSQ
43
43
  📦 Copied 9 workspace package source(s)
44
44
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
45
- (node:101077) [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.
45
+ (node:108061) [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.
46
46
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
47
47
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
48
48
  (Use `node --trace-warnings ...` to show where the warning was created)
49
49
  📦 Docker volumes:
50
- -v /tmp/lz-scoped-workspace-ZlGzPw:/workspace
50
+ -v /tmp/lz-scoped-workspace-cF7JSQ:/workspace
51
51
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable
52
52
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
53
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
54
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
55
- $ docker container rm 111c23178e200fd9cdbb071de8df6f8eb5e1184c38542dc973d7141cbc0b3efd
55
+ $ docker container rm d45a255ae0aa89e36f40957c52a86c8601d7c0684f1e2d94ac852850f1e774d6
56
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)
57
57
  👤 Running container as UID:GID 1001:1001
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-ZlGzPw:/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-cF7JSQ:/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
59
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.
60
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.
61
61
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
62
62
  Compiling 21 Solidity files
63
63
  Successfully compiled 21 Solidity files
64
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 3.913s
64
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 3.645s
65
65
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
66
66
 
67
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,26 +70,26 @@ Successfully compiled 21 Solidity files
70
70
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
71
71
  ✅ forge-1.3.6-hardhat-2.26.3
72
72
  🔧 hardhat version: 2.26.3
73
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-tJzO0b
73
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-rI3gd2
74
74
  📦 Copied 9 workspace package source(s)
75
75
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
76
- (node:111410) [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.
76
+ (node:116210) [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.
77
77
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
78
78
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
79
79
  (Use `node --trace-warnings ...` to show where the warning was created)
80
80
  📦 Docker volumes:
81
- -v /tmp/lz-scoped-workspace-tJzO0b:/workspace
81
+ -v /tmp/lz-scoped-workspace-rI3gd2:/workspace
82
82
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable:/workspace/apps/oft-app/contracts/evm/non-upgradeable
83
83
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
84
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
85
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
86
- $ docker container rm 28241de926ed263e554add2aa5ab8b212c7cc2257f45f86007e23c2a878f1e66
86
+ $ docker container rm 187ba23e30a2287309e69241c09a9dc72109246bf11e2aba66fce9976fc7f4d5
87
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)
88
88
  👤 Running container as UID:GID 1001:1001
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-tJzO0b:/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-rI3gd2:/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
90
90
  detected tron network, replacing deployments extension with custom one
91
- Compiling contracts with tron solc v0.8.23
92
91
  Tron-solc v0.8.23 is unknown version, attempting anyway...
92
+ Compiling contracts with tron solc v0.8.23
93
93
  Compiling 21 Solidity files
94
94
  Successfully compiled 21 Solidity files
95
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.706s
95
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.888s
@@ -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-QlBCQW
7
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-CxHlVm
8
8
  📦 Copied 9 workspace package source(s)
9
9
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
10
- (node:253176) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/runner/work/monorepo-internal/monorepo-internal/configs/vm-tooling/values/docker-image-repo.ts is not specified and it doesn't parse as CommonJS.
10
+ (node:204670) [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-QlBCQW:/workspace
15
+ -v /tmp/lz-scoped-workspace-CxHlVm:/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-QlBCQW:/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
21
+ $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-CxHlVm:/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 797.07ms
23
+ Solc 0.8.22 finished in 1.14s
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, μ: 191120, ~: 191177)
36
+ [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, μ: 191127, ~: 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 49.83ms (403.38ms CPU time)
75
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 89.96ms (663.10ms CPU time)
76
76
 
77
- Ran 1 test suite in 55.72ms (49.83ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
78
- ⏳ forge test: 2.589s
77
+ Ran 1 test suite in 96.99ms (89.96ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
78
+ ⏳ forge test: 2.421s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-evm-contracts",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM OFT implementation",
6
6
  "license": "MIT",
@@ -14,10 +14,10 @@
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.9",
18
- "@layerzerolabs/vm-tooling-evm": "1.2.9",
19
- "@layerzerolabs/solhint-configuration": "1.2.9",
20
- "@layerzerolabs/utils-evm-contracts": "1.2.9"
17
+ "@layerzerolabs/oapp-evm-contracts": "1.2.10",
18
+ "@layerzerolabs/solhint-configuration": "1.2.10",
19
+ "@layerzerolabs/utils-evm-contracts": "1.2.10",
20
+ "@layerzerolabs/vm-tooling-evm": "1.2.10"
21
21
  },
22
22
  "publishConfig": {
23
23
  "access": "public",