I have created an app using truffle and testrpc. I have verified the contract functions using truffle console..It worked. But while executing the transaction from front-end it is getting the following error in the console of testrpc. How can I resolve this error?Is it possible by updating the gasPrice field in truffle.js?
Transaction: 0x59b171fbc29cf9f89506f3f1a37bd6010863ae773c264e4f349477f1f3a47b71
Gas usage: 3000000
Block Number: 25
Block Time: Fri Sep 29 2017 11:30:31 GMT+0530 (IST)
Runtime Error: invalid opcode
Any help is appreciated