Skip to content

Stellar XDR roundtrip tests #257

@Miracle656

Description

@Miracle656

Background

SDK builds transactions, signs, and submits — but never verifies that an encoded TX decodes back to the same fields. Roundtrip tests would catch subtle bugs.

What to build

For each transaction builder helper, encode → decode → assert deep equality on the operations array.

Key files

  • sdk/tests/xdr-roundtrip.test.ts (new)

Acceptance criteria

  • One roundtrip per builder helper
  • All pass

Drips Wave · Complexity: Easy · 100 points

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions