@layerzerolabs/oapp-upgradeable-evm-contracts 0.2.77 → 0.2.79
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 +12 -74
- package/package.json +9 -9
package/.turbo/turbo-test.log
CHANGED
|
@@ -5,87 +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:
|
|
8
|
+
(node:445929) [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
|
-
|
|
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: Pulling fs layer
|
|
17
|
-
eef7c391911c: Pulling fs layer
|
|
18
|
-
cc2ecf4065b7: Pulling fs layer
|
|
19
|
-
5760fdd70374: Pulling fs layer
|
|
20
|
-
c70db14240a1: Pulling fs layer
|
|
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
|
-
eef7c391911c: Download complete
|
|
33
|
-
cc2ecf4065b7: Download complete
|
|
34
|
-
5760fdd70374: Download complete
|
|
35
|
-
c70db14240a1: Download complete
|
|
36
|
-
8e167e77288f: Download complete
|
|
37
|
-
45d43cc973ba: Download complete
|
|
38
|
-
2a1ced882ba9: Waiting
|
|
39
|
-
597168d5c38e: Waiting
|
|
40
|
-
44c09156221f: Waiting
|
|
41
|
-
f2fb700979ad: Waiting
|
|
42
|
-
e431adaf232f: Waiting
|
|
43
|
-
44c09156221f: Verifying Checksum
|
|
44
|
-
44c09156221f: Download complete
|
|
45
|
-
0cb2c6965bde: Verifying Checksum
|
|
46
|
-
0cb2c6965bde: Download complete
|
|
47
|
-
f2fb700979ad: Download complete
|
|
48
|
-
86ec798129ac: Pull complete
|
|
49
|
-
597168d5c38e: Verifying Checksum
|
|
50
|
-
597168d5c38e: Download complete
|
|
51
|
-
eef7c391911c: Pull complete
|
|
52
|
-
cc2ecf4065b7: Pull complete
|
|
53
|
-
5760fdd70374: Pull complete
|
|
54
|
-
c70db14240a1: Pull complete
|
|
55
|
-
2a1ced882ba9: Verifying Checksum
|
|
56
|
-
2a1ced882ba9: Download complete
|
|
57
|
-
36e15e3f2788: Download complete
|
|
58
|
-
0cb2c6965bde: Pull complete
|
|
59
|
-
e431adaf232f: Verifying Checksum
|
|
60
|
-
e431adaf232f: Download complete
|
|
61
|
-
885bca26f927: Download complete
|
|
62
|
-
885bca26f927: Pull complete
|
|
63
|
-
8e167e77288f: Pull complete
|
|
64
|
-
45d43cc973ba: Pull complete
|
|
65
|
-
44c09156221f: Pull complete
|
|
66
|
-
f2fb700979ad: Pull complete
|
|
67
|
-
2a1ced882ba9: Pull complete
|
|
68
|
-
597168d5c38e: Pull complete
|
|
69
|
-
e431adaf232f: Pull complete
|
|
70
|
-
36e15e3f2788: Pull complete
|
|
71
|
-
Digest: sha256:08b858b586759ec59f4df44c0bc5eac9f856a1eb32b6ce37f79f31a20a89ed52
|
|
72
|
-
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
|
|
73
|
-
438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/evm-tooling:forge-1.3.6-hardhat-2.26.3-patch-3
|
|
74
|
-
✅ 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
|
|
75
13
|
👤 Running container as UID:GID 1001:1001
|
|
76
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
|
|
77
15
|
Compiling 150 files with Solc 0.8.22
|
|
78
|
-
Solc 0.8.22 finished in
|
|
16
|
+
Solc 0.8.22 finished in 20.04s
|
|
79
17
|
Compiler run successful!
|
|
80
18
|
|
|
81
19
|
Ran 6 tests for test/OAppAltUpgradeable.t.sol:OAppAltUpgradeableTest
|
|
82
20
|
[PASS] test_constructor() (gas: 15583)
|
|
83
21
|
[PASS] test_constructor_Revert_InvalidNativeToken() (gas: 4353096)
|
|
84
22
|
[PASS] test_payNative() (gas: 97285)
|
|
85
|
-
[PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ:
|
|
23
|
+
[PASS] test_payNative_Fuzz(uint96) (runs: 1000, μ: 99265, ~: 99198)
|
|
86
24
|
[PASS] test_payNative_Revert_OnlyAltToken() (gas: 101951)
|
|
87
25
|
[PASS] test_payNative_ZeroFee() (gas: 18992)
|
|
88
|
-
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in
|
|
26
|
+
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 149.69ms (144.20ms CPU time)
|
|
89
27
|
|
|
90
28
|
Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
|
|
91
29
|
[PASS] test_acceptDefaultAdminTransfer() (gas: 107512)
|
|
@@ -94,7 +32,7 @@ Ran 6 tests for test/OAppCoreRBACUpgradeable.t.sol:OAppCoreRBACUpgradeableTest
|
|
|
94
32
|
[PASS] test_initialize_SetsDelegate() (gas: 15127)
|
|
95
33
|
[PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_Admin() (gas: 15597)
|
|
96
34
|
[PASS] test_setDelegate_Revert_CannotDirectlySetDelegate_NonAdmin() (gas: 16016)
|
|
97
|
-
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in
|
|
35
|
+
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 201.95ms (193.75ms CPU time)
|
|
98
36
|
|
|
99
37
|
Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBACUpgradeableTest
|
|
100
38
|
[PASS] test_combineOptions_CombinesType3Options() (gas: 58107)
|
|
@@ -109,10 +47,10 @@ Ran 15 tests for test/OAppOptionsType3RBACUpgradeable.t.sol:OAppOptionsType3RBAC
|
|
|
109
47
|
[PASS] test_initialize_Revert_AlreadyInitialized() (gas: 17898)
|
|
110
48
|
[PASS] test_setEnforcedOptions() (gas: 135081)
|
|
111
49
|
[PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 44859)
|
|
112
|
-
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ:
|
|
50
|
+
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 53634, ~: 53630)
|
|
113
51
|
[PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 20171, ~: 20171)
|
|
114
52
|
[PASS] test_setEnforcedOptions_Revert_Unauthorized() (gas: 23046)
|
|
115
|
-
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in
|
|
53
|
+
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 223.46ms (674.16ms CPU time)
|
|
116
54
|
|
|
117
55
|
Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3BaseUpgradeableTest
|
|
118
56
|
[PASS] test_combineOptions_CombinesType3Options() (gas: 55506)
|
|
@@ -127,9 +65,9 @@ Ran 14 tests for test/OAppOptionsType3BaseUpgradeable.t.sol:OAppOptionsType3Base
|
|
|
127
65
|
[PASS] test_initialize_Revert_AlreadyInitialized() (gas: 15583)
|
|
128
66
|
[PASS] test_setEnforcedOptions() (gas: 132440)
|
|
129
67
|
[PASS] test_setEnforcedOptions_EmptyOptionsResetsEnforced() (gas: 42400)
|
|
130
|
-
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ:
|
|
68
|
+
[PASS] test_setEnforcedOptions_Fuzz(uint32,uint16,uint128) (runs: 1000, μ: 51098, ~: 51093)
|
|
131
69
|
[PASS] test_setEnforcedOptions_Fuzz_Revert_InvalidOptionsType(uint16) (runs: 1000, μ: 17649, ~: 17649)
|
|
132
|
-
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in
|
|
70
|
+
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 233.41ms (663.90ms CPU time)
|
|
133
71
|
|
|
134
|
-
Ran 4 test suites in
|
|
135
|
-
⏳ forge test:
|
|
72
|
+
Ran 4 test suites in 240.90ms (808.51ms CPU time): 41 tests passed, 0 failed, 0 skipped (41 total tests)
|
|
73
|
+
⏳ forge test: 23.659s
|
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.79",
|
|
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.
|
|
19
|
-
"@layerzerolabs/
|
|
20
|
-
"@layerzerolabs/
|
|
21
|
-
"@layerzerolabs/
|
|
22
|
-
"@layerzerolabs/
|
|
23
|
-
"@layerzerolabs/utils-evm-contracts": "0.2.
|
|
24
|
-
"@layerzerolabs/
|
|
25
|
-
"@layerzerolabs/
|
|
18
|
+
"@layerzerolabs/oapp-evm-contracts": "0.2.79",
|
|
19
|
+
"@layerzerolabs/solhint-configuration": "0.2.79",
|
|
20
|
+
"@layerzerolabs/tsup-configuration": "0.2.79",
|
|
21
|
+
"@layerzerolabs/typescript-configuration": "0.2.79",
|
|
22
|
+
"@layerzerolabs/test-utils-evm-contracts": "0.2.79",
|
|
23
|
+
"@layerzerolabs/utils-evm-contracts": "0.2.79",
|
|
24
|
+
"@layerzerolabs/utils-upgradeable-evm-contracts": "0.2.79",
|
|
25
|
+
"@layerzerolabs/vm-tooling-evm": "0.2.79"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public",
|