If VM Exception while processing transaction: invalid opcode
is thrown, does it have the same effect than revert?
Roughly. The important difference is that an invalid opcode consumes all the remaining gas, while revert
does not. (The remaining gas is returned.)