@layerzerolabs/oapp-upgradeable-evm-contracts 1.2.13 → 1.2.15

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,34 +4,65 @@
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-OdBKGZ
7
+ 📦 Using scoped workspace: /tmp/lz-scoped-workspace-ufTjtA
8
8
  📦 Copied 11 workspace package source(s)
9
9
  📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
10
- (node:259225) [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:62746) [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-OdBKGZ:/workspace
15
+ -v /tmp/lz-scoped-workspace-ufTjtA:/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
- $ 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
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 (amd64)
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: Already exists
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: Download complete
40
+ 8f1cde221fc4: Download complete
41
+ 796d60317d4d: Download complete
42
+ c35d7f83b6fc: Download complete
43
+ b79abc894e87: Download complete
44
+ bcbb9eb73fb5: Download complete
45
+ 63ec365deef1: Download complete
46
+ c8e19a2c627e: Download complete
47
+ 95f21f1a21d0: Pull complete
48
+ 796d60317d4d: Pull complete
49
+ c35d7f83b6fc: Pull complete
50
+ 8f1cde221fc4: Pull complete
51
+ bcbb9eb73fb5: Pull complete
52
+ c8e19a2c627e: Pull complete
53
+ b79abc894e87: Pull complete
54
+ 63ec365deef1: Pull complete
55
+ 36a7bdc86737: Pull complete
56
+ Digest: sha256:778dd8fe35fba1405c5995090a0d4167609e8b03ece06b005fb0e067f4f7e2ab
57
+ 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
58
+ 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
59
+ ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-4
20
60
  👤 Running container as UID:GID 1001:1001
21
- $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-OdBKGZ:/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-3 forge test
61
+ $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-ufTjtA:/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
22
62
  Compiling 150 files with Solc 0.8.22
23
- Solc 0.8.22 finished in 20.88s
63
+ Solc 0.8.22 finished in 12.95s
24
64
  Compiler run successful!
25
65
 
26
- Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
27
- [PASS] test_constructor() (gas: 15583)
28
- [PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
29
- [PASS] test_payNative() (gas: 97285)
30
- [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99271, ~: 99198)
31
- [PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
32
- [PASS] test_payNative_ZeroFee() (gas: 18992)
33
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 146.15ms (138.86ms CPU time)
34
-
35
66
  Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
36
67
  [PASS] test_acceptDefaultAdminTransfer() (gas: 107512)
37
68
  [PASS] test_acceptDefaultAdminTransfer_ChainedTransfers() (gas: 175705)
@@ -39,11 +70,20 @@ Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
39
70
  [PASS] test_initialize_SetsDelegate() (gas: 15127)
40
71
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15597)
41
72
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 16016)
42
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 237.31ms (233.60ms CPU time)
73
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 137.03ms (117.42ms CPU time)
74
+
75
+ Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
76
+ [PASS] test_constructor() (gas: 15583)
77
+ [PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
78
+ [PASS] test_payNative() (gas: 97285)
79
+ [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99264, ~: 99198)
80
+ [PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
81
+ [PASS] test_payNative_ZeroFee() (gas: 18992)
82
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 137.05ms (134.06ms CPU time)
43
83
 
44
84
  Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBACUpgradeableTest
45
85
  [PASS] test_combineOptions_CombinesType3Options() (gas: 58123)
46
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60853, ~: 60846)
86
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60854, ~: 60846)
47
87
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 53270, ~: 53270)
48
88
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19929)
49
89
  [PASS] test_combineOptions_NoExtraOptions() (gas: 97207)
@@ -54,14 +94,14 @@ Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBAC
54
94
  [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 17887)
55
95
  [PASS] test_setEnforcedOptions() (gas: 135089)
56
96
  [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 44862)
57
- [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53636, ~: 53634)
97
+ [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53638, ~: 53634)
58
98
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 20171, ~: 20171)
59
99
  [PASS] test_setEnforcedOptions_Revert_Unauthorized() (gas: 24948)
60
- Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 277.01ms (745.66ms CPU time)
100
+ Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 196.38ms (508.68ms CPU time)
61
101
 
62
102
  Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
63
103
  [PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
64
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58344, ~: 58337)
104
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58345, ~: 58337)
65
105
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 50697, ~: 50697)
66
106
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19825)
67
107
  [PASS] test_combineOptions_NoExtraOptions() (gas: 94671)
@@ -72,9 +112,9 @@ Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3Base
72
112
  [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15583)
73
113
  [PASS] test_setEnforcedOptions() (gas: 132440)
74
114
  [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
75
- [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51096, ~: 51093)
115
+ [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51095, ~: 51093)
76
116
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
77
- Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 329.80ms (850.66ms CPU time)
117
+ Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 196.42ms (415.21ms CPU time)
78
118
 
79
- Ran 4 test suites in 335.09ms (990.28ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
80
- ⏳ forge test: 24.012s
119
+ Ran 4 test suites in 206.65ms (666.87ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
120
+ ⏳ forge test: 16.217s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oapp-upgradeable-evm-contracts",
3
- "version": "1.2.13",
3
+ "version": "1.2.15",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM upgradeable OApp implementation",
6
6
  "license": "MIT",
@@ -10,17 +10,17 @@
10
10
  "@layerzerolabs/lz-evm-v1-0.7": "3.0.168",
11
11
  "@layerzerolabs/test-devtools-evm-foundry": "8.0.1",
12
12
  "@layerzerolabs/toolbox-foundry": "^0.1.13",
13
- "@openzeppelin/contracts": "^5.0.2",
14
- "@openzeppelin/contracts-upgradeable": "^5.0.2",
13
+ "@openzeppelin/contracts": ">=5.0.2 <5.5.0",
14
+ "@openzeppelin/contracts-upgradeable": ">=5.0.2 <5.5.0",
15
15
  "ethers": "^5.8.0",
16
16
  "solhint": "^6.0.1",
17
17
  "solidity-bytes-utils": "^0.8.4",
18
- "@layerzerolabs/solhint-configuration": "1.2.13",
19
- "@layerzerolabs/test-utils-evm-contracts": "1.2.13",
20
- "@layerzerolabs/vm-tooling-evm": "1.2.13",
21
- "@layerzerolabs/utils-evm-contracts": "1.2.13",
22
- "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.13",
23
- "@layerzerolabs/oapp-evm-contracts": "1.2.13"
18
+ "@layerzerolabs/oapp-evm-contracts": "1.2.15",
19
+ "@layerzerolabs/solhint-configuration": "1.2.15",
20
+ "@layerzerolabs/test-utils-evm-contracts": "1.2.15",
21
+ "@layerzerolabs/utils-evm-contracts": "1.2.15",
22
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.15",
23
+ "@layerzerolabs/vm-tooling-evm": "1.2.15"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public",