Skip to content

RPC errors not bubbled back to Ðapp #8483

@danfinlay

Description

@danfinlay

Currently when a Ðapp initiates a call to eth_sendTransaction, if the RPC backend throws an error (like transaction underpriced), this error is not returned to the Ðapp, instead a generic internal wrapper is returned, like "Error: [ethjs-rpc] rpc error with payload {"...

Checked and this behavior continues to exist on develop.

Ideal case:

  • Return the RPC error to the Ðapp itself.
  • Show the failure reason in the transaction history to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sev2-normalNormal severity; minor loss of service or inconvenience.area-apiteam-wallet-api-platform-deprecatedDEPRECATED: please use "team-wallet-integrations" insteadtype-bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions