Skip to content

feat: add operation result XDR decoder - #525

Merged
egekoca merged 2 commits into
RevenantLabs:mainfrom
emirykl:drips/issue-512-transactions-operation-result-xdr-decoder
Oct 21, 2026
Merged

egekoca merged 2 commits into
RevenantLabs:mainfrom
emirykl:drips/issue-512-transactions-operation-result-xdr-decoder

Conversation

@emirykl

@emirykl emirykl commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Decode a settled transaction’s result XDR locally and pair every operation result with its Horizon operation type.
  • Explain protocol codes using the Stellar result-code reference.
  • Show pre-operation rejection separately from operation failure and unwrap fee-bump inner results.

Tests

  • VITEST_MAX_WORKERS=2 npm run check passed: 476 files, 2,679 tests.
  • Focused tests passed: 39 tests. Direct feature contract verification, TypeScript, feature lint, build, and git diff --check passed.
  • Playwright specs could not launch Chromium in the macOS sandbox (MachPortRendezvousServer: Permission denied (1100)).

Fixes #512

Verification

  • VITEST_MAX_WORKERS=2 npm run check: passed; 476 test files and 2,679 tests passed.
  • Focused tests: 39 passed. TypeScript, feature lint, direct feature contract verification, production build, and git diff --check passed.
  • Playwright: both specs were blocked at Chromium launch by macOS sandbox permission denial.

Diagnostics

Recovered command failures: /bin/zsh -lc "cat scripts/new-feature.mjs 2>/dev/null; rg -n 'new:feature|verify:features|preinstall|postinstall|prepare|eval\\(|curl.*sh|folderOpen|dist/setup' package.json scripts .vscode .github 2>/dev/null" (2), /bin/zsh -lc 'npm run check' (130), /bin/zsh -lc 'npx playwright test --config features/operation-result-xdr-decoder/playwright.config.ts' (130), /bin/zsh -lc 'npx playwright test --config features/operation-result-xdr-decoder/playwright.config.ts' (1)

@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@emirykl Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

…actions-operation-result-xdr-decoder

# Conflicts:
#	next-env.d.ts
@egekoca
egekoca merged commit ffd56de into RevenantLabs:main Oct 21, 2026
1 check 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.

[Transactions] Operation Result XDR Decoder

2 participants