Skip to content

Point stellar-xdr at the ungated rev - #23

Merged
sisuresh merged 2 commits into
stellar:mainfrom
sisuresh:bump-stellar-xdr-ungated
Jul 29, 2026
Merged

Point stellar-xdr at the ungated rev#23
sisuresh merged 2 commits into
stellar:mainfrom
sisuresh:bump-stellar-xdr-ungated

Conversation

@sisuresh

@sisuresh sisuresh commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

stellar-core's checkXDRFileIdentity compares this crate's XDR_FILES_SHA256 against the current soroban host's. Core is bumping to protocol 28 (stellar/stellar-core#5397), whose host pins stellar-xdr by git rev, so the published 27.0.0 crate no longer matches — Stellar-contract.x hashes 5d8063e6 here vs b87e9474 there — and core aborts at startup.

Pins the same git rev (stellar/rs-stellar-xdr#565, where CAP-0083 and CAP-0085 were ungated) so the hashes agree. Reverts to a plain version pin once rs-stellar-xdr publishes a release carrying those changes.

Second commit is unrelated: clippy::for_kv_map at src/fbas.rs:265 has failed on main since 2026-07-09 (it only fires on the newer clippy CI uses). Fixed here so this PR can go green.

stellar-core's checkXDRFileIdentity compares this crate's
XDR_FILES_SHA256 against the current soroban host's. Core is bumping to
protocol 28, whose host pins stellar-xdr by git rev, so the published
27.0.0 crate no longer matches: Stellar-contract.x hashes 5d8063e6 here
versus b87e9474 there, and core aborts at startup.

Pin the same git rev (stellar/rs-stellar-xdr#565, where CAP-0083 and
CAP-0085 were ungated) so the hashes agree. This reverts to a plain
version pin once rs-stellar-xdr publishes a release carrying those
changes.
Copilot AI review requested due to automatic review settings July 29, 2026 23:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins stellar-xdr to the protocol-28-compatible revision so XDR identity hashes match stellar-core.

Changes:

  • Replaces the registry dependency with the matching Git revision.
  • Updates lockfile sources and transitive dependencies.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
Cargo.toml Pins stellar-xdr to revision 3305b3e.
Cargo.lock Records the Git source and updated build dependency.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Unrelated to the xdr bump: this lint has failed on main since 2026-07-09,
because it only fires on the newer clippy CI uses. Fixing it here so this
PR can go green. Applies clippy's own suggestion; the loop never used the
value.
@sisuresh
sisuresh merged commit 502a354 into stellar:main Jul 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants