@layerzerolabs/oft-evm-contracts 0.2.107 β†’ 0.2.108

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.
@@ -12,17 +12,19 @@
12
12
  βœ… forge-1.3.6-hardhat-2.26.3
13
13
  πŸ”§ hardhat version: 2.26.3
14
14
  $ 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
15
- (node:56061) [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.
15
+ (node:67249) [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
16
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
17
17
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
18
18
  (Use `node --trace-warnings ...` to show where the warning was created)
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)
19
+ $ 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 6ecc942871c11b6606a3cf15cb60e22ab10de59f36b289eee9a33b58000e29ee
21
+ βœ… 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)
20
22
  πŸ‘€ Running container as UID:GID 1001:1001
21
23
  🌍 Using 1 custom environment variable(s)
22
- $ docker run --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
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
23
25
  Compiling 21 Solidity files
24
26
  Successfully compiled 21 Solidity files
25
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 3.173s
27
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 2.764s
26
28
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
27
29
 
28
30
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -32,20 +34,22 @@ Successfully compiled 21 Solidity files
32
34
  βœ… forge-1.3.6-hardhat-2.26.3
33
35
  πŸ”§ hardhat version: 2.26.3
34
36
  $ 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
35
- (node:57092) [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.
37
+ (node:68133) [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.
36
38
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
37
39
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
38
40
  (Use `node --trace-warnings ...` to show where the warning was created)
39
- βœ… 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)
41
+ $ 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 c974f81d6baca6820912bc38dfe415472eaa812ccb3c28515661b9f13098fca1
43
+ βœ… 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)
40
44
  πŸ‘€ Running container as UID:GID 1001:1001
41
45
  🌍 Using 1 custom environment variable(s)
42
- $ docker run --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
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
43
47
  The solc version 1.3.22 is deprecated and will be removed for security reasons soon. Please update to v1.4.0 or newer.
44
48
  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.
45
49
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
46
50
  Compiling 21 Solidity files
47
51
  Successfully compiled 21 Solidity files
48
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 3.615s
52
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 3.368s
49
53
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
50
54
 
51
55
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -55,17 +59,19 @@ Successfully compiled 21 Solidity files
55
59
  βœ… forge-1.3.6-hardhat-2.26.3
56
60
  πŸ”§ hardhat version: 2.26.3
57
61
  $ 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
58
- (node:59261) [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.
62
+ (node:69639) [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.
59
63
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
60
64
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
61
65
  (Use `node --trace-warnings ...` to show where the warning was created)
62
- βœ… 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)
66
+ $ 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 3d67e1d5fa204d6113a5948a7add8aa6e3ce49c183f97b6782c790326b233fa0
68
+ βœ… 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)
63
69
  πŸ‘€ Running container as UID:GID 1001:1001
64
70
  🌍 Using 1 custom environment variable(s)
65
- $ docker run --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
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
66
72
  detected tron network, replacing deployments extension with custom one
67
- Tron-solc v0.8.23 is unknown version, attempting anyway...
68
73
  Compiling contracts with tron solc v0.8.23
74
+ Tron-solc v0.8.23 is unknown version, attempting anyway...
69
75
  Compiling 21 Solidity files
70
76
  Successfully compiled 21 Solidity files
71
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 4.784s
77
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.876s
@@ -2,7 +2,7 @@
2
2
  > @layerzerolabs/oft-evm-contracts@0.0.0 lint /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
3
3
  > solhint --config solhint.config.js 'contracts/**/*.sol' 'test/**/*.sol' --fix --noPrompt
4
4
 
5
- A new version of Solhint is available: 6.2.2
5
+ A new version of Solhint is available: 6.2.3
6
6
  Please consider updating your Solhint package.
7
7
 
8
8
  contracts/interfaces/IOFT.sol
@@ -5,7 +5,7 @@
5
5
  βœ… forge-1.3.6-hardhat-2.26.3
6
6
  πŸ”§ forge version: 1.3.6
7
7
  $ 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
8
- (node:130526) [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.
8
+ (node:141957) [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
9
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
10
10
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
11
11
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -13,7 +13,7 @@ To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-in
13
13
  πŸ‘€ Running container as UID:GID 1001:1001
14
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
15
15
  Compiling 41 files with Solc 0.8.22
16
- Solc 0.8.22 finished in 1.19s
16
+ Solc 0.8.22 finished in 1.15s
17
17
  Compiler run successful!
18
18
 
19
19
  Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
@@ -26,7 +26,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
26
26
  [PASS] test_constructor_18_8() (gas: 10747)
27
27
  [PASS] test_constructor_6_6() (gas: 10747)
28
28
  [PASS] test_constructor_8_6() (gas: 10791)
29
- [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, ΞΌ: 191119, ~: 191177)
29
+ [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, ΞΌ: 191121, ~: 191177)
30
30
  [PASS] test_constructor_Revert_SharedGreaterThanLocal() (gas: 36043)
31
31
  [PASS] test_removeDust_0_0() (gas: 8695)
32
32
  [PASS] test_removeDust_18_6_NoDust() (gas: 8704)
@@ -65,7 +65,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
65
65
  [PASS] test_toSD_Revert_AmountSDOverflowed_0_0() (gas: 9119)
66
66
  [PASS] test_toSD_Revert_AmountSDOverflowed_18_6() (gas: 9264)
67
67
  [PASS] test_toSD_Revert_AmountSDOverflowed_6_6() (gas: 9186)
68
- Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 106.02ms (784.92ms CPU time)
68
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 86.48ms (639.72ms CPU time)
69
69
 
70
- Ran 1 test suite in 113.98ms (106.02ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
71
- ⏳ forge test: 2.669s
70
+ Ran 1 test suite in 94.49ms (86.48ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
71
+ ⏳ forge test: 3.200s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-evm-contracts",
3
- "version": "0.2.107",
3
+ "version": "0.2.108",
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/tsup-configuration": "0.2.107",
18
- "@layerzerolabs/oapp-evm-contracts": "0.2.107",
19
- "@layerzerolabs/solhint-configuration": "0.2.107",
20
- "@layerzerolabs/typescript-configuration": "0.2.107",
21
- "@layerzerolabs/utils-evm-contracts": "0.2.107",
22
- "@layerzerolabs/vm-tooling-evm": "0.2.107"
17
+ "@layerzerolabs/oapp-evm-contracts": "0.2.108",
18
+ "@layerzerolabs/solhint-configuration": "0.2.108",
19
+ "@layerzerolabs/typescript-configuration": "0.2.108",
20
+ "@layerzerolabs/tsup-configuration": "0.2.108",
21
+ "@layerzerolabs/utils-evm-contracts": "0.2.108",
22
+ "@layerzerolabs/vm-tooling-evm": "0.2.108"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public",