Invalid Opcode
I've been trying to use my own smart contract ontop of your 1st contract example but I'm getting an Invalid Opcode error every time. I'm not sure if I should create the ABI and bytecode seperately or is there something I don't know about the RPC.
Depends on how it’s compiled, can you post more details?
Sent from my iPhone
On Oct 15, 2019, at 5:38 PM, SkywalkingZulu [email protected] wrote:
I've been trying to use my own smart contract ontop of your 1st contract example but I'm getting an Invalid Opcode error every time. I'm not sure if I should create the ABI and bytecode seperately or is there something I don't know about the RPC.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Should not make a difference, invalid opcode is coming from the node, not EthJs. Not sure what would be up, you can try truffle yes
Sent from my iPhone
On Oct 17, 2019, at 3:53 PM, SkywalkingZulu [email protected] wrote:
The contract was compiled via remix ide and I took the ABI and Byte code from the ide, I noticed that my Bytecode starts with 0x6 whilst yours starts with 660606040523461000... , I tried changing that to see if it solves the issue but nah. Should I have used truffle instead?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.