@layerzerolabs/protocol-stellar-v2 0.2.41 → 0.2.44

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.
Files changed (42) hide show
  1. package/.turbo/turbo-build.log +146 -144
  2. package/.turbo/turbo-lint.log +165 -96
  3. package/.turbo/turbo-test.log +1810 -1755
  4. package/Cargo.lock +22 -127
  5. package/Cargo.toml +4 -6
  6. package/contracts/macro-integration-tests/tests/runtime/oapp/mod.rs +3 -5
  7. package/contracts/macro-integration-tests/tests/runtime/oapp/sender.rs +2 -1
  8. package/contracts/macro-integration-tests/tests/runtime/ownable/mod.rs +1 -1
  9. package/contracts/macro-integration-tests/tests/ui/oapp/fail/missing_auth_trait.rs +28 -0
  10. package/contracts/macro-integration-tests/tests/ui/oapp/fail/missing_auth_trait.stderr +397 -0
  11. package/contracts/macro-integration-tests/tests/ui/oapp/fail/missing_lz_receive_internal.rs +1 -0
  12. package/contracts/macro-integration-tests/tests/ui/oapp/fail/missing_lz_receive_internal.stderr +10 -10
  13. package/contracts/macro-integration-tests/tests/ui/oapp/pass/custom_all.rs +1 -0
  14. package/contracts/macro-integration-tests/tests/ui/oapp/pass/custom_single_trait.rs +4 -0
  15. package/contracts/macro-integration-tests/tests/ui/oapp/pass/minimal_contract.rs +5 -4
  16. package/contracts/macro-integration-tests/tests/ui/oapp/pass/struct_with_fields.rs +2 -0
  17. package/contracts/oapps/counter/src/counter.rs +4 -3
  18. package/contracts/oapps/oapp/src/oapp_core.rs +1 -1
  19. package/contracts/oapps/oapp/src/tests/oapp_core.rs +2 -1
  20. package/contracts/oapps/oapp/src/tests/oapp_options_type3.rs +6 -3
  21. package/contracts/oapps/oapp/src/tests/oapp_receiver.rs +2 -1
  22. package/contracts/oapps/oapp/src/tests/oapp_sender.rs +2 -1
  23. package/contracts/oapps/oapp/src/tests/test_macros.rs +10 -0
  24. package/contracts/oapps/oapp-macros/src/generators.rs +6 -9
  25. package/contracts/oapps/oapp-macros/src/lib.rs +1 -1
  26. package/contracts/oapps/oapp-macros/src/tests/snapshots/oapp_macros__tests__oapp__snapshot_generate_oapp.snap +0 -7
  27. package/contracts/oapps/oft/src/oft.rs +2 -1
  28. package/contracts/oapps/oft/src/tests/oft_types/lock_unlock.rs +1 -0
  29. package/contracts/oapps/oft-core/integration-tests/setup.rs +1 -0
  30. package/contracts/oapps/oft-core/src/oft_core.rs +2 -2
  31. package/contracts/oapps/oft-core/src/tests/test_utils.rs +2 -0
  32. package/docs/oapp-guide.md +14 -9
  33. package/package.json +5 -4
  34. package/sdk/.turbo/turbo-test.log +294 -298
  35. package/sdk/dist/generated/counter.d.ts +137 -137
  36. package/sdk/dist/generated/counter.js +27 -27
  37. package/sdk/dist/generated/oft.d.ts +136 -136
  38. package/sdk/dist/generated/oft.js +27 -27
  39. package/sdk/package.json +1 -1
  40. package/ts-bindings-gen.toml +67 -0
  41. package/tools/ts-bindings-gen/Cargo.toml +0 -16
  42. package/tools/ts-bindings-gen/src/main.rs +0 -214
@@ -14,13 +14,79 @@
14
14
  🔧 User volumes override 1 default volume(s)
15
15
  ✅ stellar-25.1.0 (Latest stable release)
16
16
  🔧 stellar version: 25.1.0
17
- (node:17828) [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.
17
+ (node:17722) [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.
18
18
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
19
19
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
20
20
  (Use `node --trace-warnings ...` to show where the warning was created)
21
21
  $ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
22
- sha256:4d166776a6d1059504deff32a84797694e40f4d6858aaec2965c5815bcc10991
23
- ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
22
+ Error response from daemon: No such image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
23
+
24
+ 📥 Pulling Docker image from: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
25
+ $ docker pull 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
26
+ stellar_25.1.0: Pulling from layerzerolabs/stellar-tooling
27
+ f6bd9104d248: Pulling fs layer
28
+ 4617420e017b: Pulling fs layer
29
+ beaaf8a7146e: Pulling fs layer
30
+ 3e1d87a413fa: Pulling fs layer
31
+ a0f6971ecbd3: Pulling fs layer
32
+ 92a1b3d31b96: Pulling fs layer
33
+ fb456ca5475e: Pulling fs layer
34
+ 2c1ce468d9f3: Pulling fs layer
35
+ 963aa7b66e91: Pulling fs layer
36
+ efd28cb7ba78: Pulling fs layer
37
+ 14f775f5d67b: Pulling fs layer
38
+ 3f562c99cbe3: Pulling fs layer
39
+ 5fa3a944df97: Pulling fs layer
40
+ 92a1b3d31b96: Waiting
41
+ efd28cb7ba78: Waiting
42
+ fb456ca5475e: Waiting
43
+ 14f775f5d67b: Waiting
44
+ 3f562c99cbe3: Waiting
45
+ 2c1ce468d9f3: Waiting
46
+ 5fa3a944df97: Waiting
47
+ 963aa7b66e91: Waiting
48
+ 3e1d87a413fa: Waiting
49
+ a0f6971ecbd3: Waiting
50
+ f6bd9104d248: Verifying Checksum
51
+ f6bd9104d248: Download complete
52
+ 3e1d87a413fa: Verifying Checksum
53
+ 3e1d87a413fa: Download complete
54
+ f6bd9104d248: Pull complete
55
+ a0f6971ecbd3: Verifying Checksum
56
+ a0f6971ecbd3: Download complete
57
+ beaaf8a7146e: Verifying Checksum
58
+ beaaf8a7146e: Download complete
59
+ 4617420e017b: Verifying Checksum
60
+ 4617420e017b: Download complete
61
+ 2c1ce468d9f3: Verifying Checksum
62
+ 2c1ce468d9f3: Download complete
63
+ 92a1b3d31b96: Verifying Checksum
64
+ 92a1b3d31b96: Download complete
65
+ efd28cb7ba78: Verifying Checksum
66
+ efd28cb7ba78: Download complete
67
+ 14f775f5d67b: Download complete
68
+ fb456ca5475e: Verifying Checksum
69
+ fb456ca5475e: Download complete
70
+ 3f562c99cbe3: Download complete
71
+ 5fa3a944df97: Download complete
72
+ 963aa7b66e91: Verifying Checksum
73
+ 963aa7b66e91: Download complete
74
+ 4617420e017b: Pull complete
75
+ beaaf8a7146e: Pull complete
76
+ 3e1d87a413fa: Pull complete
77
+ a0f6971ecbd3: Pull complete
78
+ 92a1b3d31b96: Pull complete
79
+ fb456ca5475e: Pull complete
80
+ 2c1ce468d9f3: Pull complete
81
+ 963aa7b66e91: Pull complete
82
+ efd28cb7ba78: Pull complete
83
+ 14f775f5d67b: Pull complete
84
+ 3f562c99cbe3: Pull complete
85
+ 5fa3a944df97: Pull complete
86
+ Digest: sha256:fa3b739bf5c746bcb374b6fff2f13f253c8694b18fd0d9faa4e3b33a13b82781
87
+ Status: Downloaded newer image for 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
88
+ 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
89
+ ✅ Successfully pulled: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
24
90
  👤 Running container as UID:GID 1001:1001
25
91
  🌍 Using 5 default environment variable(s) for stellar
26
92
  📜 Executing custom script: mkdir -p $CARGO_HOME/bin && ln -sf /usr/local/cargo/bin/rustup $CARGO_HOME/bin/rustup && rustup toolchain install 1.90.0 --target wasm32v1-none --component rustfmt --component clippy
@@ -47,13 +113,13 @@ info: installing component 'rustfmt'
47
113
 
48
114
  info: default toolchain set to '1.90.0-x86_64-unknown-linux-gnu'
49
115
  info: checking for self-update
50
- ⏱️ bash -c mkdir -p $CARGO_HOME/bin && ln -sf /usr/local/cargo/bin/rustup $CARGO_HOME/bin/rustup && rustup toolchain install 1.90.0 --target wasm32v1-none --component rustfmt --component clippy: 14.848s
116
+ ⏱️ bash -c mkdir -p $CARGO_HOME/bin && ln -sf /usr/local/cargo/bin/rustup $CARGO_HOME/bin/rustup && rustup toolchain install 1.90.0 --target wasm32v1-none --component rustfmt --component clippy: 15.377s
51
117
  🔓 Released lock for @layerzerolabs/protocol-stellar-v2 at /home/runner/.cache/vm-tooling/locks/stellar-rustup
52
118
  📦 Using 4 default cache volume(s) for stellar
53
119
  ✅ stellar-25.1.0 (Latest stable release)
54
120
  🔧 stellar version: 25.1.0
55
121
  $ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
56
- sha256:4d166776a6d1059504deff32a84797694e40f4d6858aaec2965c5815bcc10991
122
+ sha256:314e086933eed3b936567f54f10bcac74de514b93d4841d04eca14b97756d33b
57
123
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
58
124
  👤 Running container as UID:GID 1001:1001
59
125
  🌍 Using 5 default environment variable(s) for stellar
@@ -81,36 +147,36 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
81
147
  Compiling autocfg v1.5.0
82
148
  Compiling schemars v0.8.22
83
149
  Compiling dyn-clone v1.0.20
150
+ Compiling cfg-if v1.0.4
84
151
  Compiling data-encoding v2.9.0
85
152
  Compiling generic-array v0.14.9
86
- Compiling cfg-if v1.0.4
87
153
  Compiling cpufeatures v0.2.17
88
154
  Compiling either v1.15.0
89
155
  Compiling ethnum v1.5.2
90
156
  Compiling escape-bytes v0.1.1
91
157
  Compiling num-traits v0.2.19
92
158
  Compiling semver v1.0.27
93
- Compiling hashbrown v0.16.0
94
- Compiling equivalent v1.0.2
95
159
  Compiling thiserror v1.0.69
160
+ Compiling hashbrown v0.16.0
96
161
  Compiling itertools v0.10.5
162
+ Compiling equivalent v1.0.2
97
163
  Compiling prettyplease v0.2.37
98
- Compiling heapless v0.8.0
99
164
  Compiling base64 v0.22.1
100
165
  Compiling byteorder v1.5.0
166
+ Compiling heapless v0.8.0
101
167
  Compiling rustc_version v0.4.1
102
- Compiling static_assertions v1.1.0
103
- Compiling indexmap v2.12.0
104
- Compiling hash32 v0.3.1
105
168
  Compiling heck v0.5.0
169
+ Compiling indexmap v2.12.0
106
170
  Compiling stable_deref_trait v1.2.1
171
+ Compiling static_assertions v1.1.0
172
+ Compiling hash32 v0.3.1
107
173
  Compiling itertools v0.14.0
108
174
  Compiling wasmparser v0.116.1
109
175
  Compiling num-integer v0.1.46
110
- Compiling block-buffer v0.10.4
111
176
  Compiling crypto-common v0.1.6
112
- Compiling digest v0.10.7
177
+ Compiling block-buffer v0.10.4
113
178
  Compiling num-bigint v0.4.6
179
+ Compiling digest v0.10.7
114
180
  Compiling sha2 v0.10.9
115
181
  Compiling syn v2.0.108
116
182
  Compiling darling_core v0.21.3
@@ -118,8 +184,8 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
118
184
  Compiling macro-string v0.1.4
119
185
  Compiling serde_derive v1.0.228
120
186
  Compiling cfg_eval v0.1.2
121
- Compiling num-derive v0.4.2
122
187
  Compiling thiserror-impl v1.0.69
188
+ Compiling num-derive v0.4.2
123
189
  Compiling bytes-lit v0.0.5
124
190
  Compiling visibility v0.1.1
125
191
  Compiling common-macros v0.0.1 (/workspace/contracts/protocol/stellar/contracts/common-macros)
@@ -143,7 +209,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
143
209
  Compiling soroban-env-guest v25.0.1
144
210
  Compiling utils v0.0.1 (/workspace/contracts/protocol/stellar/contracts/utils)
145
211
  Compiling endpoint-v2 v0.0.1 (/workspace/contracts/protocol/stellar/contracts/endpoint-v2)
146
- Finished `release` profile [optimized] target(s) in 33.48s
212
+ Finished `release` profile [optimized] target(s) in 32.28s
147
213
  ℹ️ Build Summary:
148
214
  Wasm File: target/wasm32v1-none/release/endpoint_v2.wasm (59457 bytes)
149
215
  Wasm Hash: 0f3336cb82c088d8430af0b9110c309baa6c2eade24e65d35b16650d197d1592
@@ -216,8 +282,8 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
216
282
  Compiling escape-bytes v0.1.1
217
283
  Compiling static_assertions v1.1.0
218
284
  Compiling ethnum v1.5.2
219
- Compiling num-traits v0.2.19
220
285
  Compiling stable_deref_trait v1.2.1
286
+ Compiling num-traits v0.2.19
221
287
  Compiling data-encoding v2.9.0
222
288
  Compiling cfg-if v1.0.4
223
289
  Compiling stellar-xdr v25.0.0
@@ -232,7 +298,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
232
298
  Compiling message-lib-common v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/message-lib-common)
233
299
  Compiling uln302 v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/uln-302)
234
300
  Compiling layerzero-views v0.0.1 (/workspace/contracts/protocol/stellar/contracts/layerzero-views)
235
- Finished `release` profile [optimized] target(s) in 12.40s
301
+ Finished `release` profile [optimized] target(s) in 9.17s
236
302
  ℹ️ Build Summary:
237
303
  Wasm File: target/wasm32v1-none/release/layerzero_views.wasm (36531 bytes)
238
304
  Wasm Hash: e1191bc282426547ae9c65f4188a69678b16897bcd40c548ff9940650470c409
@@ -265,7 +331,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
265
331
  ℹ️ CARGO_BUILD_RUSTFLAGS=--remap-path-prefix=/cache/cargo/registry/src= cargo rustc --manifest-path=contracts/message-libs/uln-302/Cargo.toml --crate-type=cdylib --target=wasm32v1-none --release
266
332
  Compiling message-lib-common v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/message-lib-common)
267
333
  Compiling uln302 v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/uln-302)
268
- Finished `release` profile [optimized] target(s) in 1.14s
334
+ Finished `release` profile [optimized] target(s) in 1.11s
269
335
  ℹ️ Build Summary:
270
336
  Wasm File: target/wasm32v1-none/release/uln302.wasm (60571 bytes)
271
337
  Wasm Hash: e5a97c9d7e69b9c03a9ba3b415c069d07a9b5282737921ba1f4a99b256510ab9
@@ -325,7 +391,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
325
391
 
326
392
  ℹ️ CARGO_BUILD_RUSTFLAGS=--remap-path-prefix=/cache/cargo/registry/src= cargo rustc --manifest-path=contracts/message-libs/blocked-message-lib/Cargo.toml --crate-type=cdylib --target=wasm32v1-none --release
327
393
  Compiling blocked-message-lib v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/blocked-message-lib)
328
- Finished `release` profile [optimized] target(s) in 0.31s
394
+ Finished `release` profile [optimized] target(s) in 0.30s
329
395
  ℹ️ Build Summary:
330
396
  Wasm File: target/wasm32v1-none/release/blocked_message_lib.wasm (15398 bytes)
331
397
  Wasm Hash: 0a8ee862d5fa45a3dca9c2dc8ba111b83e9ab333a78d89273ae0a111211445d1
@@ -342,7 +408,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
342
408
 
343
409
  ℹ️ CARGO_BUILD_RUSTFLAGS=--remap-path-prefix=/cache/cargo/registry/src= cargo rustc --manifest-path=contracts/message-libs/simple-message-lib/Cargo.toml --crate-type=cdylib --target=wasm32v1-none --release
344
410
  Compiling simple-message-lib v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/simple-message-lib)
345
- Finished `release` profile [optimized] target(s) in 0.50s
411
+ Finished `release` profile [optimized] target(s) in 0.49s
346
412
  ℹ️ Build Summary:
347
413
  Wasm File: target/wasm32v1-none/release/simple_message_lib.wasm (30929 bytes)
348
414
  Wasm Hash: 05c2d9b85bb8fd0c3f7039961b591e38c97355385b787ba2329ca61c691fd423
@@ -383,7 +449,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
383
449
 
384
450
  ℹ️ CARGO_BUILD_RUSTFLAGS=--remap-path-prefix=/cache/cargo/registry/src= cargo rustc --manifest-path=contracts/message-libs/treasury/Cargo.toml --crate-type=cdylib --target=wasm32v1-none --release
385
451
  Compiling treasury v0.0.1 (/workspace/contracts/protocol/stellar/contracts/message-libs/treasury)
386
- Finished `release` profile [optimized] target(s) in 0.46s
452
+ Finished `release` profile [optimized] target(s) in 0.45s
387
453
  ℹ️ Build Summary:
388
454
  Wasm File: target/wasm32v1-none/release/treasury.wasm (29508 bytes)
389
455
  Wasm Hash: 0eb3a9c49b66b4af26b0a95337a334b31d981a89258d0fbe0b8d7390a36fc2aa
@@ -416,11 +482,11 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
416
482
  Compiling oapp-macros v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/oapp-macros)
417
483
  Compiling oapp v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/oapp)
418
484
  Compiling counter v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/counter)
419
- Finished `release` profile [optimized] target(s) in 1.32s
485
+ Finished `release` profile [optimized] target(s) in 1.33s
420
486
  ℹ️ Build Summary:
421
- Wasm File: target/wasm32v1-none/release/counter.wasm (51635 bytes)
422
- Wasm Hash: 2d914cc745ddd8862e9e2bba7ef9a65bea17f53ce3eeac8ac6babd0ab66191d1
423
- Wasm Size: 51635 bytes
487
+ Wasm File: target/wasm32v1-none/release/counter.wasm (51636 bytes)
488
+ Wasm Hash: 30621500ebb1c345cbae764389880af8b09f964663de4dc8920af137e0d1951e
489
+ Wasm Size: 51636 bytes
424
490
  Exported Functions: 46 found
425
491
  • __constructor
426
492
  • accept_ownership
@@ -474,7 +540,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
474
540
  Compiling fee-lib-interfaces v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/fee-lib-interfaces)
475
541
  Compiling worker v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/worker)
476
542
  Compiling dvn v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/dvn)
477
- Finished `release` profile [optimized] target(s) in 1.18s
543
+ Finished `release` profile [optimized] target(s) in 1.17s
478
544
  ℹ️ Build Summary:
479
545
  Wasm File: target/wasm32v1-none/release/dvn.wasm (56968 bytes)
480
546
  Wasm Hash: 0b95d8f0155be47dec46abd2914d176eb571e37e7db011c76517dbfdbb56b093
@@ -534,7 +600,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
534
600
  ℹ️ CARGO_BUILD_RUSTFLAGS=--remap-path-prefix=/cache/cargo/registry/src= cargo rustc --manifest-path=contracts/workers/dvn-fee-lib/Cargo.toml --crate-type=cdylib --target=wasm32v1-none --release
535
601
  Compiling fee-lib-interfaces v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/fee-lib-interfaces)
536
602
  Compiling dvn-fee-lib v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/dvn-fee-lib)
537
- Finished `release` profile [optimized] target(s) in 0.60s
603
+ Finished `release` profile [optimized] target(s) in 0.61s
538
604
  ℹ️ Build Summary:
539
605
  Wasm File: target/wasm32v1-none/release/dvn_fee_lib.wasm (22523 bytes)
540
606
  Wasm Hash: 002118d4c869e210b4f7400541ebe3641ddbe39f43de5cb342b763f1a617c758
@@ -619,7 +685,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
619
685
 
620
686
  ℹ️ CARGO_BUILD_RUSTFLAGS=--remap-path-prefix=/cache/cargo/registry/src= cargo rustc --manifest-path=contracts/workers/executor-fee-lib/Cargo.toml --crate-type=cdylib --target=wasm32v1-none --release
621
687
  Compiling executor-fee-lib v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/executor-fee-lib)
622
- Finished `release` profile [optimized] target(s) in 0.44s
688
+ Finished `release` profile [optimized] target(s) in 0.43s
623
689
  ℹ️ Build Summary:
624
690
  Wasm File: target/wasm32v1-none/release/executor_fee_lib.wasm (35404 bytes)
625
691
  Wasm Hash: 8f42a35df1173387ba2c5ffe34384b3e4517ce4ec11df13db67d5f2211267cf9
@@ -649,7 +715,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
649
715
  Compiling worker v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/worker)
650
716
  Compiling executor v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/executor)
651
717
  Compiling executor-helper v0.0.1 (/workspace/contracts/protocol/stellar/contracts/workers/executor-helper)
652
- Finished `release` profile [optimized] target(s) in 1.00s
718
+ Finished `release` profile [optimized] target(s) in 1.02s
653
719
  ℹ️ Build Summary:
654
720
  Wasm File: target/wasm32v1-none/release/executor_helper.wasm (25861 bytes)
655
721
  Wasm Hash: 0b467a6655e22fdc3bb5d7ca32c3df86fe38a5856570be78f07c1cac18ccc6cd
@@ -706,10 +772,10 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
706
772
  ℹ️ CARGO_BUILD_RUSTFLAGS=--remap-path-prefix=/cache/cargo/registry/src= cargo rustc --manifest-path=contracts/oapps/oft/Cargo.toml --crate-type=cdylib --target=wasm32v1-none --release
707
773
  Compiling oft-core v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/oft-core)
708
774
  Compiling oft v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/oft)
709
- Finished `release` profile [optimized] target(s) in 1.32s
775
+ Finished `release` profile [optimized] target(s) in 1.35s
710
776
  ℹ️ Build Summary:
711
777
  Wasm File: target/wasm32v1-none/release/oft.wasm (77408 bytes)
712
- Wasm Hash: d340bee86aa81c18615d60a711d6a8eeffa3e1671b82e47858b95d93b83a1973
778
+ Wasm Hash: 74e4275f33ec47f4843dfd81d8e96e41155c269dd4122faba70a31dbc9cf4ae3
713
779
  Wasm Size: 77408 bytes
714
780
  Exported Functions: 61 found
715
781
  • __constructor
@@ -777,7 +843,7 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
777
843
 
778
844
  ℹ️ CARGO_BUILD_RUSTFLAGS=--remap-path-prefix=/cache/cargo/registry/src= cargo rustc --manifest-path=contracts/oapps/sac-manager/Cargo.toml --crate-type=cdylib --target=wasm32v1-none --release
779
845
  Compiling sac-manager v0.0.1 (/workspace/contracts/protocol/stellar/contracts/oapps/sac-manager)
780
- Finished `release` profile [optimized] target(s) in 0.45s
846
+ Finished `release` profile [optimized] target(s) in 0.46s
781
847
  ℹ️ Build Summary:
782
848
  Wasm File: target/wasm32v1-none/release/sac_manager.wasm (23520 bytes)
783
849
  Wasm Hash: aa38e04ee0060ed167a7e944ff54f92a9b508c36097a26fa2a5eb522fc070278
@@ -813,24 +879,23 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
813
879
  • underlying_sac
814
880
  ✅ Build Complete
815
881
 
816
- ⏱️ stellar contract build: 1:11.717 (m:ss.mmm)
882
+ ⏱️ stellar contract build: 1:08.334 (m:ss.mmm)
817
883
   WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
818
884
 
819
885
  > @layerzerolabs/protocol-stellar-v2@0.0.1 generate:sdk /home/runner/work/monorepo-internal/monorepo-internal/contracts/protocol/stellar
820
- > pnpm exec lz-tool --script "cargo run -p ts-bindings-gen" stellar
886
+ > stellar-ts-bindings-gen --config ts-bindings-gen.toml
821
887
 
822
-  WARN  Issue while reading "/home/runner/work/monorepo-internal/monorepo-internal/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
823
888
  🔧 Syncing Rust toolchain: rustup toolchain install 1.90.0 --target wasm32v1-none --component rustfmt --component clippy
824
889
  📦 Using 4 default cache volume(s) for stellar
825
890
  🔧 User volumes override 1 default volume(s)
826
891
  ✅ stellar-25.1.0 (Latest stable release)
827
892
  🔧 stellar version: 25.1.0
828
- (node:35301) [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.
893
+ (node:35031) [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.
829
894
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
830
895
  To eliminate this warning, add "type": "module" to /home/runner/work/monorepo-internal/monorepo-internal/package.json.
831
896
  (Use `node --trace-warnings ...` to show where the warning was created)
832
897
  $ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
833
- sha256:4d166776a6d1059504deff32a84797694e40f4d6858aaec2965c5815bcc10991
898
+ sha256:314e086933eed3b936567f54f10bcac74de514b93d4841d04eca14b97756d33b
834
899
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
835
900
  👤 Running container as UID:GID 1001:1001
836
901
  🌍 Using 5 default environment variable(s) for stellar
@@ -846,185 +911,122 @@ info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
846
911
  1.90.0-x86_64-unknown-linux-gnu unchanged - rustc 1.90.0 (1159e78c4 2025-09-14)
847
912
 
848
913
  info: checking for self-update
849
- ⏱️ bash -c mkdir -p $CARGO_HOME/bin && ln -sf /usr/local/cargo/bin/rustup $CARGO_HOME/bin/rustup && rustup toolchain install 1.90.0 --target wasm32v1-none --component rustfmt --component clippy: 490.185ms
914
+ ⏱️ bash -c mkdir -p $CARGO_HOME/bin && ln -sf /usr/local/cargo/bin/rustup $CARGO_HOME/bin/rustup && rustup toolchain install 1.90.0 --target wasm32v1-none --component rustfmt --component clippy: 577.654ms
850
915
  🔓 Released lock for @layerzerolabs/protocol-stellar-v2 at /home/runner/.cache/vm-tooling/locks/stellar-rustup
851
916
  📦 Using 4 default cache volume(s) for stellar
852
917
  ✅ stellar-25.1.0 (Latest stable release)
853
918
  🔧 stellar version: 25.1.0
854
919
  $ docker image inspect --format {{.Id}} 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
855
- sha256:4d166776a6d1059504deff32a84797694e40f4d6858aaec2965c5815bcc10991
920
+ sha256:314e086933eed3b936567f54f10bcac74de514b93d4841d04eca14b97756d33b
856
921
  ✅ Using cached Docker image: 438003944538.dkr.ecr.us-east-1.amazonaws.com/layerzerolabs/stellar-tooling:stellar_25.1.0
857
922
  👤 Running container as UID:GID 1001:1001
858
923
  🌍 Using 5 default environment variable(s) for stellar
859
- 📜 Executing custom script: cargo run -p ts-bindings-gen
860
- $ docker run --rm -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 bash -c $'cargo run -p ts-bindings-gen'
861
- Compiling proc-macro2 v1.0.103
862
- Compiling unicode-ident v1.0.22
863
- Compiling quote v1.0.41
864
- Compiling serde_json v1.0.145
865
- Compiling version_check v0.9.5
866
- Compiling typenum v1.19.0
867
- Compiling serde_core v1.0.228
868
- Compiling serde v1.0.228
869
- Compiling memchr v2.7.6
870
- Compiling ryu v1.0.20
871
- Compiling itoa v1.0.15
872
- Compiling strsim v0.11.1
873
- Compiling ident_case v1.0.1
874
- Compiling fnv v1.0.7
875
- Compiling schemars v0.8.22
876
- Compiling generic-array v0.14.9
877
- Compiling dyn-clone v1.0.20
878
- Compiling cpufeatures v0.2.17
879
- Compiling cfg-if v1.0.4
880
- Compiling data-encoding v2.9.0
881
- Compiling equivalent v1.0.2
882
- Compiling thiserror v1.0.69
883
- Compiling hashbrown v0.16.0
884
- Compiling base64 v0.22.1
885
- Compiling semver v1.0.27
886
- Compiling prettyplease v0.2.37
887
- Compiling ethnum v1.5.2
888
- Compiling escape-bytes v0.1.1
889
- Compiling opaque-debug v0.3.1
890
- Compiling indexmap v2.12.0
891
- Compiling either v1.15.0
892
- Compiling anyhow v1.0.100
893
- Compiling glob v0.3.3
894
- Compiling base64 v0.21.7
895
- Compiling heck v0.4.1
896
- Compiling itertools v0.10.5
897
- Compiling wasmparser v0.116.1
898
- Compiling block-buffer v0.10.4
899
- Compiling crypto-common v0.1.6
900
- Compiling digest v0.9.0
901
- Compiling block-buffer v0.9.0
902
- Compiling digest v0.10.7
903
- Compiling sha2 v0.9.9
904
- Compiling sha2 v0.10.9
905
- Compiling syn v2.0.108
906
- Compiling include_dir_macros v0.7.4
907
- Compiling include_dir v0.7.4
908
- Compiling darling_core v0.21.3
909
- Compiling serde_derive v1.0.228
910
- Compiling cfg_eval v0.1.2
911
- Compiling thiserror-impl v1.0.69
912
- Compiling crate-git-revision v0.0.6
913
- Compiling darling_macro v0.21.3
914
- Compiling stellar-strkey v0.0.13
915
- Compiling stellar-xdr v25.0.0
916
- Compiling hex v0.4.3
917
- Compiling darling v0.21.3
918
- Compiling serde_with_macros v3.15.1
919
- Compiling serde_with v3.15.1
920
- Compiling soroban-spec v25.1.1
921
- Compiling soroban-spec-typescript v25.1.0
922
- Compiling ts-bindings-gen v0.0.1 (/workspace/contracts/protocol/stellar/tools/ts-bindings-gen)
923
- Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.56s
924
- Running `target/debug/ts-bindings-gen`
925
- 🚀 Generating TypeScript bindings for Stellar contracts...
924
+ 📜 Executing custom script: cargo run --manifest-path ../../../packages/vms/stellar/ts-bindings-gen/Cargo.toml -- --config ts-bindings-gen.toml
925
+ $ docker run --rm -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 bash -c $'cargo run --manifest-path ../../../packages/vms/stellar/ts-bindings-gen/Cargo.toml -- --config ts-bindings-gen.toml'
926
+ Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s
927
+ Running `/workspace/packages/vms/stellar/ts-bindings-gen/target/debug/stellar-ts-bindings-gen --config ts-bindings-gen.toml`
928
+ Generating TypeScript bindings for 16 contract(s)...
926
929
 
927
- 📦 Processing contract: endpoint_v2
930
+ Processing contract: endpoint_v2
928
931
  WASM: target/wasm32v1-none/release/endpoint_v2.wasm
929
932
  Output: sdk/src/generated/endpoint.ts
930
933
  WASM size: 59457 bytes (58.06 KB)
931
934
  Generating bindings...
932
- Generated: sdk/src/generated/endpoint.ts
933
- 📦 Processing contract: simple_message_lib
935
+ Generated: sdk/src/generated/endpoint.ts
936
+ Processing contract: simple_message_lib
934
937
  WASM: target/wasm32v1-none/release/simple_message_lib.wasm
935
938
  Output: sdk/src/generated/sml.ts
936
939
  WASM size: 30929 bytes (30.20 KB)
937
940
  Generating bindings...
938
- Generated: sdk/src/generated/sml.ts
939
- 📦 Processing contract: blocked_message_lib
941
+ Generated: sdk/src/generated/sml.ts
942
+ Processing contract: blocked_message_lib
940
943
  WASM: target/wasm32v1-none/release/blocked_message_lib.wasm
941
944
  Output: sdk/src/generated/bml.ts
942
945
  WASM size: 15398 bytes (15.04 KB)
943
946
  Generating bindings...
944
- Generated: sdk/src/generated/bml.ts
945
- 📦 Processing contract: uln302
947
+ Generated: sdk/src/generated/bml.ts
948
+ Processing contract: uln302
946
949
  WASM: target/wasm32v1-none/release/uln302.wasm
947
950
  Output: sdk/src/generated/uln302.ts
948
951
  WASM size: 60571 bytes (59.15 KB)
949
952
  Generating bindings...
950
- Generated: sdk/src/generated/uln302.ts
951
- 📦 Processing contract: treasury
953
+ Generated: sdk/src/generated/uln302.ts
954
+ Processing contract: treasury
952
955
  WASM: target/wasm32v1-none/release/treasury.wasm
953
956
  Output: sdk/src/generated/treasury.ts
954
957
  WASM size: 29508 bytes (28.82 KB)
955
958
  Generating bindings...
956
- Generated: sdk/src/generated/treasury.ts
957
- 📦 Processing contract: upgrader
959
+ Generated: sdk/src/generated/treasury.ts
960
+ Processing contract: upgrader
958
961
  WASM: target/wasm32v1-none/release/upgrader.wasm
959
962
  Output: sdk/src/generated/upgrader.ts
960
963
  WASM size: 7575 bytes (7.40 KB)
961
964
  Generating bindings...
962
- Generated: sdk/src/generated/upgrader.ts
963
- 📦 Processing contract: dvn
965
+ Generated: sdk/src/generated/upgrader.ts
966
+ Processing contract: dvn
964
967
  WASM: target/wasm32v1-none/release/dvn.wasm
965
968
  Output: sdk/src/generated/dvn.ts
966
969
  WASM size: 56968 bytes (55.63 KB)
967
970
  Generating bindings...
968
- Generated: sdk/src/generated/dvn.ts
969
- 📦 Processing contract: dvn_fee_lib
971
+ Generated: sdk/src/generated/dvn.ts
972
+ Processing contract: dvn_fee_lib
970
973
  WASM: target/wasm32v1-none/release/dvn_fee_lib.wasm
971
974
  Output: sdk/src/generated/dvn_fee_lib.ts
972
975
  WASM size: 22523 bytes (22.00 KB)
973
976
  Generating bindings...
974
- Generated: sdk/src/generated/dvn_fee_lib.ts
975
- 📦 Processing contract: executor
977
+ Generated: sdk/src/generated/dvn_fee_lib.ts
978
+ Processing contract: executor
976
979
  WASM: target/wasm32v1-none/release/executor.wasm
977
980
  Output: sdk/src/generated/executor.ts
978
981
  WASM size: 59292 bytes (57.90 KB)
979
982
  Generating bindings...
980
- Generated: sdk/src/generated/executor.ts
981
- 📦 Processing contract: executor_fee_lib
983
+ Generated: sdk/src/generated/executor.ts
984
+ Processing contract: executor_fee_lib
982
985
  WASM: target/wasm32v1-none/release/executor_fee_lib.wasm
983
986
  Output: sdk/src/generated/executor_fee_lib.ts
984
987
  WASM size: 35404 bytes (34.57 KB)
985
988
  Generating bindings...
986
- Generated: sdk/src/generated/executor_fee_lib.ts
987
- 📦 Processing contract: executor_helper
989
+ Generated: sdk/src/generated/executor_fee_lib.ts
990
+ Processing contract: executor_helper
988
991
  WASM: target/wasm32v1-none/release/executor_helper.wasm
989
992
  Output: sdk/src/generated/executor_helper.ts
990
993
  WASM size: 25861 bytes (25.25 KB)
991
994
  Generating bindings...
992
- Generated: sdk/src/generated/executor_helper.ts
993
- 📦 Processing contract: price_feed
995
+ Generated: sdk/src/generated/executor_helper.ts
996
+ Processing contract: price_feed
994
997
  WASM: target/wasm32v1-none/release/price_feed.wasm
995
998
  Output: sdk/src/generated/price_feed.ts
996
999
  WASM size: 33612 bytes (32.82 KB)
997
1000
  Generating bindings...
998
- Generated: sdk/src/generated/price_feed.ts
999
- 📦 Processing contract: counter
1001
+ Generated: sdk/src/generated/price_feed.ts
1002
+ Processing contract: counter
1000
1003
  WASM: target/wasm32v1-none/release/counter.wasm
1001
1004
  Output: sdk/src/generated/counter.ts
1002
- WASM size: 51635 bytes (50.42 KB)
1005
+ WASM size: 51636 bytes (50.43 KB)
1003
1006
  Generating bindings...
1004
- Generated: sdk/src/generated/counter.ts
1005
- 📦 Processing contract: oft
1007
+ Generated: sdk/src/generated/counter.ts
1008
+ Processing contract: oft
1006
1009
  WASM: target/wasm32v1-none/release/oft.wasm
1007
1010
  Output: sdk/src/generated/oft.ts
1008
1011
  WASM size: 77408 bytes (75.59 KB)
1009
1012
  Generating bindings...
1010
- Generated: sdk/src/generated/oft.ts
1011
- 📦 Processing contract: sac_manager
1013
+ Generated: sdk/src/generated/oft.ts
1014
+ Processing contract: sac_manager
1012
1015
  WASM: target/wasm32v1-none/release/sac_manager.wasm
1013
1016
  Output: sdk/src/generated/sac_manager.ts
1014
1017
  WASM size: 23520 bytes (22.97 KB)
1015
1018
  Generating bindings...
1016
- Generated: sdk/src/generated/sac_manager.ts
1017
- 📦 Processing contract: layerzero_views
1019
+ Generated: sdk/src/generated/sac_manager.ts
1020
+ Processing contract: layerzero_views
1018
1021
  WASM: target/wasm32v1-none/release/layerzero_views.wasm
1019
1022
  Output: sdk/src/generated/layerzero_view.ts
1020
1023
  WASM size: 36531 bytes (35.67 KB)
1021
1024
  Generating bindings...
1022
- Generated: sdk/src/generated/layerzero_view.ts
1025
+ Generated: sdk/src/generated/layerzero_view.ts
1023
1026
 
1024
- TypeScript binding generation complete!
1025
- Generated 16 contract(s) with embedded WASM
1027
+ TypeScript binding generation complete! Generated 16 contract(s) with embedded WASM
1026
1028
 
1027
- 📦 Generated files in sdk/src/generated/:
1029
+ Generated files in sdk/src/generated:
1028
1030
  - endpoint.ts
1029
1031
  - sml.ts
1030
1032
  - bml.ts
@@ -1041,4 +1043,4 @@ $ docker run --rm -e RUSTC_WRAPPER=/usr/local/bin/sccache -e CARGO_TARGET_X86_64
1041
1043
  - oft.ts
1042
1044
  - sac_manager.ts
1043
1045
  - layerzero_view.ts
1044
- ⏱️ bash -c cargo run -p ts-bindings-gen: 41.930s
1046
+ ⏱️ bash -c cargo run --manifest-path ../../../packages/vms/stellar/ts-bindings-gen/Cargo.toml -- --config ts-bindings-gen.toml: 426.466ms