Skip to content

Add request identity to v2 standalone actions #240

Description

@bmuddha

Goal

Give v2 standalone actions protocol-level request identity through an opaque nonce or request ID in the wrapper and its APIs. Distinct requests use distinct identities; retries and recovery retain the original identity.

Why

Two standalone-action requests can produce identical base-chain transactions when the validator authority, forwarded action data, and recent blockhash match. They then share a signature, so confirming the second request can merely confirm the first execution.

MBV currently distinguishes transaction messages with a noop containing the scheduled intent ID. This leaves user data unchanged but does not give standalone actions protocol-level request identity.

Scope

  • Include the identity in the transaction message without forwarding it to the destination program or changing the destination's action data.
  • Define nonce ownership, validation, replay semantics, and compatibility for callers and instruction encoding. Nonce bytes alone do not guarantee execution once, particularly when a retry uses a new blockhash. Specify how repeated requests are recognized or constrained and what clients can rely on when reconciling an uncertain submission.
  • Keep commit/action and undelegate/action identity tied to their existing commit scope. This is v2 work under Implement MagicBlock Protocol v2 #132, not a v1 backport.

Keeping MBV's intent-ID noop or varying a compute-budget instruction are transaction-level alternatives, not substitutes for defined replay semantics or additional implementation requirements.

magicblock-validator#1280 owns MBV adoption and removal of noop padding once the replacement provides the required guarantees. magicblock-validator#1702 owns durable progress and reconciliation of submitted transactions after interruption.

Activity

  1. self-assigned this
    on Sep 17, 2026
  2. added theissue type on Sep 17, 2026
  3. assigned and unassigned on Sep 17, 2026
  4. changed the title [-]Add protocol-level nonces for standalone actions in v2[/-] [+]Add request identity to v2 standalone actions[/+] on Sep 17, 2026
  5. MayurK-cmd commented on Oct 7, 2026

    @MayurK-cmd

    Hey can I work on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions