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