-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid opcode when running example #2
Comments
Does not surprise me, the code is over a year old and Solidity has undergone a lot of changes. Does this seem like something you would be able to fix yourself easily? |
I believe the invalid opcode comes from using |
The problem I think is the
specifically the line As @postables suggests, I am just doing the base58 encoding client side. Since all I really need to verify here is the hash which can be done using solidity built-in sha256. |
I'm trying do |
I replaced on line 30 |
It appears that something in this library isn't working with recent versions of solidity, truffle and ganache-cli.
Trying to run the example in the README goes okay until I try to generateHash, in which case I run into the
invalid opcode
error. Any idea where the invalid opcode is happening? I'm digging through it to try to find itThe text was updated successfully, but these errors were encountered: