@layerzerolabs/oapp-upgradeable-evm-contracts 0.2.74 → 0.2.76
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.
- package/.turbo/turbo-test.log +38 -27
- package/package.json +10 -10
package/.turbo/turbo-test.log
CHANGED
|
@@ -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 {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
8
|
-
(node:
|
|
8
|
+
(node:67563) [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,8 +13,8 @@ Error response from daemon: No such image: 438003944538.dkr.ecr.us-east-1.amazon
|
|
|
13
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
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
15
|
forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
|
|
16
|
-
86ec798129ac:
|
|
17
|
-
eef7c391911c:
|
|
16
|
+
86ec798129ac: Pulling fs layer
|
|
17
|
+
eef7c391911c: Pulling fs layer
|
|
18
18
|
cc2ecf4065b7: Pulling fs layer
|
|
19
19
|
5760fdd70374: Pulling fs layer
|
|
20
20
|
c70db14240a1: Pulling fs layer
|
|
@@ -29,24 +29,35 @@ f2fb700979ad: Pulling fs layer
|
|
|
29
29
|
e431adaf232f: Pulling fs layer
|
|
30
30
|
36e15e3f2788: Pulling fs layer
|
|
31
31
|
36e15e3f2788: Waiting
|
|
32
|
-
|
|
32
|
+
eef7c391911c: Download complete
|
|
33
|
+
cc2ecf4065b7: Download complete
|
|
33
34
|
5760fdd70374: Download complete
|
|
34
35
|
c70db14240a1: Download complete
|
|
35
|
-
|
|
36
|
-
f2fb700979ad: Download complete
|
|
36
|
+
8e167e77288f: Download complete
|
|
37
37
|
45d43cc973ba: Download complete
|
|
38
|
+
2a1ced882ba9: Waiting
|
|
39
|
+
597168d5c38e: Waiting
|
|
40
|
+
44c09156221f: Waiting
|
|
41
|
+
f2fb700979ad: Waiting
|
|
42
|
+
e431adaf232f: Waiting
|
|
43
|
+
44c09156221f: Verifying Checksum
|
|
38
44
|
44c09156221f: Download complete
|
|
45
|
+
0cb2c6965bde: Verifying Checksum
|
|
46
|
+
0cb2c6965bde: Download complete
|
|
47
|
+
f2fb700979ad: Download complete
|
|
48
|
+
86ec798129ac: Pull complete
|
|
49
|
+
597168d5c38e: Verifying Checksum
|
|
39
50
|
597168d5c38e: Download complete
|
|
51
|
+
eef7c391911c: Pull complete
|
|
40
52
|
cc2ecf4065b7: Pull complete
|
|
41
53
|
5760fdd70374: Pull complete
|
|
42
54
|
c70db14240a1: Pull complete
|
|
43
55
|
2a1ced882ba9: Verifying Checksum
|
|
44
56
|
2a1ced882ba9: Download complete
|
|
45
|
-
36e15e3f2788: Verifying Checksum
|
|
46
57
|
36e15e3f2788: Download complete
|
|
47
58
|
0cb2c6965bde: Pull complete
|
|
59
|
+
e431adaf232f: Verifying Checksum
|
|
48
60
|
e431adaf232f: Download complete
|
|
49
|
-
885bca26f927: Verifying Checksum
|
|
50
61
|
885bca26f927: Download complete
|
|
51
62
|
885bca26f927: Pull complete
|
|
52
63
|
8e167e77288f: Pull complete
|
|
@@ -64,9 +75,18 @@ Status: Image is up to date for 438003944538.dkr.ecr.us-east-1.amazonaws.com/lay
|
|
|
64
75
|
👤 Running container as UID:GID 1001:1001
|
|
65
76
|
$ 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
|
|
66
77
|
Compiling 150 files with Solc 0.8.22
|
|
67
|
-
Solc 0.8.22 finished in
|
|
78
|
+
Solc 0.8.22 finished in 17.63s
|
|
68
79
|
Compiler run successful!
|
|
69
80
|
|
|
81
|
+
Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
|
|
82
|
+
[PASS] test_constructor() (gas: 15583)
|
|
83
|
+
[PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
|
|
84
|
+
[PASS] test_payNative() (gas: 97285)
|
|
85
|
+
[PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99259, ~: 99198)
|
|
86
|
+
[PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
|
|
87
|
+
[PASS] test_payNative_ZeroFee() (gas: 18992)
|
|
88
|
+
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 273.68ms (267.00ms CPU time)
|
|
89
|
+
|
|
70
90
|
Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
|
|
71
91
|
[PASS] test_acceptDefaultAdminTransfer() (gas: 107512)
|
|
72
92
|
[PASS] test_acceptDefaultAdminTransfer_ChainedTransfers() (gas: 175705)
|
|
@@ -74,11 +94,11 @@ Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
|
|
|
74
94
|
[PASS] test_initialize_SetsDelegate() (gas: 15127)
|
|
75
95
|
[PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15597)
|
|
76
96
|
[PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 16016)
|
|
77
|
-
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in
|
|
97
|
+
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 283.82ms (273.07ms CPU time)
|
|
78
98
|
|
|
79
99
|
Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBACUpgradeableTest
|
|
80
100
|
[PASS] test_combineOptions_CombinesType3Options() (gas: 58107)
|
|
81
|
-
[PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ:
|
|
101
|
+
[PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60839, ~: 60830)
|
|
82
102
|
[PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 53266, ~: 53266)
|
|
83
103
|
[PASS] test_combineOptions_NoEnforcedOptions() (gas: 19925)
|
|
84
104
|
[PASS] test_combineOptions_NoExtraOptions() (gas: 97203)
|
|
@@ -89,23 +109,14 @@ Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBAC
|
|
|
89
109
|
[PASS] test_initialize_Revert_AlreadyInitialized() (gas: 17898)
|
|
90
110
|
[PASS] test_setEnforcedOptions() (gas: 135081)
|
|
91
111
|
[PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 44859)
|
|
92
|
-
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ:
|
|
112
|
+
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53633, ~: 53630)
|
|
93
113
|
[PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 20171, ~: 20171)
|
|
94
114
|
[PASS] test_setEnforcedOptions_Revert_Unauthorized() (gas: 23046)
|
|
95
|
-
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in
|
|
96
|
-
|
|
97
|
-
Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
|
|
98
|
-
[PASS] test_constructor() (gas: 15583)
|
|
99
|
-
[PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
|
|
100
|
-
[PASS] test_payNative() (gas: 97285)
|
|
101
|
-
[PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99271, ~: 99198)
|
|
102
|
-
[PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
|
|
103
|
-
[PASS] test_payNative_ZeroFee() (gas: 18992)
|
|
104
|
-
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 750.88ms (741.47ms CPU time)
|
|
115
|
+
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 407.26ms (1.20s CPU time)
|
|
105
116
|
|
|
106
117
|
Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
|
|
107
118
|
[PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
|
|
108
|
-
[PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ:
|
|
119
|
+
[PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58346, ~: 58337)
|
|
109
120
|
[PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 50697, ~: 50697)
|
|
110
121
|
[PASS] test_combineOptions_NoEnforcedOptions() (gas: 19825)
|
|
111
122
|
[PASS] test_combineOptions_NoExtraOptions() (gas: 94671)
|
|
@@ -116,9 +127,9 @@ Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3Base
|
|
|
116
127
|
[PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15583)
|
|
117
128
|
[PASS] test_setEnforcedOptions() (gas: 132440)
|
|
118
129
|
[PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
|
|
119
|
-
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ:
|
|
130
|
+
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51096, ~: 51093)
|
|
120
131
|
[PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
|
|
121
|
-
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in
|
|
132
|
+
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 518.48ms (1.11s CPU time)
|
|
122
133
|
|
|
123
|
-
Ran 4 test suites in
|
|
124
|
-
⏳ forge test:
|
|
134
|
+
Ran 4 test suites in 522.68ms (1.48s CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
|
|
135
|
+
⏳ forge test: 20.545s
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/oapp-upgradeable-evm-contracts",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.76",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LayerZero Labs reference EVM upgradeable OApp implementation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,17 +15,17 @@
|
|
|
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.
|
|
19
|
-
"@layerzerolabs/
|
|
20
|
-
"@layerzerolabs/
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/
|
|
23
|
-
"@layerzerolabs/utils-evm-contracts": "0.2.
|
|
24
|
-
"@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.
|
|
25
|
-
"@layerzerolabs/vm-tooling-evm": "0.2.
|
|
18
|
+
"@layerzerolabs/oapp-evm-contracts": "0.2.76",
|
|
19
|
+
"@layerzerolabs/tsup-configuration": "0.2.76",
|
|
20
|
+
"@layerzerolabs/typescript-configuration": "0.2.76",
|
|
21
|
+
"@layerzerolabs/test-utils-evm-contracts": "0.2.76",
|
|
22
|
+
"@layerzerolabs/solhint-configuration": "0.2.76",
|
|
23
|
+
"@layerzerolabs/utils-evm-contracts": "0.2.76",
|
|
24
|
+
"@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.76",
|
|
25
|
+
"@layerzerolabs/vm-tooling-evm": "0.2.76"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
|
-
"access": "
|
|
28
|
+
"access": "public",
|
|
29
29
|
"registry": "https://registry.npmjs.org/"
|
|
30
30
|
},
|
|
31
31
|
"externalRepoConfig": {
|