Try Catch in Solidity: Handling the revert Exception
When a revert happens in solidity, all the state changes done in that transaction are rolled back. All the changes done in sub calls are also rolled back. If we called a contract A which in turn tried to do a token transfer in contract B but contract B reverts, all the changes done by …
Try Catch in Solidity: Handling the revert Exception Read More »