I am attempting to deploy a test contract on javascriptVM using Remix IDE in chrome. However when I try to execute the contract I receive this message in the status section.
"transact to Notes.addNote errored: VM error: invalid opcode. invalid opcode The execution might have thrown. Debug the transaction to get more information. "
pl let me know if anything wrong in mycode..
require
statements can be helpful to debug.=
.