@layerzerolabs/protocol-stellar-v2 0.2.60 → 0.2.61
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-build.log +64 -65
- package/.turbo/turbo-lint.log +68 -73
- package/.turbo/turbo-test.log +1953 -1882
- package/contracts/workers/dvn/src/auth.rs +67 -30
- package/contracts/workers/dvn/src/dvn.rs +31 -6
- package/contracts/workers/dvn/src/errors.rs +4 -1
- package/contracts/workers/dvn/src/events.rs +7 -1
- package/contracts/workers/dvn/src/interfaces/dvn.rs +34 -8
- package/contracts/workers/dvn/src/storage.rs +5 -1
- package/contracts/workers/dvn/src/tests/auth.rs +539 -90
- package/package.json +4 -4
- package/sdk/.turbo/turbo-test.log +303 -269
- package/sdk/dist/generated/dvn.d.ts +59 -11
- package/sdk/dist/generated/dvn.js +21 -10
- package/sdk/package.json +1 -1
- package/sdk/test/counter-uln.test.ts +34 -15
- package/sdk/test/upgrader.test.ts +21 -0
- package/sdk/test/utils.ts +101 -14
package/.turbo/turbo-lint.log
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
🔧 User volumes override 1 default volume(s)
|
|
8
8
|
✅ stellar-25.1.0 (Latest stable release)
|
|
9
9
|
🔧 stellar version: 25.1.0
|
|
10
|
-
(node:
|
|
10
|
+
(node:58219) [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)
|
|
@@ -29,43 +29,38 @@ ebe71df0d5a0: Pulling fs layer
|
|
|
29
29
|
8ab2295f3fb3: Pulling fs layer
|
|
30
30
|
6da477ce4021: Pulling fs layer
|
|
31
31
|
411ca42f331d: Pulling fs layer
|
|
32
|
-
|
|
33
|
-
4617420e017b: Waiting
|
|
34
|
-
8bfa393fce63: Waiting
|
|
32
|
+
411ca42f331d: Waiting
|
|
35
33
|
72197a14cd4f: Waiting
|
|
36
|
-
97ed36c5fb07: Waiting
|
|
37
|
-
493a5d82164a: Waiting
|
|
38
|
-
f54b29cca981: Waiting
|
|
39
|
-
2c1ce468d9f3: Waiting
|
|
40
34
|
d47cd8933eb7: Waiting
|
|
41
35
|
ebe71df0d5a0: Waiting
|
|
42
36
|
8ab2295f3fb3: Waiting
|
|
43
37
|
6da477ce4021: Waiting
|
|
44
|
-
|
|
38
|
+
493a5d82164a: Waiting
|
|
39
|
+
97ed36c5fb07: Waiting
|
|
40
|
+
f54b29cca981: Waiting
|
|
41
|
+
2c1ce468d9f3: Waiting
|
|
45
42
|
f6bd9104d248: Download complete
|
|
46
43
|
72197a14cd4f: Verifying Checksum
|
|
47
44
|
72197a14cd4f: Download complete
|
|
45
|
+
f6bd9104d248: Pull complete
|
|
48
46
|
97ed36c5fb07: Verifying Checksum
|
|
49
47
|
97ed36c5fb07: Download complete
|
|
50
|
-
f6bd9104d248: Pull complete
|
|
51
|
-
4617420e017b: Verifying Checksum
|
|
52
|
-
4617420e017b: Download complete
|
|
53
|
-
8bfa393fce63: Verifying Checksum
|
|
54
|
-
8bfa393fce63: Download complete
|
|
55
48
|
493a5d82164a: Verifying Checksum
|
|
56
49
|
493a5d82164a: Download complete
|
|
50
|
+
8bfa393fce63: Verifying Checksum
|
|
51
|
+
8bfa393fce63: Download complete
|
|
57
52
|
2c1ce468d9f3: Download complete
|
|
58
|
-
|
|
53
|
+
f54b29cca981: Verifying Checksum
|
|
54
|
+
f54b29cca981: Download complete
|
|
55
|
+
4617420e017b: Download complete
|
|
56
|
+
d47cd8933eb7: Verifying Checksum
|
|
57
|
+
d47cd8933eb7: Download complete
|
|
59
58
|
ebe71df0d5a0: Download complete
|
|
59
|
+
6da477ce4021: Download complete
|
|
60
60
|
8ab2295f3fb3: Verifying Checksum
|
|
61
61
|
8ab2295f3fb3: Download complete
|
|
62
|
-
|
|
63
|
-
d47cd8933eb7: Download complete
|
|
64
|
-
f54b29cca981: Verifying Checksum
|
|
65
|
-
f54b29cca981: Download complete
|
|
62
|
+
411ca42f331d: Verifying Checksum
|
|
66
63
|
411ca42f331d: Download complete
|
|
67
|
-
6da477ce4021: Verifying Checksum
|
|
68
|
-
6da477ce4021: Download complete
|
|
69
64
|
4617420e017b: Pull complete
|
|
70
65
|
8bfa393fce63: Pull complete
|
|
71
66
|
72197a14cd4f: Pull complete
|
|
@@ -95,7 +90,7 @@ info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
|
|
|
95
90
|
|
|
96
91
|
1.90.0-x86_64-unknown-linux-gnu unchanged - rustc 1.90.0 (1159e78c4 2025-09-14)
|
|
97
92
|
|
|
98
|
-
⏱️ bash -c mkdir -p $CARGO_HOME/bin && ln -sf /usr/local/cargo/bin/rustup $CARGO_HOME/bin/rustup && rustup toolchain install 1.90.0 --no-self-update --target wasm32v1-none --component rustfmt --component clippy:
|
|
93
|
+
⏱️ bash -c mkdir -p $CARGO_HOME/bin && ln -sf /usr/local/cargo/bin/rustup $CARGO_HOME/bin/rustup && rustup toolchain install 1.90.0 --no-self-update --target wasm32v1-none --component rustfmt --component clippy: 1.520s
|
|
99
94
|
🔓 Released lock for @layerzerolabs/protocol-stellar-v2 at /home/runner/.cache/vm-tooling/locks/stellar-rustup
|
|
100
95
|
📦 Using 4 default cache volume(s) for stellar
|
|
101
96
|
✅ stellar-25.1.0 (Latest stable release)
|
|
@@ -107,98 +102,98 @@ $ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws
|
|
|
107
102
|
📜 Executing custom script: cargo clippy -- -D warnings
|
|
108
103
|
$ docker run --rm --add-host=host.docker.internal:host-gateway -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang -e CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=clang -e $'CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS=-C link-arg=-fuse-ld=mold' -e $'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS=-C link-arg=-fuse-ld=mold' -e LOCAL_UID=1001 -e LOCAL_GID=1001 -v /home/runner/work/monorepo-internal/monorepo-internal:/workspace -w /workspace/contracts/protocol/stellar -v lz-tooling-cache-stellar-config:/cache/stellar -v lz-tooling-cache-stellar-cargo:/cache/cargo -v lz-tooling-cache-stellar-rustup:/cache/rustup -v /home/runner/.sccache:/cache/sccache 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0_patch_1 bash -c $'cargo clippy -- -D warnings'
|
|
109
104
|
Blocking waiting for file lock on build directory
|
|
110
|
-
Compiling serde_core v1.0.228
|
|
111
105
|
Checking cfg-if v1.0.4
|
|
112
|
-
|
|
106
|
+
Compiling serde_core v1.0.228
|
|
113
107
|
Checking subtle v2.6.1
|
|
114
|
-
Compiling libc v0.2.177
|
|
115
108
|
Checking const-oid v0.9.6
|
|
116
|
-
|
|
117
|
-
Checking
|
|
109
|
+
Compiling libc v0.2.177
|
|
110
|
+
Checking typenum v1.19.0
|
|
118
111
|
Checking zerocopy v0.8.27
|
|
119
112
|
Compiling schemars v0.8.22
|
|
113
|
+
Checking num-traits v0.2.19
|
|
114
|
+
Checking zeroize v1.8.2
|
|
120
115
|
Checking cpufeatures v0.2.17
|
|
116
|
+
Checking once_cell v1.21.3
|
|
121
117
|
Checking either v1.15.0
|
|
122
118
|
Checking base16ct v0.2.0
|
|
123
|
-
Checking once_cell v1.21.3
|
|
124
119
|
Checking data-encoding v2.9.0
|
|
125
|
-
Checking libm v0.2.15
|
|
126
120
|
Compiling thiserror v1.0.69
|
|
127
|
-
Checking
|
|
128
|
-
Checking equivalent v1.0.2
|
|
121
|
+
Checking libm v0.2.15
|
|
129
122
|
Checking hashbrown v0.16.0
|
|
130
123
|
Checking indexmap-nostd v0.4.0
|
|
131
|
-
Checking
|
|
132
|
-
Checking
|
|
133
|
-
Checking der v0.7.10
|
|
134
|
-
Checking smallvec v1.15.1
|
|
135
|
-
Checking wasmi_arena v0.4.1
|
|
124
|
+
Checking equivalent v1.0.2
|
|
125
|
+
Checking downcast-rs v1.2.1
|
|
136
126
|
Checking base64 v0.22.1
|
|
137
|
-
Checking indexmap v2.12.0
|
|
138
|
-
Checking num-integer v0.1.46
|
|
139
|
-
Checking wasmi_core v0.13.0
|
|
140
|
-
Checking itertools v0.10.5
|
|
141
127
|
Checking wasmparser-nostd v0.100.2
|
|
142
|
-
Checking spin v0.9.8
|
|
143
|
-
Checking escape-bytes v0.1.1
|
|
144
128
|
Checking hex v0.4.3
|
|
129
|
+
Checking wasmi_arena v0.4.1
|
|
130
|
+
Checking num-integer v0.1.46
|
|
131
|
+
Checking ppv-lite86 v0.2.21
|
|
132
|
+
Checking ahash v0.8.12
|
|
133
|
+
Checking indexmap v2.12.0
|
|
134
|
+
Checking escape-bytes v0.1.1
|
|
135
|
+
Checking hashbrown v0.13.2
|
|
136
|
+
Checking smallvec v1.15.1
|
|
137
|
+
Checking byteorder v1.5.0
|
|
145
138
|
Checking ethnum v1.5.2
|
|
139
|
+
Checking wasmi_core v0.13.0
|
|
146
140
|
Checking num-bigint v0.4.6
|
|
141
|
+
Checking semver v1.0.27
|
|
142
|
+
Checking spin v0.9.8
|
|
147
143
|
Checking generic-array v0.14.9
|
|
148
|
-
Checking
|
|
149
|
-
Checking ppv-lite86 v0.2.21
|
|
150
|
-
Checking ahash v0.8.12
|
|
151
|
-
Checking hash32 v0.3.1
|
|
152
|
-
Checking keccak v0.1.5
|
|
144
|
+
Checking der v0.7.10
|
|
153
145
|
Compiling soroban-env-host v25.0.1
|
|
146
|
+
Checking hash32 v0.3.1
|
|
154
147
|
Checking stable_deref_trait v1.2.1
|
|
155
|
-
Checking
|
|
156
|
-
Checking hashbrown v0.13.2
|
|
148
|
+
Checking keccak v0.1.5
|
|
157
149
|
Checking static_assertions v1.1.0
|
|
158
|
-
Checking
|
|
150
|
+
Checking wasmparser v0.116.1
|
|
151
|
+
Checking hex-literal v0.4.1
|
|
159
152
|
Checking memchr v2.7.6
|
|
153
|
+
Checking soroban-wasmi v0.31.1-soroban.20.0.1
|
|
154
|
+
Checking itoa v1.0.15
|
|
160
155
|
Checking ryu v1.0.20
|
|
161
|
-
Checking hex-literal v0.4.1
|
|
162
|
-
Checking heapless v0.8.0
|
|
163
156
|
Compiling common-macros v0.0.1 (/workspace/contracts/protocol/stellar/contracts/common-macros)
|
|
164
157
|
Compiling oapp-macros v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/oapp-macros)
|
|
158
|
+
Checking itertools v0.10.5
|
|
159
|
+
Checking heapless v0.8.0
|
|
165
160
|
Checking unicode-ident v1.0.22
|
|
166
161
|
Checking heck v0.5.0
|
|
167
|
-
Checking oapps v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps)
|
|
168
|
-
Checking macro-integration-tests v0.0.1 (/workspace/contracts/protocol/stellar/contracts/macro-integration-tests)
|
|
169
162
|
Checking workers v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers)
|
|
170
163
|
Checking message-libs v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs)
|
|
164
|
+
Checking macro-integration-tests v0.0.1 (/workspace/contracts/protocol/stellar/contracts/macro-integration-tests)
|
|
171
165
|
Checking proc-macro2 v1.0.103
|
|
172
|
-
Checking
|
|
166
|
+
Checking oapps v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps)
|
|
173
167
|
Checking getrandom v0.2.16
|
|
174
168
|
Checking rand_core v0.6.4
|
|
175
169
|
Checking crypto-common v0.1.6
|
|
176
170
|
Checking block-buffer v0.10.4
|
|
177
|
-
Checking sec1 v0.7.3
|
|
178
|
-
Checking quote v1.0.41
|
|
179
171
|
Checking rand_chacha v0.3.1
|
|
180
172
|
Checking ff v0.13.1
|
|
181
173
|
Checking crypto-bigint v0.5.5
|
|
182
|
-
Checking digest v0.10.7
|
|
183
174
|
Checking group v0.13.0
|
|
184
|
-
Checking
|
|
175
|
+
Checking sec1 v0.7.3
|
|
185
176
|
Checking rand v0.8.5
|
|
186
|
-
Checking
|
|
177
|
+
Checking itertools v0.14.0
|
|
178
|
+
Checking digest v0.10.7
|
|
187
179
|
Checking sha2 v0.10.9
|
|
188
180
|
Checking signature v2.2.0
|
|
189
181
|
Checking hmac v0.12.1
|
|
190
182
|
Checking curve25519-dalek v4.1.3
|
|
191
183
|
Checking sha3 v0.10.8
|
|
192
|
-
Checking
|
|
184
|
+
Checking quote v1.0.41
|
|
185
|
+
Checking ark-std v0.4.0
|
|
193
186
|
Checking ed25519 v2.2.3
|
|
187
|
+
Checking ark-serialize v0.4.2
|
|
194
188
|
Checking rfc6979 v0.4.0
|
|
189
|
+
Checking syn v2.0.108
|
|
190
|
+
Compiling serde v1.0.228
|
|
191
|
+
Compiling serde_json v1.0.145
|
|
195
192
|
Checking ark-ff v0.4.2
|
|
196
193
|
Checking elliptic-curve v0.13.8
|
|
197
|
-
Checking ed25519-dalek v2.2.0
|
|
198
194
|
Checking ecdsa v0.16.9
|
|
199
195
|
Checking primeorder v0.13.6
|
|
200
|
-
Checking
|
|
201
|
-
Checking serde v1.0.228
|
|
196
|
+
Checking ed25519-dalek v2.2.0
|
|
202
197
|
Checking k256 v0.13.4
|
|
203
198
|
Checking p256 v0.13.2
|
|
204
199
|
Compiling crate-git-revision v0.0.6
|
|
@@ -207,11 +202,11 @@ $ docker run --rm --add-host=host.docker.internal:host-gateway -e RUSTC_WRAPPER=
|
|
|
207
202
|
Compiling soroban-env-common v25.0.1
|
|
208
203
|
Compiling stellar-strkey v0.0.16
|
|
209
204
|
Compiling soroban-sdk v25.1.1
|
|
210
|
-
Checking ark-poly v0.4.2
|
|
211
205
|
Compiling serde_with v3.15.1
|
|
206
|
+
Checking ark-poly v0.4.2
|
|
212
207
|
Checking ark-ec v0.4.2
|
|
213
|
-
Checking ark-bls12-381 v0.4.0
|
|
214
208
|
Checking ark-bn254 v0.4.0
|
|
209
|
+
Checking ark-bls12-381 v0.4.0
|
|
215
210
|
Compiling soroban-spec v25.1.1
|
|
216
211
|
Compiling soroban-env-macros v25.0.1
|
|
217
212
|
Compiling soroban-spec-rust v25.1.1
|
|
@@ -220,24 +215,24 @@ $ docker run --rm --add-host=host.docker.internal:host-gateway -e RUSTC_WRAPPER=
|
|
|
220
215
|
Checking fee-lib-interfaces v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/fee-lib-interfaces)
|
|
221
216
|
Checking endpoint-v2 v0.0.1 (/workspace/contracts/protocol/stellar/contracts/endpoint-v2)
|
|
222
217
|
Checking worker v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/worker)
|
|
223
|
-
Checking
|
|
218
|
+
Checking upgrader v0.0.1 (/workspace/contracts/protocol/stellar/contracts/upgrader)
|
|
224
219
|
Checking sac-manager v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/sac-manager)
|
|
225
220
|
Checking dvn-fee-lib v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/dvn-fee-lib)
|
|
226
|
-
Checking
|
|
221
|
+
Checking price-feed v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/price-feed)
|
|
227
222
|
Checking message-lib-common v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/message-lib-common)
|
|
228
223
|
Checking oapp v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/oapp)
|
|
229
224
|
Checking blocked-message-lib v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/blocked-message-lib)
|
|
230
|
-
Checking executor v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/executor)
|
|
231
225
|
Checking uln302 v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/uln-302)
|
|
226
|
+
Checking executor v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/executor)
|
|
232
227
|
Checking dvn v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/dvn)
|
|
228
|
+
Checking executor-fee-lib v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/executor-fee-lib)
|
|
233
229
|
Checking simple-message-lib v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/simple-message-lib)
|
|
234
230
|
Checking treasury v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/treasury)
|
|
235
|
-
Checking executor-fee-lib v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/executor-fee-lib)
|
|
236
231
|
Checking oft-core v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/oft-core)
|
|
237
232
|
Checking counter v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/counter)
|
|
238
233
|
Checking executor-helper v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/executor-helper)
|
|
239
234
|
Checking layerzero-views v0.0.1 (/workspace/contracts/protocol/stellar/contracts/layerzero-views)
|
|
240
|
-
Checking console-oft v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/console-oft)
|
|
241
235
|
Checking oft v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/oft)
|
|
242
|
-
|
|
243
|
-
|
|
236
|
+
Checking console-oft v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/console-oft)
|
|
237
|
+
Finished `dev` profile [unoptimized + debuginfo] target(s) in 7m 04s
|
|
238
|
+
⏱️ bash -c cargo clippy -- -D warnings: 7:06.774 (m:ss.mmm)
|