Skip to content

Conversation

@matthewwalsh0
Copy link
Member

@matthewwalsh0 matthewwalsh0 commented Jan 9, 2026

Explanation

Temporarily support transactions with no lifecycle, that are only added to the state, and visible in the activity view.

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

Note

Enables adding transactions that exist only in state and UI activity without full lifecycle.

  • Add optional isStateOnly to TransactionMeta and AddTransactionOptions; when true, controller marks as submitted, sets submittedTime, skips signing/publishing, and returns empty hash from addTransaction
  • Skip simulation (#updateSimulationData) and first-time interaction update for isStateOnly transactions
  • Exclude isStateOnly from pending confirmation polling in PendingTransactionTracker
  • Update types and JSDoc (incl. deprecation notes) and CHANGELOG
  • Add targeted tests validating metadata flag, no simulation/signing, submitted status, and empty result hash

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

@matthewwalsh0 matthewwalsh0 marked this pull request as ready for review January 9, 2026 09:20
@matthewwalsh0 matthewwalsh0 requested review from a team as code owners January 9, 2026 09:20
@matthewwalsh0 matthewwalsh0 added this pull request to the merge queue Jan 9, 2026
Merged via the queue into main with commit 577fb8a Jan 9, 2026
286 checks passed
@matthewwalsh0 matthewwalsh0 deleted the feat/transaction-state-only branch January 9, 2026 10:11
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.

3 participants