@layerzerolabs/oft-evm-contracts 0.2.83 β†’ 0.2.84

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,7 +12,7 @@
12
12
  βœ… forge-1.3.6-hardhat-2.26.3
13
13
  πŸ”§ hardhat version: 2.26.3
14
14
  $ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
15
- (node:33899) [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:29001) [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)
@@ -21,7 +21,7 @@ To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-in
21
21
  $ 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 hardhat compile --config /hardhat/hardhat.default.config.js
22
22
  Compiling 21 Solidity files
23
23
  Successfully compiled 21 Solidity files
24
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 2.565s
24
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 2.848s
25
25
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
26
26
 
27
27
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -31,7 +31,7 @@ Successfully compiled 21 Solidity files
31
31
  βœ… forge-1.3.6-hardhat-2.26.3
32
32
  πŸ”§ hardhat version: 2.26.3
33
33
  $ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
34
- (node:34527) [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.
34
+ (node:30225) [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.
35
35
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
36
36
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
37
37
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -43,7 +43,7 @@ The zksolc compiler version in your Hardhat config file (1.3.22) is not the late
43
43
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
44
44
  Compiling 21 Solidity files
45
45
  Successfully compiled 21 Solidity files
46
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 2.868s
46
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 2.916s
47
47
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
48
48
 
49
49
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -52,17 +52,17 @@ Successfully compiled 21 Solidity files
52
52
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
53
53
  βœ… forge-1.3.6-hardhat-2.26.3
54
54
  πŸ”§ hardhat version: 2.26.3
55
- βœ… 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
56
- πŸ‘€ Running container as UID:GID 1001:1001
57
55
  $ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
58
- (node:35419) [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.
56
+ (node:31170) [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
57
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
60
58
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
61
59
  (Use `node --trace-warnings ...` to show where the warning was created)
60
+ βœ… 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
61
+ πŸ‘€ Running container as UID:GID 1001:1001
62
62
  $ 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 hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet
63
63
  detected tron network, replacing deployments extension with custom one
64
64
  Tron-solc v0.8.23 is unknown version, attempting anyway...
65
65
  Compiling contracts with tron solc v0.8.23
66
66
  Compiling 21 Solidity files
67
67
  Successfully compiled 21 Solidity files
68
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.436s
68
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.761s
@@ -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 {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
8
- (node:71207) [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:67113) [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,28 +13,55 @@ Error response from daemon: No such image: 438003944538.dkr.ecr.us-east-1.amazon
13
13
  πŸ“₯ Pulling Docker image from: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
14
14
  $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
15
15
  forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
16
- 86ec798129ac: Already exists
17
- eef7c391911c: Already exists
18
- cc2ecf4065b7: Already exists
19
- 5760fdd70374: Already exists
20
- c70db14240a1: Already exists
21
- 0cb2c6965bde: Already exists
16
+ 86ec798129ac: Pulling fs layer
17
+ eef7c391911c: Pulling fs layer
18
+ cc2ecf4065b7: Pulling fs layer
19
+ 5760fdd70374: Pulling fs layer
20
+ c70db14240a1: Pulling fs layer
21
+ 0cb2c6965bde: Pulling fs layer
22
22
  885bca26f927: Pulling fs layer
23
+ eef7c391911c: Download complete
24
+ c70db14240a1: Waiting
23
25
  8e167e77288f: Pulling fs layer
24
26
  45d43cc973ba: Pulling fs layer
27
+ 885bca26f927: Waiting
25
28
  44c09156221f: Pulling fs layer
29
+ 0cb2c6965bde: Waiting
26
30
  f2fb700979ad: Pulling fs layer
31
+ 8e167e77288f: Waiting
27
32
  2a1ced882ba9: Pulling fs layer
33
+ 44c09156221f: Waiting
28
34
  597168d5c38e: Pulling fs layer
35
+ f2fb700979ad: Waiting
36
+ 45d43cc973ba: Waiting
29
37
  e431adaf232f: Pulling fs layer
30
38
  36e15e3f2788: Pulling fs layer
39
+ 597168d5c38e: Waiting
31
40
  36e15e3f2788: Waiting
32
- 44c09156221f: Download complete
33
- 45d43cc973ba: Download complete
41
+ e431adaf232f: Waiting
42
+ 2a1ced882ba9: Waiting
43
+ 5760fdd70374: Verifying Checksum
44
+ 5760fdd70374: Download complete
45
+ 86ec798129ac: Verifying Checksum
46
+ 86ec798129ac: Download complete
47
+ c70db14240a1: Download complete
48
+ cc2ecf4065b7: Verifying Checksum
49
+ cc2ecf4065b7: Download complete
50
+ 86ec798129ac: Pull complete
51
+ eef7c391911c: Pull complete
34
52
  8e167e77288f: Download complete
35
- 2a1ced882ba9: Download complete
53
+ 0cb2c6965bde: Verifying Checksum
54
+ 0cb2c6965bde: Download complete
55
+ 45d43cc973ba: Download complete
56
+ 44c09156221f: Download complete
57
+ cc2ecf4065b7: Pull complete
36
58
  f2fb700979ad: Download complete
59
+ 5760fdd70374: Pull complete
60
+ c70db14240a1: Pull complete
37
61
  597168d5c38e: Download complete
62
+ 0cb2c6965bde: Pull complete
63
+ 2a1ced882ba9: Verifying Checksum
64
+ 2a1ced882ba9: Download complete
38
65
  36e15e3f2788: Download complete
39
66
  885bca26f927: Verifying Checksum
40
67
  885bca26f927: Download complete
@@ -56,7 +83,7 @@ Status: Image is up to date for 438003944538.dkr.ecr.us-east-1.amazonaws.com/lay
56
83
  πŸ‘€ Running container as UID:GID 1001:1001
57
84
  $ 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
58
85
  Compiling 41 files with Solc 0.8.22
59
- Solc 0.8.22 finished in 1.33s
86
+ Solc 0.8.22 finished in 1.11s
60
87
  Compiler run successful!
61
88
 
62
89
  Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
@@ -69,7 +96,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
69
96
  [PASS] test_constructor_18_8() (gas: 10747)
70
97
  [PASS] test_constructor_6_6() (gas: 10747)
71
98
  [PASS] test_constructor_8_6() (gas: 10791)
72
- [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, ΞΌ: 191126, ~: 191177)
99
+ [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, ΞΌ: 191123, ~: 191177)
73
100
  [PASS] test_constructor_Revert_SharedGreaterThanLocal() (gas: 36043)
74
101
  [PASS] test_removeDust_0_0() (gas: 8695)
75
102
  [PASS] test_removeDust_18_6_NoDust() (gas: 8704)
@@ -108,7 +135,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
108
135
  [PASS] test_toSD_Revert_AmountSDOverflowed_0_0() (gas: 9119)
109
136
  [PASS] test_toSD_Revert_AmountSDOverflowed_18_6() (gas: 9264)
110
137
  [PASS] test_toSD_Revert_AmountSDOverflowed_6_6() (gas: 9186)
111
- Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 81.63ms (693.24ms CPU time)
138
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 77.23ms (689.21ms CPU time)
112
139
 
113
- Ran 1 test suite in 89.27ms (81.63ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
114
- ⏳ forge test: 3.781s
140
+ Ran 1 test suite in 86.22ms (77.23ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
141
+ ⏳ forge test: 3.058s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-evm-contracts",
3
- "version": "0.2.83",
3
+ "version": "0.2.84",
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.83",
18
- "@layerzerolabs/solhint-configuration": "0.2.83",
19
- "@layerzerolabs/typescript-configuration": "0.2.83",
20
- "@layerzerolabs/utils-evm-contracts": "0.2.83",
21
- "@layerzerolabs/tsup-configuration": "0.2.83",
22
- "@layerzerolabs/vm-tooling-evm": "0.2.83"
17
+ "@layerzerolabs/oapp-evm-contracts": "0.2.84",
18
+ "@layerzerolabs/solhint-configuration": "0.2.84",
19
+ "@layerzerolabs/tsup-configuration": "0.2.84",
20
+ "@layerzerolabs/typescript-configuration": "0.2.84",
21
+ "@layerzerolabs/utils-evm-contracts": "0.2.84",
22
+ "@layerzerolabs/vm-tooling-evm": "0.2.84"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public",