Skip to content

Fix backend quote ID on trade execute#434

Merged
kome12 merged 1 commit into
mainfrom
fix-cli-backend-quote-id
May 15, 2026
Merged

Fix backend quote ID on trade execute#434
kome12 merged 1 commit into
mainfrom
fix-cli-backend-quote-id

Conversation

@MarcLlopart

@MarcLlopart MarcLlopart commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Prefer the saved backend quote id from quote response metadata when sending trade execute requests.
  • Keep aggregator quote metadata as a fallback for older or partial quote payloads.
  • Add execute request assertions for gasless, EVM Relay, backend-id precedence, and fallback behavior.

Checklist

  • Tests pass (npm test)
  • src/schema.json updated if new commands or flags were added
  • README.md updated if new top-level commands or categories were added
  • Changeset added (.changeset/) — only required for user-facing changes (new commands, flags, bug fixes, breaking changes)

Notes: targeted tests passed with npm test -- src/__tests__/trading.test.js, and npm run lint passed. No schema, README, or changeset update was needed for this correction.

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@MarcLlopart
MarcLlopart marked this pull request as ready for review May 15, 2026 07:44
@kome12
kome12 merged commit b88404b into main May 15, 2026
7 checks passed
@kome12
kome12 deleted the fix-cli-backend-quote-id branch May 15, 2026 08:14
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.

2 participants