Debugging “VM Exception: invalid opcode / revert”

Julien Klepatch

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

0 Comments

Leave a Reply

More great articles

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.…

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