@layerzerolabs/oapp-upgradeable-evm-contracts 0.2.112 → 0.2.114

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,26 +4,33 @@
4
4
 
5
5
  ✅ forge-1.3.6-hardhat-2.26.3
6
6
  🔧 forge version: 1.3.6
7
- $ 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
8
- (node:229106) [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.
7
+ 📦 Using mini workspace: /tmp/lz-mini-workspace-ZBFyDI
8
+ 📦 Copied 11 workspace package source(s)
9
+ 📦 No mini-workspace pruner configured; using unpruned package-level source copy fallback.
10
+ (node:101006) [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
11
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
10
12
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
11
13
  (Use `node --trace-warnings ...` to show where the warning was created)
14
+ 📦 Docker volumes:
15
+ -v /tmp/lz-mini-workspace-ZBFyDI:/workspace
16
+ -v /home/runner/work/monorepo-internal/monorepo-internal/apps/oapp-app/contracts/evm/upgradeable:/workspace/apps/oapp-app/contracts/evm/upgradeable
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
12
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)
13
20
  👤 Running container as UID:GID 1001:1001
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/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
21
+ $ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-mini-workspace-ZBFyDI:/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
15
22
  Compiling 150 files with Solc 0.8.22
16
- Solc 0.8.22 finished in 14.86s
23
+ Solc 0.8.22 finished in 15.26s
17
24
  Compiler run successful!
18
25
 
19
26
  Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
20
27
  [PASS] test_constructor() (gas: 15583)
21
28
  [PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
22
29
  [PASS] test_payNative() (gas: 97285)
23
- [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99249, ~: 99198)
30
+ [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99265, ~: 99198)
24
31
  [PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
25
32
  [PASS] test_payNative_ZeroFee() (gas: 18992)
26
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 109.08ms (106.53ms CPU time)
33
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 120.42ms (116.55ms CPU time)
27
34
 
28
35
  Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
29
36
  [PASS] test_acceptDefaultAdminTransfer() (gas: 107512)
@@ -32,11 +39,28 @@ Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
32
39
  [PASS] test_initialize_SetsDelegate() (gas: 15127)
33
40
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15597)
34
41
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 16016)
35
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 112.08ms (109.62ms CPU time)
42
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 130.85ms (127.93ms CPU time)
43
+
44
+ Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
45
+ [PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
46
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58343, ~: 58337)
47
+ [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 50697, ~: 50697)
48
+ [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19825)
49
+ [PASS] test_combineOptions_NoExtraOptions() (gas: 94671)
50
+ [PASS] test_combineOptions_PassthroughAfterReset() (gas: 80107)
51
+ [PASS] test_combineOptions_Revert_SingleByteExtraOptions() (gas: 49368)
52
+ [PASS] test_enforcedOptions() (gas: 47289)
53
+ [PASS] test_enforcedOptions_Empty() (gas: 17289)
54
+ [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15583)
55
+ [PASS] test_setEnforcedOptions() (gas: 132440)
56
+ [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
57
+ [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51099, ~: 51093)
58
+ [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
59
+ Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 210.06ms (572.55ms CPU time)
36
60
 
37
61
  Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBACUpgradeableTest
38
62
  [PASS] test_combineOptions_CombinesType3Options() (gas: 58107)
39
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60839, ~: 60830)
63
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60837, ~: 60830)
40
64
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 53266, ~: 53266)
41
65
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19925)
42
66
  [PASS] test_combineOptions_NoExtraOptions() (gas: 97203)
@@ -47,27 +71,10 @@ Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBAC
47
71
  [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 17898)
48
72
  [PASS] test_setEnforcedOptions() (gas: 135081)
49
73
  [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 44859)
50
- [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53634, ~: 53630)
74
+ [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53633, ~: 53630)
51
75
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 20171, ~: 20171)
52
76
  [PASS] test_setEnforcedOptions_Revert_Unauthorized() (gas: 23046)
53
- Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 124.57ms (370.29ms CPU time)
54
-
55
- Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
56
- [PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
57
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58345, ~: 58337)
58
- [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 50697, ~: 50697)
59
- [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19825)
60
- [PASS] test_combineOptions_NoExtraOptions() (gas: 94671)
61
- [PASS] test_combineOptions_PassthroughAfterReset() (gas: 80107)
62
- [PASS] test_combineOptions_Revert_SingleByteExtraOptions() (gas: 49368)
63
- [PASS] test_enforcedOptions() (gas: 47289)
64
- [PASS] test_enforcedOptions_Empty() (gas: 17289)
65
- [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15583)
66
- [PASS] test_setEnforcedOptions() (gas: 132440)
67
- [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
68
- [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51100, ~: 51093)
69
- [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
70
- Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 136.44ms (384.48ms CPU time)
77
+ Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 216.27ms (578.74ms CPU time)
71
78
 
72
- Ran 4 test suites in 138.90ms (482.18ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
73
- ⏳ forge test: 16.991s
79
+ Ran 4 test suites in 220.29ms (677.59ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
80
+ ⏳ forge test: 17.215s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oapp-upgradeable-evm-contracts",
3
- "version": "0.2.112",
3
+ "version": "0.2.114",
4
4
  "private": false,
5
5
  "description": "LayerZero Labs reference EVM upgradeable OApp implementation",
6
6
  "license": "MIT",
@@ -15,14 +15,14 @@
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": "0.2.112",
19
- "@layerzerolabs/test-utils-evm-contracts": "0.2.112",
20
- "@layerzerolabs/solhint-configuration": "0.2.112",
21
- "@layerzerolabs/typescript-configuration": "0.2.112",
22
- "@layerzerolabs/tsup-configuration": "0.2.112",
23
- "@layerzerolabs/utils-evm-contracts": "0.2.112",
24
- "@layerzerolabs/vm-tooling-evm": "0.2.112",
25
- "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.112"
18
+ "@layerzerolabs/oapp-evm-contracts": "0.2.114",
19
+ "@layerzerolabs/tsup-configuration": "0.2.114",
20
+ "@layerzerolabs/test-utils-evm-contracts": "0.2.114",
21
+ "@layerzerolabs/typescript-configuration": "0.2.114",
22
+ "@layerzerolabs/solhint-configuration": "0.2.114",
23
+ "@layerzerolabs/utils-evm-contracts": "0.2.114",
24
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.114",
25
+ "@layerzerolabs/vm-tooling-evm": "0.2.114"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public",