@layerzerolabs/oft-evm-contracts 0.2.74 β†’ 0.2.75

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,16 +12,93 @@
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:23061) [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: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.
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
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
20
97
  πŸ‘€ Running container as UID:GID 1001:1001
21
98
  $ 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
99
  Compiling 21 Solidity files
23
100
  Successfully compiled 21 Solidity files
24
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 3.059s
101
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js: 2.377s
25
102
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
26
103
 
27
104
  > @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 +108,7 @@ Successfully compiled 21 Solidity files
31
108
  βœ… forge-1.3.6-hardhat-2.26.3
32
109
  πŸ”§ hardhat version: 2.26.3
33
110
  $ 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:23621) [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.
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.
35
112
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
36
113
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
37
114
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -43,7 +120,7 @@ The zksolc compiler version in your Hardhat config file (1.3.22) is not the late
43
120
  Compiling contracts for ZKsync Era with zksolc v1.3.22 and zkvm-solc v0.8.23-1.0.1
44
121
  Compiling 21 Solidity files
45
122
  Successfully compiled 21 Solidity files
46
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 3.770s
123
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network zksync-mainnet: 2.730s
47
124
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
48
125
 
49
126
  > @layerzerolabs/oft-evm-contracts@0.0.0 compile:tron /home/runner/work/monorepo-internal/monorepo-internal/apps/oft-app/contracts/evm/non-upgradeable
@@ -53,7 +130,7 @@ Successfully compiled 21 Solidity files
53
130
  βœ… forge-1.3.6-hardhat-2.26.3
54
131
  πŸ”§ hardhat version: 2.26.3
55
132
  $ 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
56
- (node:24790) [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.
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.
57
134
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
58
135
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
59
136
  (Use `node --trace-warnings ...` to show where the warning was created)
@@ -65,4 +142,4 @@ Tron-solc v0.8.23 is unknown version, attempting anyway...
65
142
  Compiling contracts with tron solc v0.8.23
66
143
  Compiling 21 Solidity files
67
144
  Successfully compiled 21 Solidity files
68
- ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 4.357s
145
+ ⏳ hardhat compile --config /hardhat/hardhat.default.config.js --network tron-mainnet: 3.053s
@@ -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:66922) [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: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.
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)
@@ -29,36 +29,37 @@ f2fb700979ad: Pulling fs layer
29
29
  e431adaf232f: Pulling fs layer
30
30
  36e15e3f2788: Pulling fs layer
31
31
  36e15e3f2788: Waiting
32
+ 885bca26f927: Waiting
33
+ 5760fdd70374: Waiting
34
+ f2fb700979ad: Waiting
35
+ c70db14240a1: Waiting
32
36
  8e167e77288f: Waiting
37
+ 0cb2c6965bde: Waiting
33
38
  45d43cc973ba: Waiting
34
39
  44c09156221f: Waiting
35
- eef7c391911c: Download complete
36
- f2fb700979ad: Waiting
37
- 2a1ced882ba9: Waiting
38
- 5760fdd70374: Download complete
39
40
  597168d5c38e: Waiting
41
+ 2a1ced882ba9: Waiting
40
42
  e431adaf232f: Waiting
41
- c70db14240a1: Waiting
42
- 0cb2c6965bde: Waiting
43
- 885bca26f927: Waiting
43
+ eef7c391911c: Verifying Checksum
44
+ eef7c391911c: Download complete
45
+ 5760fdd70374: Verifying Checksum
46
+ 5760fdd70374: Download complete
47
+ c70db14240a1: Verifying Checksum
44
48
  c70db14240a1: Download complete
49
+ 86ec798129ac: Download complete
45
50
  cc2ecf4065b7: Verifying Checksum
46
51
  cc2ecf4065b7: Download complete
47
- 86ec798129ac: Verifying Checksum
48
- 86ec798129ac: Download complete
49
- 8e167e77288f: Verifying Checksum
50
52
  8e167e77288f: Download complete
51
53
  45d43cc973ba: Verifying Checksum
52
54
  45d43cc973ba: Download complete
53
55
  44c09156221f: Verifying Checksum
54
56
  44c09156221f: Download complete
55
- f2fb700979ad: Verifying Checksum
56
- f2fb700979ad: Download complete
57
57
  0cb2c6965bde: Verifying Checksum
58
58
  0cb2c6965bde: Download complete
59
+ f2fb700979ad: Download complete
60
+ 86ec798129ac: Pull complete
59
61
  597168d5c38e: Verifying Checksum
60
62
  597168d5c38e: Download complete
61
- 86ec798129ac: Pull complete
62
63
  eef7c391911c: Pull complete
63
64
  cc2ecf4065b7: Pull complete
64
65
  5760fdd70374: Pull complete
@@ -86,7 +87,7 @@ Status: Image is up to date for 438003944538.dkr.ecr.us-east-1.amazonaws.com/lay
86
87
  πŸ‘€ Running container as UID:GID 1001:1001
87
88
  $ 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
88
89
  Compiling 41 files with Solc 0.8.22
89
- Solc 0.8.22 finished in 1.39s
90
+ Solc 0.8.22 finished in 1.50s
90
91
  Compiler run successful!
91
92
 
92
93
  Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
@@ -99,7 +100,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
99
100
  [PASS] test_constructor_18_8() (gas: 10747)
100
101
  [PASS] test_constructor_6_6() (gas: 10747)
101
102
  [PASS] test_constructor_8_6() (gas: 10791)
102
- [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, ΞΌ: 191122, ~: 191177)
103
+ [PASS] test_constructor_Fuzz(uint8,uint8) (runs: 1000, ΞΌ: 191128, ~: 191177)
103
104
  [PASS] test_constructor_Revert_SharedGreaterThanLocal() (gas: 36043)
104
105
  [PASS] test_removeDust_0_0() (gas: 8695)
105
106
  [PASS] test_removeDust_18_6_NoDust() (gas: 8704)
@@ -138,7 +139,7 @@ Ran 48 tests for test/OFTDecimalUtils.t.sol:OFTDecimalUtilsTest
138
139
  [PASS] test_toSD_Revert_AmountSDOverflowed_0_0() (gas: 9119)
139
140
  [PASS] test_toSD_Revert_AmountSDOverflowed_18_6() (gas: 9264)
140
141
  [PASS] test_toSD_Revert_AmountSDOverflowed_6_6() (gas: 9186)
141
- Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 102.09ms (1.04s CPU time)
142
+ Suite result: ok. 48 passed; 0 failed; 0 skipped; finished in 174.10ms (1.33s CPU time)
142
143
 
143
- Ran 1 test suite in 113.07ms (102.09ms CPU time): 48 tests passed, 0 failed, 0 skipped (48 total tests)
144
- ⏳ forge test: 2.975s
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oft-evm-contracts",
3
- "version": "0.2.74",
3
+ "version": "0.2.75",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM OFT implementation",
6
6
  "license": "MIT",
@@ -14,15 +14,15 @@
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.74",
18
- "@layerzerolabs/tsup-configuration": "0.2.74",
19
- "@layerzerolabs/typescript-configuration": "0.2.74",
20
- "@layerzerolabs/utils-evm-contracts": "0.2.74",
21
- "@layerzerolabs/solhint-configuration": "0.2.74",
22
- "@layerzerolabs/vm-tooling-evm": "0.2.74"
17
+ "@layerzerolabs/oapp-evm-contracts": "0.2.75",
18
+ "@layerzerolabs/tsup-configuration": "0.2.75",
19
+ "@layerzerolabs/typescript-configuration": "0.2.75",
20
+ "@layerzerolabs/vm-tooling-evm": "0.2.75",
21
+ "@layerzerolabs/utils-evm-contracts": "0.2.75",
22
+ "@layerzerolabs/solhint-configuration": "0.2.75"
23
23
  },
24
24
  "publishConfig": {
25
- "access": "restricted",
25
+ "access": "public",
26
26
  "registry": "https://registry.npmjs.org/"
27
27
  },
28
28
  "externalRepoConfig": {