1

As specified in the title
I use truffle to test now, but often times it just returns the error msg "invalid opcode" instead of clearly stating what happened.
Any other testing/debugging tips will also be much appreciated ><
Thanks a lot:)

0

Use the pyethereum tester: https://github.com/ethereum/pyethereum/wiki/Using-pyethereum.tester

This is much faster than using a truffle workflow with testrpc, and much more flexible: You can test the return values of functions, store the blockchain state to do repeated tests on it, change the block timestamp etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.