@layerzerolabs/oapp-upgradeable-evm-contracts 1.2.10 → 1.2.12
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 +31 -110
- package/package.json +7 -7
package/.turbo/turbo-test.log
CHANGED
|
@@ -4,129 +4,33 @@
|
|
|
4
4
|
|
|
5
5
|
✅ forge-1.3.6-hardhat-2.26.3
|
|
6
6
|
🔧 forge version: 1.3.6
|
|
7
|
-
📦 Using scoped workspace: /tmp/lz-scoped-workspace-
|
|
7
|
+
📦 Using scoped workspace: /tmp/lz-scoped-workspace-18XUi6
|
|
8
8
|
📦 Copied 11 workspace package source(s)
|
|
9
9
|
📦 No scoped-workspace pruner configured; using unpruned package-level source copy fallback.
|
|
10
|
-
(node:
|
|
10
|
+
(node:232498) [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.
|
|
11
11
|
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
|
|
12
12
|
To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
|
|
13
13
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
14
14
|
📦 Docker volumes:
|
|
15
|
-
-v /tmp/lz-scoped-workspace-
|
|
15
|
+
-v /tmp/lz-scoped-workspace-18XUi6:/workspace
|
|
16
16
|
-v /home/runner/work/monorepo-internal/monorepo-internal/apps/oapp-app/contracts/evm/upgradeable:/workspace/apps/oapp-app/contracts/evm/upgradeable
|
|
17
17
|
-v /home/runner/work/monorepo-internal/monorepo-internal/node_modules/.pnpm:/workspace/node_modules/.pnpm:ro
|
|
18
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
|
|
19
|
-
|
|
20
|
-
📥 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
|
|
21
|
-
$ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
22
|
-
forge-1.3.6-hardhat-2.26.3-patch-3: Pulling from layerzerolabs/evm-tooling
|
|
23
|
-
86ec798129ac: Pulling fs layer
|
|
24
|
-
eef7c391911c: Pulling fs layer
|
|
25
|
-
cc2ecf4065b7: Pulling fs layer
|
|
26
|
-
5760fdd70374: Pulling fs layer
|
|
27
|
-
c70db14240a1: Pulling fs layer
|
|
28
|
-
0cb2c6965bde: Pulling fs layer
|
|
29
|
-
885bca26f927: Pulling fs layer
|
|
30
|
-
8e167e77288f: Pulling fs layer
|
|
31
|
-
45d43cc973ba: Pulling fs layer
|
|
32
|
-
44c09156221f: Pulling fs layer
|
|
33
|
-
f2fb700979ad: Pulling fs layer
|
|
34
|
-
2a1ced882ba9: Pulling fs layer
|
|
35
|
-
597168d5c38e: Pulling fs layer
|
|
36
|
-
e431adaf232f: Pulling fs layer
|
|
37
|
-
36e15e3f2788: Pulling fs layer
|
|
38
|
-
cc2ecf4065b7: Waiting
|
|
39
|
-
5760fdd70374: Waiting
|
|
40
|
-
c70db14240a1: Waiting
|
|
41
|
-
0cb2c6965bde: Waiting
|
|
42
|
-
885bca26f927: Waiting
|
|
43
|
-
597168d5c38e: Waiting
|
|
44
|
-
2a1ced882ba9: Waiting
|
|
45
|
-
e431adaf232f: Waiting
|
|
46
|
-
8e167e77288f: Waiting
|
|
47
|
-
45d43cc973ba: Waiting
|
|
48
|
-
44c09156221f: Waiting
|
|
49
|
-
36e15e3f2788: Waiting
|
|
50
|
-
f2fb700979ad: Waiting
|
|
51
|
-
eef7c391911c: Verifying Checksum
|
|
52
|
-
eef7c391911c: Download complete
|
|
53
|
-
86ec798129ac: Verifying Checksum
|
|
54
|
-
86ec798129ac: Download complete
|
|
55
|
-
5760fdd70374: Verifying Checksum
|
|
56
|
-
5760fdd70374: Download complete
|
|
57
|
-
cc2ecf4065b7: Verifying Checksum
|
|
58
|
-
cc2ecf4065b7: Download complete
|
|
59
|
-
c70db14240a1: Verifying Checksum
|
|
60
|
-
c70db14240a1: Download complete
|
|
61
|
-
86ec798129ac: Pull complete
|
|
62
|
-
0cb2c6965bde: Verifying Checksum
|
|
63
|
-
0cb2c6965bde: Download complete
|
|
64
|
-
eef7c391911c: Pull complete
|
|
65
|
-
8e167e77288f: Download complete
|
|
66
|
-
45d43cc973ba: Verifying Checksum
|
|
67
|
-
45d43cc973ba: Download complete
|
|
68
|
-
44c09156221f: Verifying Checksum
|
|
69
|
-
44c09156221f: Download complete
|
|
70
|
-
f2fb700979ad: Verifying Checksum
|
|
71
|
-
f2fb700979ad: Download complete
|
|
72
|
-
cc2ecf4065b7: Pull complete
|
|
73
|
-
5760fdd70374: Pull complete
|
|
74
|
-
c70db14240a1: Pull complete
|
|
75
|
-
2a1ced882ba9: Verifying Checksum
|
|
76
|
-
2a1ced882ba9: Download complete
|
|
77
|
-
0cb2c6965bde: Pull complete
|
|
78
|
-
597168d5c38e: Verifying Checksum
|
|
79
|
-
597168d5c38e: Download complete
|
|
80
|
-
885bca26f927: Verifying Checksum
|
|
81
|
-
885bca26f927: Download complete
|
|
82
|
-
36e15e3f2788: Verifying Checksum
|
|
83
|
-
36e15e3f2788: Download complete
|
|
84
|
-
e431adaf232f: Verifying Checksum
|
|
85
|
-
e431adaf232f: Download complete
|
|
86
|
-
885bca26f927: Pull complete
|
|
87
|
-
8e167e77288f: Pull complete
|
|
88
|
-
45d43cc973ba: Pull complete
|
|
89
|
-
44c09156221f: Pull complete
|
|
90
|
-
f2fb700979ad: Pull complete
|
|
91
|
-
2a1ced882ba9: Pull complete
|
|
92
|
-
597168d5c38e: Pull complete
|
|
93
|
-
e431adaf232f: Pull complete
|
|
94
|
-
36e15e3f2788: Pull complete
|
|
95
|
-
Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
|
|
96
|
-
Status: Downloaded newer image for 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
97
|
-
438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
98
|
-
✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
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)
|
|
99
20
|
👤 Running container as UID:GID 1001:1001
|
|
100
|
-
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-
|
|
21
|
+
$ docker run --rm --add-host=host.docker.internal:host-gateway -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /tmp/lz-scoped-workspace-18XUi6:/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
|
|
101
22
|
Compiling 150 files with Solc 0.8.22
|
|
102
|
-
Solc 0.8.22 finished in
|
|
23
|
+
Solc 0.8.22 finished in 12.54s
|
|
103
24
|
Compiler run successful!
|
|
104
25
|
|
|
105
26
|
Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
|
|
106
27
|
[PASS] test_constructor() (gas: 15583)
|
|
107
28
|
[PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
|
|
108
29
|
[PASS] test_payNative() (gas: 97285)
|
|
109
|
-
[PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ:
|
|
30
|
+
[PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99267, ~: 99198)
|
|
110
31
|
[PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
|
|
111
32
|
[PASS] test_payNative_ZeroFee() (gas: 18992)
|
|
112
|
-
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in
|
|
113
|
-
|
|
114
|
-
Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
|
|
115
|
-
[PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
|
|
116
|
-
[PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58346, ~: 58337)
|
|
117
|
-
[PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 50697, ~: 50697)
|
|
118
|
-
[PASS] test_combineOptions_NoEnforcedOptions() (gas: 19825)
|
|
119
|
-
[PASS] test_combineOptions_NoExtraOptions() (gas: 94671)
|
|
120
|
-
[PASS] test_combineOptions_PassthroughAfterReset() (gas: 80107)
|
|
121
|
-
[PASS] test_combineOptions_Revert_SingleByteExtraOptions() (gas: 49368)
|
|
122
|
-
[PASS] test_enforcedOptions() (gas: 47289)
|
|
123
|
-
[PASS] test_enforcedOptions_Empty() (gas: 17289)
|
|
124
|
-
[PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15583)
|
|
125
|
-
[PASS] test_setEnforcedOptions() (gas: 132440)
|
|
126
|
-
[PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
|
|
127
|
-
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51099, ~: 51093)
|
|
128
|
-
[PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
|
|
129
|
-
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 149.70ms (402.05ms CPU time)
|
|
33
|
+
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 130.20ms (127.85ms CPU time)
|
|
130
34
|
|
|
131
35
|
Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
|
|
132
36
|
[PASS] test_acceptDefaultAdminTransfer() (gas: 107512)
|
|
@@ -135,11 +39,11 @@ Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
|
|
|
135
39
|
[PASS] test_initialize_SetsDelegate() (gas: 15127)
|
|
136
40
|
[PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15597)
|
|
137
41
|
[PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 16016)
|
|
138
|
-
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in
|
|
42
|
+
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 177.97ms (175.08ms CPU time)
|
|
139
43
|
|
|
140
44
|
Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBACUpgradeableTest
|
|
141
45
|
[PASS] test_combineOptions_CombinesType3Options() (gas: 58123)
|
|
142
|
-
[PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ:
|
|
46
|
+
[PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 60854, ~: 60846)
|
|
143
47
|
[PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 53270, ~: 53270)
|
|
144
48
|
[PASS] test_combineOptions_NoEnforcedOptions() (gas: 19929)
|
|
145
49
|
[PASS] test_combineOptions_NoExtraOptions() (gas: 97207)
|
|
@@ -150,10 +54,27 @@ Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBAC
|
|
|
150
54
|
[PASS] test_initialize_Revert_AlreadyInitialized() (gas: 17887)
|
|
151
55
|
[PASS] test_setEnforcedOptions() (gas: 135089)
|
|
152
56
|
[PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 44862)
|
|
153
|
-
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ:
|
|
57
|
+
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53636, ~: 53634)
|
|
154
58
|
[PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 20171, ~: 20171)
|
|
155
59
|
[PASS] test_setEnforcedOptions_Revert_Unauthorized() (gas: 24948)
|
|
156
|
-
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in
|
|
60
|
+
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 216.64ms (582.08ms CPU time)
|
|
61
|
+
|
|
62
|
+
Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
|
|
63
|
+
[PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
|
|
64
|
+
[PASS] test_combineOptions_Fuzz(uint32,uint16,uint128,uint128) (runs: 1000, μ: 58344, ~: 58337)
|
|
65
|
+
[PASS] test_combineOptions_Fuzz_Revert_InvalidExtraOptionsType(uint16) (runs: 1000, μ: 50697, ~: 50697)
|
|
66
|
+
[PASS] test_combineOptions_NoEnforcedOptions() (gas: 19825)
|
|
67
|
+
[PASS] test_combineOptions_NoExtraOptions() (gas: 94671)
|
|
68
|
+
[PASS] test_combineOptions_PassthroughAfterReset() (gas: 80107)
|
|
69
|
+
[PASS] test_combineOptions_Revert_SingleByteExtraOptions() (gas: 49368)
|
|
70
|
+
[PASS] test_enforcedOptions() (gas: 47289)
|
|
71
|
+
[PASS] test_enforcedOptions_Empty() (gas: 17289)
|
|
72
|
+
[PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15583)
|
|
73
|
+
[PASS] test_setEnforcedOptions() (gas: 132440)
|
|
74
|
+
[PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
|
|
75
|
+
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51098, ~: 51093)
|
|
76
|
+
[PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
|
|
77
|
+
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 225.59ms (589.86ms CPU time)
|
|
157
78
|
|
|
158
|
-
Ran 4 test suites in
|
|
159
|
-
⏳ forge test:
|
|
79
|
+
Ran 4 test suites in 230.13ms (750.41ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
|
|
80
|
+
⏳ forge test: 14.713s
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/oapp-upgradeable-evm-contracts",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "LayerZero Labs reference EVM upgradeable OApp implementation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"ethers": "^5.8.0",
|
|
16
16
|
"solhint": "^6.0.1",
|
|
17
17
|
"solidity-bytes-utils": "^0.8.4",
|
|
18
|
-
"@layerzerolabs/
|
|
19
|
-
"@layerzerolabs/test-utils-evm-contracts": "1.2.
|
|
20
|
-
"@layerzerolabs/utils-evm-contracts": "1.2.
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/
|
|
23
|
-
"@layerzerolabs/vm-tooling-evm": "1.2.
|
|
18
|
+
"@layerzerolabs/solhint-configuration": "1.2.12",
|
|
19
|
+
"@layerzerolabs/test-utils-evm-contracts": "1.2.12",
|
|
20
|
+
"@layerzerolabs/utils-evm-contracts": "1.2.12",
|
|
21
|
+
"@layerzerolabs/oapp-evm-contracts": "1.2.12",
|
|
22
|
+
"@layerzerolabs/utils-upgradeable-evm-contracts": "1.2.12",
|
|
23
|
+
"@layerzerolabs/vm-tooling-evm": "1.2.12"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public",
|