@layerzerolabs/oapp-upgradeable-evm-contracts 1.2.25 → 1.2.26

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.
@@ -4,70 +4,23 @@
4
4
 
5
5
  ✅ forge-1.3.6-hardhat-2.26.3
6
6
  🔧 forge version: 1.3.6
7
- 📦 Using scoped workspace: /tmp/lz-scoped-workspace-pJTU6M
7
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-x2igiV
8
8
  📦 Copied 11 workspace package source(s)
9
9
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
10
- (node:61713) [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.
10
+ (node:224663) [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.
11
11
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
12
12
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
13
13
  (Use `node --trace-warnings ...` to show where the warning was created)
14
14
  📦 Docker volumes:
15
- -v /tmp/lz-scoped-workspace-pJTU6M:/workspace
15
+ -v /tmp/lz-scoped-workspace-x2igiV:/workspace
16
16
  -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oapp-app/contracts/evm/upgradeable:/workspace/apps/oapp-app/contracts/evm/upgradeable
17
17
  -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
18
18
  $ 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-4
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-4
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-4
21
- $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
22
- forge-1.3.6-hardhat-2.26.3-patch-4: Pulling from layerzerolabs/evm-tooling
23
- 17639c486e57: Already exists
24
- 53d86cd64323: Already exists
25
- bbd7db620433: Already exists
26
- dd8d0adb78c1: Already exists
27
- e2082273f6a6: Already exists
28
- 6aca5ecbfbf0: Already exists
29
- 57cfa89d22f0: Pulling fs layer
30
- 95f21f1a21d0: Pulling fs layer
31
- 796d60317d4d: Pulling fs layer
32
- c35d7f83b6fc: Pulling fs layer
33
- 8f1cde221fc4: Pulling fs layer
34
- bcbb9eb73fb5: Pulling fs layer
35
- c8e19a2c627e: Pulling fs layer
36
- b79abc894e87: Pulling fs layer
37
- 63ec365deef1: Pulling fs layer
38
- 36a7bdc86737: Pulling fs layer
39
- 36a7bdc86737: Waiting
40
- 796d60317d4d: Download complete
41
- c35d7f83b6fc: Download complete
42
- 8f1cde221fc4: Download complete
43
- bcbb9eb73fb5: Download complete
44
- c8e19a2c627e: Download complete
45
- 57cfa89d22f0: Pull complete
46
- 95f21f1a21d0: Verifying Checksum
47
- 95f21f1a21d0: Download complete
48
- 36a7bdc86737: Verifying Checksum
49
- 36a7bdc86737: Download complete
50
- 63ec365deef1: Verifying Checksum
51
- 63ec365deef1: Download complete
52
- b79abc894e87: Verifying Checksum
53
- b79abc894e87: Download complete
54
- 95f21f1a21d0: Pull complete
55
- 796d60317d4d: Pull complete
56
- c35d7f83b6fc: Pull complete
57
- 8f1cde221fc4: Pull complete
58
- bcbb9eb73fb5: Pull complete
59
- c8e19a2c627e: Pull complete
60
- b79abc894e87: Pull complete
61
- 63ec365deef1: Pull complete
62
- 36a7bdc86737: Pull complete
63
- Digest: sha256:778dd8fe35fba1405c5995090a0d4167609e8b03ece06b005fb0e067f4f7e2ab
64
- 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-4
65
- 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
66
- ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
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-4 (amd64)
67
20
  👤 Running container as UID:GID 1001:1001
68
- $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-pJTU6M:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oapp-app/contracts/evm/upgradeable:/workspace/apps/oapp-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oapp-app/contracts/evm/upgradeable 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4 forge test
21
+ $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-x2igiV:/workspace -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oapp-app/contracts/evm/upgradeable:/workspace/apps/oapp-app/contracts/evm/upgradeable -v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro -w /workspace/apps/oapp-app/contracts/evm/upgradeable 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4 forge test
69
22
  Compiling 157 files with Solc 0.8.26
70
- Solc 0.8.26 finished in 11.97s
23
+ Solc 0.8.26 finished in 22.38s
71
24
  Compiler run successful!
72
25
 
73
26
  Ran 11 tests for test/OAppMessagingChannelRBACUpgradeable.t.sol:OAppMessagingChannelRBACUpgradeableTest
@@ -82,7 +35,7 @@ Ran 11 tests for test/OAppMessagingChannelRBACUpgradeable.t.sol:OAppMessagingCha
82
35
  [PASS] test_nilify_Unverified() (gas: 53369)
83
36
  [PASS] test_skip() (gas: 52715)
84
37
  [PASS] test_skip_Revert_Unauthorized() (gas: 21976)
85
- Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 6.03ms (1.75ms CPU time)
38
+ Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 14.51ms (1.73ms CPU time)
86
39
 
87
40
  Ran 5 tests for test/OAppMessagingChannelBaseUpgradeable.t.sol:OAppMessagingChannelBaseUpgradeableTest
88
41
  [PASS] test_burn() (gas: 78214)
@@ -90,20 +43,20 @@ Ran 5 tests for test/OAppMessagingChannelBaseUpgradeable.t.sol:OAppMessagingChan
90
43
  [PASS] test_nilify() (gas: 70075)
91
44
  [PASS] test_nilify_Unverified() (gas: 50992)
92
45
  [PASS] test_skip() (gas: 50360)
93
- Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 7.87ms (980.82µs CPU time)
46
+ Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 20.85ms (1.25ms CPU time)
94
47
 
95
48
  Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
96
49
  [PASS] test_constructor() (gas: 15503)
97
50
  [PASS] test_constructor_Revert_InvalidNativeToken() (gas: 5016117)
98
51
  [PASS] test_payNative() (gas: 96297)
99
- [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 98429, ~: 98362)
52
+ [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 98435, ~: 98362)
100
53
  [PASS] test_payNative_Revert_OnlyAltToken() (gas: 101530)
101
54
  [PASS] test_payNative_ZeroFee() (gas: 18704)
102
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 132.03ms (124.57ms CPU time)
55
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 189.50ms (182.85ms CPU time)
103
56
 
104
57
  Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
105
58
  [PASS] test_combineOptions_CombinesType3Options() (gas: 52612)
106
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 55764, ~: 55747)
59
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 55756, ~: 55747)
107
60
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 49369, ~: 49369)
108
61
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19002)
109
62
  [PASS] test_combineOptions_NoExtraOptions() (gas: 92961)
@@ -116,20 +69,20 @@ Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3Base
116
69
  [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 41253)
117
70
  [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 49907, ~: 49900)
118
71
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 16895, ~: 16895)
119
- Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 138.57ms (404.06ms CPU time)
72
+ Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 220.48ms (658.39ms CPU time)
120
73
 
121
74
  Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
122
75
  [PASS] test_acceptDefaultAdminTransfer() (gas: 106631)
123
76
  [PASS] test_acceptDefaultAdminTransfer_ChainedTransfers() (gas: 174083)
124
- [PASS] test_acceptDefaultAdminTransfer_Fuzz(address) (runs: 1000, μ: 107394, ~: 107380)
77
+ [PASS] test_acceptDefaultAdminTransfer_Fuzz(address) (runs: 1000, μ: 107396, ~: 107380)
125
78
  [PASS] test_initialize_SetsDelegate() (gas: 15106)
126
79
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15484)
127
80
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 15909)
128
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 141.53ms (137.85ms CPU time)
81
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 221.73ms (215.68ms CPU time)
129
82
 
130
83
  Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBACUpgradeableTest
131
84
  [PASS] test_combineOptions_CombinesType3Options() (gas: 55050)
132
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58200, ~: 58185)
85
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58198, ~: 58185)
133
86
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 51795, ~: 51795)
134
87
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19051)
135
88
  [PASS] test_combineOptions_NoExtraOptions() (gas: 95387)
@@ -143,7 +96,7 @@ Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBAC
143
96
  [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 52353, ~: 52349)
144
97
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 19270, ~: 19270)
145
98
  [PASS] test_setEnforcedOptions_Revert_Unauthorized() (gas: 24036)
146
- Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 142.72ms (390.13ms CPU time)
99
+ Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 220.58ms (513.96ms CPU time)
147
100
 
148
- Ran 6 test suites in 149.00ms (568.75ms CPU time): 57 tests passed, 0 failed, 0 skipped (57 total tests)
149
- ⏳ forge test: 15.805s
101
+ Ran 6 test suites in 241.89ms (887.65ms CPU time): 57 tests passed, 0 failed, 0 skipped (57 total tests)
102
+ ⏳ forge test: 25.686s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oapp-upgradeable-evm-contracts",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM upgradeable OApp implementation",
6
6
  "license": "MIT",
@@ -15,12 +15,12 @@
15
15
  "ethers": "^5.8.0",
16
16
  "solhint": "^6.0.1",
17
17
  "solidity-bytes-utils": "^0.8.4",
18
- "@layerzerolabs/oapp-evm-contracts": "1.2.25",
19
- "@layerzerolabs/solhint-configuration": "1.2.25",
20
- "@layerzerolabs/test-utils-evm-contracts": "1.2.25",
21
- "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.25",
22
- "@layerzerolabs/vm-tooling-evm": "1.2.25",
23
- "@layerzerolabs/utils-evm-contracts": "1.2.25"
18
+ "@layerzerolabs/oapp-evm-contracts": "1.2.26",
19
+ "@layerzerolabs/solhint-configuration": "1.2.26",
20
+ "@layerzerolabs/utils-evm-contracts": "1.2.26",
21
+ "@layerzerolabs/test-utils-evm-contracts": "1.2.26",
22
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.26",
23
+ "@layerzerolabs/vm-tooling-evm": "1.2.26"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public",