-
Notifications
You must be signed in to change notification settings - Fork 57
Stellar XDR roundtrip tests #257
Copy link
Copy link
Open
Labels
Stellar WaveDrips Wave program issueDrips Wave program issuearea:sdkTypeScript SDKTypeScript SDKarea:testsTesting and coverageTesting and coveragedifficulty:easy~1-3 hours~1-3 hoursgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Metadata
Metadata
Assignees
Labels
Stellar WaveDrips Wave program issueDrips Wave program issuearea:sdkTypeScript SDKTypeScript SDKarea:testsTesting and coverageTesting and coveragedifficulty:easy~1-3 hours~1-3 hoursgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
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