@layerzerolabs/oft-evm-contracts 0.2.77 β†’ 0.2.79

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,93 +12,16 @@
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:18378) [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:65483) [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
- Error response from daemon: No such image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
20
- πŸ“₯ 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
21
- $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
22
- forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
23
- 86ec798129ac: Pulling fs layer
24
- eef7c391911c: Pulling fs layer
25
- cc2ecf4065b7: Pulling fs layer
26
- 5760fdd70374: Pulling fs layer
27
- c70db14240a1: Pulling fs layer
28
- 0cb2c6965bde: Pulling fs layer
29
- 885bca26f927: Pulling fs layer
30
- 8e167e77288f: Pulling fs layer
31
- 45d43cc973ba: Pulling fs layer
32
- 44c09156221f: Pulling fs layer
33
- f2fb700979ad: Pulling fs layer
34
- 2a1ced882ba9: Pulling fs layer
35
- 597168d5c38e: Pulling fs layer
36
- 5760fdd70374: Waiting
37
- e431adaf232f: Pulling fs layer
38
- 36e15e3f2788: Pulling fs layer
39
- c70db14240a1: Waiting
40
- 0cb2c6965bde: Waiting
41
- 885bca26f927: Waiting
42
- 8e167e77288f: Waiting
43
- f2fb700979ad: Waiting
44
- e431adaf232f: Waiting
45
- 597168d5c38e: Waiting
46
- 45d43cc973ba: Waiting
47
- 2a1ced882ba9: Waiting
48
- 44c09156221f: Waiting
49
- eef7c391911c: Verifying Checksum
50
- eef7c391911c: Download complete
51
- 5760fdd70374: Verifying Checksum
52
- 5760fdd70374: Download complete
53
- c70db14240a1: Verifying Checksum
54
- c70db14240a1: Download complete
55
- 86ec798129ac: Verifying Checksum
56
- 86ec798129ac: Download complete
57
- cc2ecf4065b7: Download complete
58
- 8e167e77288f: Verifying Checksum
59
- 8e167e77288f: Download complete
60
- 45d43cc973ba: Verifying Checksum
61
- 45d43cc973ba: Download complete
62
- 44c09156221f: Verifying Checksum
63
- 44c09156221f: Download complete
64
- f2fb700979ad: Verifying Checksum
65
- f2fb700979ad: Download complete
66
- 86ec798129ac: Pull complete
67
- 0cb2c6965bde: Verifying Checksum
68
- 0cb2c6965bde: Download complete
69
- 597168d5c38e: Verifying Checksum
70
- 597168d5c38e: Download complete
71
- 2a1ced882ba9: Verifying Checksum
72
- 2a1ced882ba9: Download complete
73
- 36e15e3f2788: Verifying Checksum
74
- 36e15e3f2788: Download complete
75
- eef7c391911c: Pull complete
76
- cc2ecf4065b7: Pull complete
77
- 5760fdd70374: Pull complete
78
- c70db14240a1: Pull complete
79
- 0cb2c6965bde: Pull complete
80
- 885bca26f927: Verifying Checksum
81
- 885bca26f927: Download complete
82
- e431adaf232f: Verifying Checksum
83
- e431adaf232f: Download complete
84
- 885bca26f927: Pull complete
85
- 8e167e77288f: Pull complete
86
- 45d43cc973ba: Pull complete
87
- 44c09156221f: Pull complete
88
- f2fb700979ad: Pull complete
89
- 2a1ced882ba9: Pull complete
90
- 597168d5c38e: Pull complete
91
- e431adaf232f: Pull complete
92
- 36e15e3f2788: Pull complete
93
- Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
94
- Status: Image is up to date for 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
95
- 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
96
- βœ… Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
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
97
20
  πŸ‘€ Running container as UID:GID 1001:1001
98
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
99
22
  Compiling 21 Solidity files
100
23
  Successfully compiled 21 Solidity files
101
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 2.377s
24
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 4.014s
102
25
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
103
26
 
104
27
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:zksync /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -108,7 +31,7 @@ Successfully compiled 21 Solidity files
108
31
  βœ… forge-1.3.6-hardhat-2.26.3
109
32
  πŸ”§ hardhat version: 2.26.3
110
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
111
- (node:18923) [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:67306) [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.
112
35
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
113
36
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
114
37
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -120,7 +43,7 @@ The zksolc compiler version in your Hardhat config file (1.3.22) is not the late
120
43
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
121
44
  Compiling 21 Solidity files
122
45
  Successfully compiled 21 Solidity files
123
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 2.730s
46
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 3.758s
124
47
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
125
48
 
126
49
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -130,7 +53,7 @@ Successfully compiled 21 Solidity files
130
53
  βœ… forge-1.3.6-hardhat-2.26.3
131
54
  πŸ”§ hardhat version: 2.26.3
132
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
133
- (node:19312) [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:68100) [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.
134
57
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
135
58
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
136
59
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -138,8 +61,8 @@ To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-in
138
61
  πŸ‘€ Running container as UID:GID 1001:1001
139
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
140
63
  detected tron network, replacing deployments extension with custom one
141
- Tron-solc v0.8.23 is unknown version, attempting anyway...
142
64
  Compiling contracts with tron solc v0.8.23
65
+ Tron-solc v0.8.23 is unknown version, attempting anyway...
143
66
  Compiling 21 Solidity files
144
67
  Successfully compiled 21 Solidity files
145
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.053s
68
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 4.713s
@@ -5,89 +5,15 @@
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:67301) [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:123434) [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)
12
- Error response from daemon: No such image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
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
- $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
15
- forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
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
- 885bca26f927: Pulling fs layer
23
- 8e167e77288f: Pulling fs layer
24
- 45d43cc973ba: Pulling fs layer
25
- 44c09156221f: Pulling fs layer
26
- f2fb700979ad: Pulling fs layer
27
- 2a1ced882ba9: Pulling fs layer
28
- 597168d5c38e: Pulling fs layer
29
- e431adaf232f: Pulling fs layer
30
- 36e15e3f2788: Pulling fs layer
31
- 36e15e3f2788: Waiting
32
- 885bca26f927: Waiting
33
- 5760fdd70374: Waiting
34
- f2fb700979ad: Waiting
35
- c70db14240a1: Waiting
36
- 8e167e77288f: Waiting
37
- 0cb2c6965bde: Waiting
38
- 45d43cc973ba: Waiting
39
- 44c09156221f: Waiting
40
- 597168d5c38e: Waiting
41
- 2a1ced882ba9: Waiting
42
- e431adaf232f: Waiting
43
- eef7c391911c: Verifying Checksum
44
- eef7c391911c: Download complete
45
- 5760fdd70374: Verifying Checksum
46
- 5760fdd70374: Download complete
47
- c70db14240a1: Verifying Checksum
48
- c70db14240a1: Download complete
49
- 86ec798129ac: Download complete
50
- cc2ecf4065b7: Verifying Checksum
51
- cc2ecf4065b7: Download complete
52
- 8e167e77288f: Download complete
53
- 45d43cc973ba: Verifying Checksum
54
- 45d43cc973ba: Download complete
55
- 44c09156221f: Verifying Checksum
56
- 44c09156221f: Download complete
57
- 0cb2c6965bde: Verifying Checksum
58
- 0cb2c6965bde: Download complete
59
- f2fb700979ad: Download complete
60
- 86ec798129ac: Pull complete
61
- 597168d5c38e: Verifying Checksum
62
- 597168d5c38e: Download complete
63
- eef7c391911c: Pull complete
64
- cc2ecf4065b7: Pull complete
65
- 5760fdd70374: Pull complete
66
- c70db14240a1: Pull complete
67
- 2a1ced882ba9: Verifying Checksum
68
- 2a1ced882ba9: Download complete
69
- 36e15e3f2788: Download complete
70
- 0cb2c6965bde: Pull complete
71
- e431adaf232f: Verifying Checksum
72
- e431adaf232f: Download complete
73
- 885bca26f927: Download complete
74
- 885bca26f927: Pull complete
75
- 8e167e77288f: Pull complete
76
- 45d43cc973ba: Pull complete
77
- 44c09156221f: Pull complete
78
- f2fb700979ad: Pull complete
79
- 2a1ced882ba9: Pull complete
80
- 597168d5c38e: Pull complete
81
- e431adaf232f: Pull complete
82
- 36e15e3f2788: Pull complete
83
- Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
84
- Status: Image is up to date for 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
85
- 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
86
- βœ… Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
12
+ βœ… 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
87
13
  πŸ‘€ Running container as UID:GID 1001:1001
88
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
89
15
  Compiling 41 files with Solc 0.8.22
90
- Solc 0.8.22 finished in 1.50s
16
+ Solc 0.8.22 finished in 1.68s
91
17
  Compiler run successful!
92
18
 
93
19
  Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
@@ -100,7 +26,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
100
26
  [PASS] test_constructor_18_8() (gas: 10747)
101
27
  [PASS] test_constructor_6_6() (gas: 10747)
102
28
  [PASS] test_constructor_8_6() (gas: 10791)
103
- [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, ΞΌ: 191128, ~: 191177)
29
+ [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, ΞΌ: 191131, ~: 191177)
104
30
  [PASS] test_constructor_Revert_SharedGreaterThanLocal() (gas: 36043)
105
31
  [PASS] test_removeDust_0_0() (gas: 8695)
106
32
  [PASS] test_removeDust_18_6_NoDust() (gas: 8704)
@@ -139,7 +65,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
139
65
  [PASS] test_toSD_Revert_AmountSDOverflowed_0_0() (gas: 9119)
140
66
  [PASS] test_toSD_Revert_AmountSDOverflowed_18_6() (gas: 9264)
141
67
  [PASS] test_toSD_Revert_AmountSDOverflowed_6_6() (gas: 9186)
142
- Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 174.10ms (1.33s CPU time)
68
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 128.35ms (1.18s CPU time)
143
69
 
144
- Ran 1 test suite in 185.86ms (174.10ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
145
- ⏳ forge test: 3.235s
70
+ Ran 1 test suite in 140.03ms (128.35ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
71
+ ⏳ forge test: 4.223s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-evm-contracts",
3
- "version": "0.2.77",
3
+ "version": "0.2.79",
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/solhint-configuration": "0.2.77",
18
- "@layerzerolabs/tsup-configuration": "0.2.77",
19
- "@layerzerolabs/typescript-configuration": "0.2.77",
20
- "@layerzerolabs/utils-evm-contracts": "0.2.77",
21
- "@layerzerolabs/oapp-evm-contracts": "0.2.77",
22
- "@layerzerolabs/vm-tooling-evm": "0.2.77"
17
+ "@layerzerolabs/oapp-evm-contracts": "0.2.79",
18
+ "@layerzerolabs/tsup-configuration": "0.2.79",
19
+ "@layerzerolabs/typescript-configuration": "0.2.79",
20
+ "@layerzerolabs/utils-evm-contracts": "0.2.79",
21
+ "@layerzerolabs/solhint-configuration": "0.2.79",
22
+ "@layerzerolabs/vm-tooling-evm": "0.2.79"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public",