Skip to content
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

Hex parsing error: Odd number of digits #224

Open
bleedr opened this issue May 29, 2021 · 3 comments
Open

Hex parsing error: Odd number of digits #224

bleedr opened this issue May 29, 2021 · 3 comments

Comments

@bleedr
Copy link

bleedr commented May 29, 2021

Trying to encode integers doesn't work.

% ethabi encode params -v '(uint256,uint256,string)' '(0,1,2)'
Error: Hex parsing error: Odd number of digits

Caused by:
    Odd number of digits

% ethabi encode params -v '(uint8)' '(0)'                     
Error: Hex parsing error: Odd number of digits

Caused by:
    Odd number of digits

@anweiss
Copy link

anweiss commented Jul 21, 2021

Also getting this error

@nickeskov
Copy link

I'm also receiving this error

@songtianyi
Copy link

How did you solve this, guys?

❯ /Users/songtianyi/.cargo/bin/ethabi encode params -v uint 3
Error: Hex parsing error: Odd number of digits

Caused by:
    Odd number of digits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants