You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.