Compile error: The "extcodehash" instruction is not supported by the VM version "byzantium" you are currently compiling for

Hi @robertocohan,

Welcome to the community :wave:

Adding to @skyge’s response.

You may also want to look at using the latest version of OpenZeppelin Contracts, 3.4:


As an aside, please see how to Format code in the forum.