enhance(arbiter-core): tx reverts do not pay gas #836
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
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.
The text was updated successfully, but these errors were encountered: