Skip to content

Commit 467ace1

Browse files
patch xdr and spec crates for udt type ids
1 parent 0055a01 commit 467ace1

14 files changed

Lines changed: 275 additions & 110 deletions

File tree

Cargo.lock

Lines changed: 43 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,30 +44,30 @@ path = "cmd/crates/stellar-ledger"
4444

4545
# Dependencies from the rs-stellar-xdr repo:
4646
[workspace.dependencies.stellar-xdr]
47-
version = "27.0.0"
47+
version = "28.0.0"
4848

4949
# Dependencies from the rs-stellar-env repo:
5050
[workspace.dependencies.soroban-env-host]
51-
version = "27.0.1"
51+
version = "28.0.1"
5252

5353
# Dependencies from the rs-soroban-sdk repo:
5454
[workspace.dependencies.soroban-spec]
55-
version = "27.0.2"
55+
version = "27.0.5"
5656

5757
[workspace.dependencies.soroban-spec-rust]
58-
version = "27.0.2"
58+
version = "27.0.5"
5959

6060
[workspace.dependencies.soroban-sdk]
61-
version = "27.0.2"
61+
version = "27.0.5"
6262

6363
[workspace.dependencies.soroban-token-sdk]
64-
version = "27.0.2"
64+
version = "27.0.5"
6565

6666
[workspace.dependencies.stellar-asset-spec]
67-
version = "27.0.2"
67+
version = "27.0.5"
6868

6969
[workspace.dependencies.soroban-ledger-snapshot]
70-
version = "27.0.2"
70+
version = "27.0.5"
7171

7272
# Dependencies from the rs-stellar-rpc-client repo:
7373
[workspace.dependencies.soroban-rpc]
@@ -120,6 +120,23 @@ testcontainers = "0.27.2"
120120
httpmock = "0.7.0"
121121
astral-tokio-tar = "0.6.0"
122122

123+
[patch.crates-io]
124+
# Pending https://github.com/stellar/rs-stellar-xdr/pull/568, which adds
125+
# user-defined type ids and the `ScSpecTypeUdtv2` reference type to the
126+
# contract spec.
127+
stellar-xdr = { git = "https://github.com/stellar/rs-stellar-xdr", rev = "182d524aa0cd34cd1b5d21ab71fbbebbd932939b" }
128+
# Pending the rs-soroban-sdk change that stamps every user-defined type's spec
129+
# entry with an id and marries references up with entries by id.
130+
soroban-spec = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "647dc7f29bc6151e21a2f1791e7954d260180161" }
131+
soroban-spec-rust = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "647dc7f29bc6151e21a2f1791e7954d260180161" }
132+
soroban-sdk = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "647dc7f29bc6151e21a2f1791e7954d260180161" }
133+
soroban-token-sdk = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "647dc7f29bc6151e21a2f1791e7954d260180161" }
134+
stellar-asset-spec = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "647dc7f29bc6151e21a2f1791e7954d260180161" }
135+
soroban-ledger-snapshot = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "647dc7f29bc6151e21a2f1791e7954d260180161" }
136+
# Pending https://github.com/stellar/rs-stellar-rpc-client/pull/108, which
137+
# updates the client to stellar-xdr 28.
138+
stellar-rpc-client = { git = "https://github.com/stellar/rs-stellar-rpc-client", rev = "e0d44a0b97959820e855eb9058e2114ac390c1fa" }
139+
123140
[profile.release]
124141
overflow-checks = true
125142

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ build:
3939
cargo build
4040

4141
build-test-wasms:
42-
cargo build --package 'test_*' --profile test-wasms --target wasm32v1-none
42+
SOROBAN_SDK_BUILD_SYSTEM_SUPPORTS_SPEC_SHAKING_V2=1 cargo build --package 'test_*' --profile test-wasms --target wasm32v1-none
4343

4444
build-test: build-test-wasms build-fixtures install
4545

0 commit comments

Comments
 (0)