Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

RPC to dry run a transaction #6298

@xlc

Description

@xlc

A new RPC to allow user submit transaction and dry run it and return all events.

It should respect to weight limits so this cannot be used to DOS the node.

Should have an option to disable signature validation to make this more useful (able to detect transaction will not success before asking user to sign).

state_call with BlockBuilder_apply_extrinsic may be able to achieve something similar but it is way too hard to use and does not expose events.

This will need to be an unsafe RPC to avoid ddos nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions