@layerzerolabs/oapp-upgradeable-evm-contracts 0.2.88 → 0.2.90

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,72 +5,25 @@
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: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.
8
+ (node:144665) [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
- 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
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
60
13
  👤 Running container as UID:GID 1001:1001
61
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
62
15
  Compiling 150 files with Solc 0.8.22
63
- Solc 0.8.22 finished in 12.57s
16
+ Solc 0.8.22 finished in 22.12s
64
17
  Compiler run successful!
65
18
 
66
- Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
67
- [PASS] test_constructor() (gas: 15583)
68
- [PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
69
- [PASS] test_payNative() (gas: 97285)
70
- [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99262, ~: 99198)
71
- [PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
72
- [PASS] test_payNative_ZeroFee() (gas: 18992)
73
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 126.55ms (123.27ms CPU time)
19
+ Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
20
+ [PASS] test_acceptDefaultAdminTransfer() (gas: 107512)
21
+ [PASS] test_acceptDefaultAdminTransfer_ChainedTransfers() (gas: 175705)
22
+ [PASS] test_acceptDefaultAdminTransfer_Fuzz(address) (runs: 1000, μ: 108498, ~: 108498)
23
+ [PASS] test_initialize_SetsDelegate() (gas: 15127)
24
+ [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15597)
25
+ [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 16016)
26
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 204.03ms (195.64ms CPU time)
74
27
 
75
28
  Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
76
29
  [PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
@@ -85,22 +38,13 @@ Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3Base
85
38
  [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15583)
86
39
  [PASS] test_setEnforcedOptions() (gas: 132440)
87
40
  [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
88
- [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51097, ~: 51093)
41
+ [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51096, ~: 51093)
89
42
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
90
- Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 148.24ms (480.37ms CPU time)
91
-
92
- Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
93
- [PASS] test_acceptDefaultAdminTransfer() (gas: 107512)
94
- [PASS] test_acceptDefaultAdminTransfer_ChainedTransfers() (gas: 175705)
95
- [PASS] test_acceptDefaultAdminTransfer_Fuzz(address) (runs: 1000, μ: 108498, ~: 108498)
96
- [PASS] test_initialize_SetsDelegate() (gas: 15127)
97
- [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15597)
98
- [PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 16016)
99
- Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 148.33ms (145.20ms CPU time)
43
+ Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 217.93ms (649.25ms CPU time)
100
44
 
101
45
  Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBACUpgradeableTest
102
46
  [PASS] test_combineOptions_CombinesType3Options() (gas: 58107)
103
- [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60836, ~: 60830)
47
+ [PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60839, ~: 60830)
104
48
  [PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 53266, ~: 53266)
105
49
  [PASS] test_combineOptions_NoEnforcedOptions() (gas: 19925)
106
50
  [PASS] test_combineOptions_NoExtraOptions() (gas: 97203)
@@ -111,10 +55,19 @@ Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBAC
111
55
  [PASS] test_initialize_Revert_AlreadyInitialized() (gas: 17898)
112
56
  [PASS] test_setEnforcedOptions() (gas: 135081)
113
57
  [PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 44859)
114
- [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53635, ~: 53630)
58
+ [PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53634, ~: 53630)
115
59
  [PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 20171, ~: 20171)
116
60
  [PASS] test_setEnforcedOptions_Revert_Unauthorized() (gas: 23046)
117
- Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 186.22ms (545.92ms CPU time)
61
+ Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 226.23ms (647.85ms CPU time)
62
+
63
+ Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
64
+ [PASS] test_constructor() (gas: 15583)
65
+ [PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
66
+ [PASS] test_payNative() (gas: 97285)
67
+ [PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99257, ~: 99198)
68
+ [PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
69
+ [PASS] test_payNative_ZeroFee() (gas: 18992)
70
+ Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 276.27ms (268.32ms CPU time)
118
71
 
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
72
+ Ran 4 test suites in 284.88ms (924.47ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
73
+ ⏳ forge test: 25.776s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/oapp-upgradeable-evm-contracts",
3
- "version": "0.2.88",
3
+ "version": "0.2.90",
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.88",
19
- "@layerzerolabs/solhint-configuration": "0.2.88",
20
- "@layerzerolabs/test-utils-evm-contracts": "0.2.88",
21
- "@layerzerolabs/typescript-configuration": "0.2.88",
22
- "@layerzerolabs/tsup-configuration": "0.2.88",
23
- "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.88",
24
- "@layerzerolabs/utils-evm-contracts": "0.2.88",
25
- "@layerzerolabs/vm-tooling-evm": "0.2.88"
18
+ "@layerzerolabs/oapp-evm-contracts": "0.2.90",
19
+ "@layerzerolabs/solhint-configuration": "0.2.90",
20
+ "@layerzerolabs/test-utils-evm-contracts": "0.2.90",
21
+ "@layerzerolabs/typescript-configuration": "0.2.90",
22
+ "@layerzerolabs/utils-evm-contracts": "0.2.90",
23
+ "@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.90",
24
+ "@layerzerolabs/tsup-configuration": "0.2.90",
25
+ "@layerzerolabs/vm-tooling-evm": "0.2.90"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public",