node
node copied to clipboard
Implement logic to handle revert for Gas and ERC20 CCTXs from zevm
Describe the Issue
Related to WithdrawAndCall functionality
Adding logic to handle revert for Gas and ERC20 CCTXs from zevm.
- Mint back the amount to the sender address
- If the sender is a contract, call a hook method like
OnWithdrawRevert(name TBD)