Skip to content

Make RpcError generic #692

@gregdhill

Description

@gregdhill

I am unable to upgrade from 0.23.0 to 0.24.0 because we lost the RpcError type (here) propagated from jsonrpsee. We use this to specifically match custom errors for transaction invalidity and for when the background service needs to be restarted. Instead of converting this error into a string the RpcClientT trait should have a generic parameter for the 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