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

Remix debugger – Introduction

he Remix debugger is a powerful that allows you to debug your Solidity code. Usually, if you are stuck and…

Read Story

Advanced storage

In this video, we will build on the previous "Simple storage" smart contract, and store list of data instead of…

Read Story

Crud – Part II

We are going to continue our CRUD smart contract and finish the main features. You will learn: "Update" and "Destroy"…

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