Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance(arbiter-core): tx reverts do not pay gas #836

Open
Autoparallel opened this issue Feb 1, 2024 · 0 comments
Open

enhance(arbiter-core): tx reverts do not pay gas #836

Autoparallel opened this issue Feb 1, 2024 · 0 comments
Labels
✨ enhancement new feature, upgrade, or change in modularity 📝 needs more information issue is not well-defined enough to be solved ⚡️ optimization improves the speed of the program

Comments

@Autoparallel
Copy link
Collaborator

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.

@Autoparallel Autoparallel added ✨ enhancement new feature, upgrade, or change in modularity 📝 needs more information issue is not well-defined enough to be solved ⚡️ optimization improves the speed of the program labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement new feature, upgrade, or change in modularity 📝 needs more information issue is not well-defined enough to be solved ⚡️ optimization improves the speed of the program
Projects
None yet
Development

No branches or pull requests

1 participant