In Solidity, require and revert statements are used to check some pre-conditions before executing the main part of a function. However, these Solidity constructs can also be used to debug your smart contracts.
In this video, I am going to show you how you can use require and revert statements to debug your Solidity smart contracts.
DebuggingSolidity
Leave a Reply