@layerzerolabs/oapp-upgradeable-evm-contracts 0.2.82 → 0.2.84

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,29 +5,76 @@
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:75661) [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:67428) [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)
12
- 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
12
+ 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
13
+ 📥 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
14
+ $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
15
+ forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
16
+ 86ec798129ac: Already exists
17
+ eef7c391911c: Already exists
18
+ cc2ecf4065b7: Already exists
19
+ 5760fdd70374: Already exists
20
+ c70db14240a1: Already exists
21
+ 0cb2c6965bde: Pulling fs layer
22
+ 885bca26f927: Pulling fs layer
23
+ 8e167e77288f: Pulling fs layer
24
+ 45d43cc973ba: Pulling fs layer
25
+ 44c09156221f: Pulling fs layer
26
+ f2fb700979ad: Pulling fs layer
27
+ 2a1ced882ba9: Pulling fs layer
28
+ 597168d5c38e: Pulling fs layer
29
+ e431adaf232f: Pulling fs layer
30
+ 36e15e3f2788: Pulling fs layer
31
+ 36e15e3f2788: Waiting
32
+ 8e167e77288f: Download complete
33
+ 45d43cc973ba: Download complete
34
+ 44c09156221f: Download complete
35
+ f2fb700979ad: Download complete
36
+ 2a1ced882ba9: Waiting
37
+ 597168d5c38e: Download complete
38
+ e431adaf232f: Waiting
39
+ 0cb2c6965bde: Pull complete
40
+ 2a1ced882ba9: Verifying Checksum
41
+ 2a1ced882ba9: Download complete
42
+ 36e15e3f2788: Download complete
43
+ 885bca26f927: Verifying Checksum
44
+ 885bca26f927: Download complete
45
+ e431adaf232f: Verifying Checksum
46
+ e431adaf232f: Download complete
47
+ 885bca26f927: Pull complete
48
+ 8e167e77288f: Pull complete
49
+ 45d43cc973ba: Pull complete
50
+ 44c09156221f: Pull complete
51
+ f2fb700979ad: Pull complete
52
+ 2a1ced882ba9: Pull complete
53
+ 597168d5c38e: Pull complete
54
+ e431adaf232f: Pull complete
55
+ 36e15e3f2788: Pull complete
56
+ Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
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-3
58
+ 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
59
+ ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
13
60
  👤 Running container as UID:GID 1001:1001
14
61
  $ 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
62
  Compiling 150 files with Solc 0.8.22
16
- Solc 0.8.22 finished in 13.29s
63
+ Solc 0.8.22 finished in 12.57s
17
64
  Compiler run successful!
18
65
 
19
66
  Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
20
67
  [PASS] test_constructor() (gas: 15583)
21
68
  [PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
22
69
  [PASS] test_payNative() (gas: 97285)
23
- [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99277, ~: 99198)
70
+ [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99262, ~: 99198)
24
71
  [PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
25
72
  [PASS] test_payNative_ZeroFee() (gas: 18992)
26
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 104.67ms (101.75ms CPU time)
73
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 126.55ms (123.27ms CPU time)
27
74
 
28
75
  Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
29
76
  [PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
30
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58343, ~: 58337)
77
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58345, ~: 58337)
31
78
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 50697, ~: 50697)
32
79
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19825)
33
80
  [PASS] test_combineOptions_NoExtraOptions() (gas: 94671)
@@ -38,9 +85,9 @@ Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3Base
38
85
  [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15583)
39
86
  [PASS] test_setEnforcedOptions() (gas: 132440)
40
87
  [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
41
- [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51098, ~: 51093)
88
+ [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51097, ~: 51093)
42
89
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
43
- Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 131.70ms (364.64ms CPU time)
90
+ Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 148.24ms (480.37ms CPU time)
44
91
 
45
92
  Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
46
93
  [PASS] test_acceptDefaultAdminTransfer() (gas: 107512)
@@ -49,11 +96,11 @@ Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
49
96
  [PASS] test_initialize_SetsDelegate() (gas: 15127)
50
97
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15597)
51
98
  [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 16016)
52
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 173.93ms (170.96ms CPU time)
99
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 148.33ms (145.20ms CPU time)
53
100
 
54
101
  Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBACUpgradeableTest
55
102
  [PASS] test_combineOptions_CombinesType3Options() (gas: 58107)
56
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60842, ~: 60830)
103
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60836, ~: 60830)
57
104
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 53266, ~: 53266)
58
105
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19925)
59
106
  [PASS] test_combineOptions_NoExtraOptions() (gas: 97203)
@@ -67,7 +114,7 @@ Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBAC
67
114
  [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53635, ~: 53630)
68
115
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 20171, ~: 20171)
69
116
  [PASS] test_setEnforcedOptions_Revert_Unauthorized() (gas: 23046)
70
- Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 230.16ms (572.43ms CPU time)
117
+ Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 186.22ms (545.92ms CPU time)
71
118
 
72
- Ran 4 test suites in 232.83ms (640.45ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
73
- ⏳ forge test: 15.391s
119
+ Ran 4 test suites in 189.72ms (609.34ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
120
+ ⏳ forge test: 14.967s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oapp-upgradeable-evm-contracts",
3
- "version": "0.2.82",
3
+ "version": "0.2.84",
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/solhint-configuration": "0.2.82",
19
- "@layerzerolabs/typescript-configuration": "0.2.82",
20
- "@layerzerolabs/oapp-evm-contracts": "0.2.82",
21
- "@layerzerolabs/tsup-configuration": "0.2.82",
22
- "@layerzerolabs/test-utils-evm-contracts": "0.2.82",
23
- "@layerzerolabs/utils-evm-contracts": "0.2.82",
24
- "@layerzerolabs/vm-tooling-evm": "0.2.82",
25
- "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.82"
18
+ "@layerzerolabs/oapp-evm-contracts": "0.2.84",
19
+ "@layerzerolabs/solhint-configuration": "0.2.84",
20
+ "@layerzerolabs/test-utils-evm-contracts": "0.2.84",
21
+ "@layerzerolabs/tsup-configuration": "0.2.84",
22
+ "@layerzerolabs/typescript-configuration": "0.2.84",
23
+ "@layerzerolabs/utils-evm-contracts": "0.2.84",
24
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.84",
25
+ "@layerzerolabs/vm-tooling-evm": "0.2.84"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public",