Skip to content

feat(ethereum): allow tx reverts to not pay gas #836

@Autoparallel

Description

@Autoparallel

Idea

Since wallets typically simulate a transaction prior to sending to chain in order to not waste gas, we should mimic this functionality with minimal overhead, i.e., without actually simulating the tx first (if possible).

Solution

Conceivably we could create an inspector that checks if a tx reverts and removes gas from being paid. I'm not sure this is possible, but I want to give it a shot.

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