Skip to content

Bump stellar-xdr to 27.0.0 - #29

Merged
jayz22 merged 1 commit into
stellar:mainfrom
jayz22:bump-stellar-xdr-27
Jul 16, 2026
Merged

Bump stellar-xdr to 27.0.0#29
jayz22 merged 1 commit into
stellar:mainfrom
jayz22:bump-stellar-xdr-27

Conversation

@jayz22

@jayz22 jayz22 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

What

  • Bump stellar-xdr from 26.0.0 to 27.0.0, renaming stellar_xdr::curr:: paths to stellar_xdr:: (v27 exports all types at the crate root).
  • Add a regression test that parses a tx set whose Soroban auth entry uses the CAP-0071 SOROBAN_CREDENTIALS_ADDRESS_V2 credentials arm.

Why

scan --verify currently reports 28 checkpoints (ledgers 63,401,919–63,479,423) as failed transactions files on all three pubnet archives. The files are valid: they contain CAP-0071 (protocol 27) AddressV2 Soroban credentials — which stellar-xdr 26 cannot decode, so healthy archives are flagged as corrupt.

With this bump, all 28 previously-failing checkpoints verify clean on core_live_001/002/003, and a full sweep of core_live_001 from ledger 63,400,000 to the archive tip (18,904 files) passes with zero failures.

Copilot AI review requested due to automatic review settings July 16, 2026 05:29
@socket-security

socket-security Bot commented Jul 16, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedstellar-xdr@​26.0.0 ⏵ 27.0.093100100100100

View full report

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates XDR support for protocol 27 and CAP-0071 transactions.

Changes:

  • Upgrades stellar-xdr from 26.0.0 to 27.0.0.
  • Migrates imports from stellar_xdr::curr to crate-root exports.
  • Adds regression coverage for AddressV2 Soroban credentials.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Cargo.toml Updates the XDR dependency.
Cargo.lock Locks updated transitive dependencies.
src/xdr_verify.rs Migrates production XDR references.
src/utils.rs Migrates the Hash import.
src/report.rs Migrates the Hash import.
src/tests/xdr_verify_test.rs Adds CAP-0071 parsing coverage and migrates imports.
src/tests/xdr_verification_e2e_test.rs Migrates the test import.
src/tests/utils.rs Migrates test utilities to root exports.
src/tests/report_test.rs Migrates the test import.
src/tests/repair_op_test.rs Migrates repair-test imports.

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

Pubnet transactions files containing CAP-0071
SOROBAN_CREDENTIALS_ADDRESS_V2 credentials (first on-chain use
2026-07-09) fail to decode under stellar-xdr 26, so scan --verify
reported 28 checkpoints as failed transactions files on all three
public archives even though the files are valid.

- stellar-xdr 26.0.0 -> 27.0.0; v27 exports types at the crate root,
  so rename stellar_xdr::curr:: paths to stellar_xdr::
- add a regression test parsing a tx set whose Soroban auth entry
  uses the AddressV2 credentials arm
@jayz22
jayz22 force-pushed the bump-stellar-xdr-27 branch from ad48a17 to 76e29a5 Compare July 16, 2026 05:34
@jayz22 jayz22 changed the title Bump stellar-xdr to 27.0.0 (protocol 27 / CAP-0071) Bump stellar-xdr to 27.0.0 Jul 16, 2026
@jayz22
jayz22 merged commit 2d7e322 into stellar:main Jul 16, 2026
13 checks passed
@jayz22
jayz22 deleted the bump-stellar-xdr-27 branch July 16, 2026 17:00
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