Skip to content

Bump go-stellar-sdk to pick up XDR asset ordering fix - #218

Merged
karthikiyer56 merged 1 commit into
mainfrom
karthik/bump-go-sdk-asset-ordering
Aug 7, 2026
Merged

karthikiyer56 merged 1 commit into
mainfrom
karthik/bump-go-sdk-asset-ordering

Conversation

@karthikiyer56

Copy link
Copy Markdown
Contributor

What

  • Bumps go-stellar-sdk from v0.7.0 to v0.7.2-0.20260806235222-d2f530f4327b (pseudo-version pinning the merge commit of go-stellar-sdk#5974, no tag contains it yet).
  • Carries the go-xdr bump that PR requires: v0.0.0-20260806060815-dc590f17552a.

Why

  • go-stellar-sdk#5974 fixes Asset.LessThan to compare assets by their XDR encoding (raw 32-byte issuer key) instead of base32 strkey text.
  • It also switches the token_transfer processor to value-based asset equality, so trustline revocation burns the correct liquidity pool leg.

Verification

  • go build ./... passes.
  • go test ./internal/ingest/... ./internal/db2/history/... passes (covers the processors affected by the SDK's asset-comparison changes).

🤖 Generated with Claude Code

Picks up stellar/go-stellar-sdk#5974, which fixes Asset.LessThan to
compare assets by their XDR encoding (raw issuer key) instead of strkey
text, and switches the token_transfer processor to value-based asset
equality so trustline revocation burns the correct liquidity pool leg.
Also carries the required go-xdr bump to
v0.0.0-20260806060815-dc590f17552a.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings August 6, 2026 23:57

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 Stellar dependencies to incorporate corrected XDR asset ordering and value-based liquidity-pool asset comparison.

Changes:

  • Pins go-stellar-sdk to the merge commit containing the fixes.
  • Updates the required go-xdr pseudo-version and checksums.

Reviewed changes

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

File Description
go.mod Updates Stellar SDK and XDR dependency versions.
go.sum Refreshes checksums for the updated modules.

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

@karthikiyer56
karthikiyer56 requested a review from a team August 7, 2026 01:00
@karthikiyer56
karthikiyer56 merged commit ef184f8 into main Aug 7, 2026
19 checks passed
@karthikiyer56
karthikiyer56 deleted the karthik/bump-go-sdk-asset-ordering branch August 7, 2026 01:43
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