We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is the parameter of ethabi decode the same as the output of encode? I got Error: Ethabi(InvalidData) all the time.
Error: Ethabi(InvalidData)
json:
[{ "type":"function", "inputs":[{ "name":"b", "type":"bool" }], "name":"foo", "outputs": [] }]
encode: ethabi encode function ./example.json foo -p 1
ethabi encode function ./example.json foo -p 1
get 455575780000000000000000000000000000000000000000000000000000000000000001
455575780000000000000000000000000000000000000000000000000000000000000001
decode: ethabi decode function ./example.json foo 455575780000000000000000000000000000000000000000000000000000000000000001
ethabi decode function ./example.json foo 455575780000000000000000000000000000000000000000000000000000000000000001
get: Error: Ethabi(InvalidData)
The text was updated successfully, but these errors were encountered:
hey this is more than a year later but did you manage to fix the issue ? I am facing the same problem..
Sorry, something went wrong.
Function::decode_input
No branches or pull requests
Is the parameter of ethabi decode the same as the output of encode? I got
Error: Ethabi(InvalidData)
all the time.json:
encode:
ethabi encode function ./example.json foo -p 1
get
455575780000000000000000000000000000000000000000000000000000000000000001
decode:
ethabi decode function ./example.json foo 455575780000000000000000000000000000000000000000000000000000000000000001
get:
Error: Ethabi(InvalidData)
The text was updated successfully, but these errors were encountered: