Skip to content

fix(transaction-pay-controller): fund direct mUSD money account deposits atomically#9161

Draft
matthewwalsh0 wants to merge 2 commits into
mainfrom
fix/direct-musd-money-account-relay
Draft

fix(transaction-pay-controller): fund direct mUSD money account deposits atomically#9161
matthewwalsh0 wants to merge 2 commits into
mainfrom
fix/direct-musd-money-account-relay

Conversation

@matthewwalsh0

Copy link
Copy Markdown
Member

Explanation

Direct mUSD fiat quotes for Money Account deposits need to keep Relay quote requests and returned steps canonical while still making the on-ramped mUSD available to the account that Relay quoted from.

This PR marks direct mUSD Money Account quotes explicitly, requires Relay execute for that path, and prepends a delegated Money Account funding transfer during Relay submission. The Relay quote continues to use the account override as the Relay user and the Money Account as the recipient; the returned Relay steps are submitted unchanged after the funding call.

The direct path also forces Relay status polling for same-chain execute quotes, avoiding the generic same-chain fallback hash shortcut for this asynchronous execute flow.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

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.

1 participant