Skip to content

Unify "insufficient amount of gas" messages in VM #4170

@carpawell

Description

@carpawell

Is your feature request related to a problem? Please describe.

I'm always frustrated when I have to strings.Contains messages i receive from RPC to distinguish problem cases. I am even more frustrated when the same issue may have different error messages,

Describe the solution you'd like

We had this to solve this, and then we had to have this to solve it one more time. It'd better be a single string (or even smth more RPC status-based if possible).

Describe alternatives you've considered

Fix problems one by one until every case is covered with strings.Contains.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I3Minimal impactS3Minimally significantU2Seriously plannedenhancementImproving existing functionalityvmVM tasks/bugs/issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions