Debugging with require and revert

Julien Klepatch

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.

0 Comments

Leave a Reply

More great articles

Install Truffle 5.0

Before we can continue in our course on Solidity smart contract testing, we need to install Truffle 5.0, so that…

Read Story

ToDo List Ethereum Dapp (Step3) | Writing The Nodejs Backend

This tutorial is part of the series ToDo List Ethereum Dapp. It is the Step 1. Tutorials already published: Intro…

Read Story

ToDo List Ethereum Dapp (Step8) | Create Smart Contract Data From The Frontend

This tutorial is part of the series ToDo List Ethereum Dapp. This is the Step 8. Tutorials already published: (more…)

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.
[contact-form-7 id="6" title="Footer CTA Subscribe Form"]
Arrow-up