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.

improve RPC error message "Invalid Transaction" #2485

@brenzi

Description

@brenzi

Currently, extrinsics either get finalized or they fail with "Invalid Transaction".

I suggest that the developer can access more verbose error messages like

  • extrinsic decoding failed
  • signature verification failed
  • wrong nonce
  • not enough funds to pay fees
  • module-specific failures
    • no such module
    • no such method

I could live with trace messages in the node log, but nicer would be to return these via RPC response

Metadata

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.U3-nice_to_haveIssue is worth doing eventually.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions