Skip to content

Add transaction replay utility (reproduce tx locally from signature) #633

@dvansari65

Description

@dvansari65

Add a helper like:
surfnet.replayTransaction(signature)

What it should do :
Fetch transaction using getTransaction.
Extract all account addresses from the tx.
Fetch account data (getAccountInfo).
Load those accounts into Surfpool (setAccount)
Re-run the transaction locally using existing profileTransaction
Return logs + error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions