fbpx
January 21, 2019

Debugging with events

Do you like often use console.log() statement to debug your Javascript code? Convenient, uh? How about Solidity smart contracts, can we do the same? Well, yes and no. In this video, I will show you how you can do almost the same thing in Solidity with events. After you watch…

Read Story
January 20, 2019

Debugging with require and revert

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…

Read Story
January 19, 2019

Inspect storage with calls & return statements

In Solidity, you can return some values from functions, like in other programming languages. Its also possible to use these return statements to inspect some variables and do some debugging. In this video, I am going to show you how to do this.

Read Story
January 18, 2019

Debugging “VM Exception: invalid opcode / revert”

When I started learning Solidity, there was nothing more frustrating than running accross "VM Exception: invalid opcode" or "VM Exception: revert" errors. These errors messages are really not helpful. In this video, I explain you: what are these errors what kind of Solidity code trigger them how to troubleshoot them

Read Story
January 17, 2019

Debugging “VM Exception: out of gas”

"Out of gas".. what a lovely Solidity error! This really use to make me mad when I started with Solidity smart contracts! In this video, I am going to show you how to simply solve this error and more importantly how you can find out how much gas is needed…

Read Story
January 16, 2019

EatTheBlocks Newsletter #23 – Smart contract debugging course, state channel framework

Debugging smart contracts - New video course on EatTheBlocks Pro. Teach how to console.log in Solidity, how to use Solidity debugger, different kind of runtime errors... I never found any other resources that comes close to this for debugging smart contracts Counterfactual development update - new framework for developing Dapps…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.

[contact-form-7 id=”217″ title=”Simple Subscribe Form”]

Free 14 day trial • No set-up costs • Cancel any time
Arrow-up