@layerzerolabs/oft-evm-contracts 0.2.111 β†’ 0.2.113

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,19 +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:83464) [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:81429) [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
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 e9e62fb3eca0863dba02d0a107df7e67d192960756627930df592dd8f2709471
20
+ $ docker container rm 85622e8b1b8eb5f9a1276260b3475efdf480201ea5da56aa9c6fa511e77dc6f8
21
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)
22
22
  πŸ‘€ Running container as UID:GID 1001:1001
23
23
  🌍 Using 1 custom environment variable(s)
24
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
25
25
  Compiling 21 Solidity files
26
26
  Successfully compiled 21 Solidity files
27
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 3.269s
27
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 2.740s
28
28
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
29
29
 
30
30
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -34,12 +34,12 @@ Successfully compiled 21 Solidity files
34
34
  βœ… forge-1.3.6-hardhat-2.26.3
35
35
  πŸ”§ hardhat version: 2.26.3
36
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
37
- (node:83784) [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:82487) [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
38
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
39
39
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
40
40
  (Use `node --trace-warnings ...` to show where the warning was created)
41
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 2dcc86838a0570e2b8e2503a8d796c8b96c702f92ce44308dfcc6093d901f9cc
42
+ $ docker container rm 3c0267c190e2096d83f5aa985eb5962db38fbff6c5f733ea633135f1be1e393d
43
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)
44
44
  πŸ‘€ Running container as UID:GID 1001:1001
45
45
  🌍 Using 1 custom environment variable(s)
@@ -49,7 +49,7 @@ The zksolc compiler version in your Hardhat config file (1.3.22) is not the late
49
49
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
50
50
  Compiling 21 Solidity files
51
51
  Successfully compiled 21 Solidity files
52
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 2.978s
52
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 3.281s
53
53
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
54
54
 
55
55
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -59,12 +59,12 @@ Successfully compiled 21 Solidity files
59
59
  βœ… forge-1.3.6-hardhat-2.26.3
60
60
  πŸ”§ hardhat version: 2.26.3
61
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
62
- (node:84505) [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:83459) [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
63
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
64
64
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
65
65
  (Use `node --trace-warnings ...` to show where the warning was created)
66
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 abcc4cd383a44643368022bc6fcec1247ff66340766c42dd09db86613e15cf8f
67
+ $ docker container rm 39428ef1820ad0b7113f0948a5ef3125ead6595834a8d4f2b1daf4716360d122
68
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)
69
69
  πŸ‘€ Running container as UID:GID 1001:1001
70
70
  🌍 Using 1 custom environment variable(s)
@@ -74,4 +74,4 @@ Tron-solc v0.8.23 is unknown version, attempting anyway...
74
74
  Compiling contracts with tron solc v0.8.23
75
75
  Compiling 21 Solidity files
76
76
  Successfully compiled 21 Solidity files
77
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 5.245s
77
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.841s
@@ -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:174394) [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:148899) [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 923.40ms
16
+ Solc 0.8.22 finished in 1.11s
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, ΞΌ: 191129, ~: 191177)
29
+ [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, ΞΌ: 191126, ~: 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 62.36ms (479.08ms CPU time)
68
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 107.71ms (881.36ms CPU time)
69
69
 
70
- Ran 1 test suite in 69.98ms (62.36ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
71
- ⏳ forge test: 2.319s
70
+ Ran 1 test suite in 116.49ms (107.71ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
71
+ ⏳ forge test: 3.114s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-evm-contracts",
3
- "version": "0.2.111",
3
+ "version": "0.2.113",
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.111",
18
- "@layerzerolabs/solhint-configuration": "0.2.111",
19
- "@layerzerolabs/typescript-configuration": "0.2.111",
20
- "@layerzerolabs/utils-evm-contracts": "0.2.111",
21
- "@layerzerolabs/tsup-configuration": "0.2.111",
22
- "@layerzerolabs/vm-tooling-evm": "0.2.111"
17
+ "@layerzerolabs/oapp-evm-contracts": "0.2.113",
18
+ "@layerzerolabs/tsup-configuration": "0.2.113",
19
+ "@layerzerolabs/solhint-configuration": "0.2.113",
20
+ "@layerzerolabs/utils-evm-contracts": "0.2.113",
21
+ "@layerzerolabs/typescript-configuration": "0.2.113",
22
+ "@layerzerolabs/vm-tooling-evm": "0.2.113"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public",