Skip to content

feat(transaction-pay-controller): alternate relay deposit types#7947

Open
matthewwalsh0 wants to merge 3 commits intomainfrom
feat/split-relay-deposit-types
Open

feat(transaction-pay-controller): alternate relay deposit types#7947
matthewwalsh0 wants to merge 3 commits intomainfrom
feat/split-relay-deposit-types

Conversation

@matthewwalsh0
Copy link
Member

@matthewwalsh0 matthewwalsh0 commented Feb 17, 2026

Explanation

Replace relayDeposit transaction type with predictRelayDeposit or perpsRelayDeposit based on the parent transaction type (predictDeposit or perpsDeposit). Falls back to relayDeposit for unmapped parent types.

References

N/A

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

Note

Medium Risk
Touches transaction classification used during Relay submission (including batch/post-quote paths), which can affect downstream tracking/metrics if consumers don’t handle the new TransactionType values correctly.

Overview
Relay deposit transactions created by transaction-pay-controller are now typed based on their parent flow: predictDeposit maps to predictRelayDeposit and perpsDeposit maps to perpsRelayDeposit, with a fallback to relayDeposit for all other parents.

This introduces two new TransactionType enum values in transaction-controller, adds a RELAY_DEPOSIT_TYPES mapping used by relay-submit.ts (including in batched and post-quote flows), and expands the Relay submit tests/changelogs to cover the new behavior.

Written by Cursor Bugbot for commit c912fee. This will update automatically on new commits. Configure here.

@matthewwalsh0 matthewwalsh0 changed the title Add alternate relay deposit types feat(transaction-pay-controller): alternate relay deposit types Feb 17, 2026
@matthewwalsh0 matthewwalsh0 force-pushed the feat/split-relay-deposit-types branch from 48e4408 to 9bb4168 Compare February 17, 2026 00:26
@matthewwalsh0 matthewwalsh0 marked this pull request as ready for review February 17, 2026 00:36
@matthewwalsh0 matthewwalsh0 requested review from a team as code owners February 17, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant