Hi! I am using async calls and rellying on a callback to revert changes in case the async call fails.
Problem is if it fails because it's not enough gas I still get the main transaction as successful so no reverting is happening. How can I avoid this?
Hey, can't you check the remaining gas and sc_panic before the async call?