@layerzerolabs/oapp-upgradeable-evm-contracts 0.2.109 → 0.2.110

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.
@@ -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 {{.Architecture}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
8
- (node:190247) [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:206488) [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)
@@ -13,18 +13,9 @@ To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-in
13
13
  👤 Running container as UID:GID 1001:1001
14
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
15
15
  Compiling 150 files with Solc 0.8.22
16
- Solc 0.8.22 finished in 18.10s
16
+ Solc 0.8.22 finished in 16.76s
17
17
  Compiler run successful!
18
18
 
19
- Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
20
- [PASS] test_constructor() (gas: 15583)
21
- [PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
22
- [PASS] test_payNative() (gas: 97285)
23
- [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99272, ~: 99198)
24
- [PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
25
- [PASS] test_payNative_ZeroFee() (gas: 18992)
26
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 99.82ms (96.67ms CPU time)
27
-
28
19
  Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
29
20
  [PASS] test_acceptDefaultAdminTransfer() (gas: 107512)
30
21
  [PASS] test_acceptDefaultAdminTransfer_ChainedTransfers() (gas: 175705)
@@ -32,11 +23,20 @@ Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
32
23
  [PASS] test_initialize_SetsDelegate() (gas: 15127)
33
24
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15597)
34
25
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 16016)
35
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 122.43ms (119.47ms CPU time)
26
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 138.52ms (135.68ms CPU time)
27
+
28
+ Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
29
+ [PASS] test_constructor() (gas: 15583)
30
+ [PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
31
+ [PASS] test_payNative() (gas: 97285)
32
+ [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99265, ~: 99198)
33
+ [PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
34
+ [PASS] test_payNative_ZeroFee() (gas: 18992)
35
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 149.02ms (146.27ms CPU time)
36
36
 
37
37
  Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
38
38
  [PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
39
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58346, ~: 58337)
39
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58347, ~: 58337)
40
40
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 50697, ~: 50697)
41
41
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19825)
42
42
  [PASS] test_combineOptions_NoExtraOptions() (gas: 94671)
@@ -49,11 +49,11 @@ Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3Base
49
49
  [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
50
50
  [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51097, ~: 51093)
51
51
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
52
- Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 138.24ms (384.62ms CPU time)
52
+ Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 159.70ms (432.41ms CPU time)
53
53
 
54
54
  Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBACUpgradeableTest
55
55
  [PASS] test_combineOptions_CombinesType3Options() (gas: 58107)
56
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60837, ~: 60830)
56
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60841, ~: 60830)
57
57
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 53266, ~: 53266)
58
58
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19925)
59
59
  [PASS] test_combineOptions_NoExtraOptions() (gas: 97203)
@@ -67,7 +67,7 @@ Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBAC
67
67
  [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53633, ~: 53630)
68
68
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 20171, ~: 20171)
69
69
  [PASS] test_setEnforcedOptions_Revert_Unauthorized() (gas: 23046)
70
- Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 177.48ms (430.08ms CPU time)
70
+ Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 230.96ms (524.28ms CPU time)
71
71
 
72
- Ran 4 test suites in 180.04ms (537.97ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
73
- ⏳ forge test: 21.392s
72
+ Ran 4 test suites in 237.12ms (678.19ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
73
+ ⏳ forge test: 18.903s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oapp-upgradeable-evm-contracts",
3
- "version": "0.2.109",
3
+ "version": "0.2.110",
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.109",
19
- "@layerzerolabs/solhint-configuration": "0.2.109",
20
- "@layerzerolabs/test-utils-evm-contracts": "0.2.109",
21
- "@layerzerolabs/tsup-configuration": "0.2.109",
22
- "@layerzerolabs/typescript-configuration": "0.2.109",
23
- "@layerzerolabs/utils-evm-contracts": "0.2.109",
24
- "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.109",
25
- "@layerzerolabs/vm-tooling-evm": "0.2.109"
18
+ "@layerzerolabs/oapp-evm-contracts": "0.2.110",
19
+ "@layerzerolabs/tsup-configuration": "0.2.110",
20
+ "@layerzerolabs/test-utils-evm-contracts": "0.2.110",
21
+ "@layerzerolabs/typescript-configuration": "0.2.110",
22
+ "@layerzerolabs/solhint-configuration": "0.2.110",
23
+ "@layerzerolabs/utils-evm-contracts": "0.2.110",
24
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.110",
25
+ "@layerzerolabs/vm-tooling-evm": "0.2.110"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public",