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

ethjs-format reports string as being zero bytes #4

Open
kumavis opened this issue Mar 19, 2019 · 0 comments
Open

ethjs-format reports string as being zero bytes #4

kumavis opened this issue Mar 19, 2019 · 0 comments

Comments

@kumavis
Copy link

kumavis commented Mar 19, 2019

This may be due to the fact that address is in an array in this log filter parameter

[Error: [ethjs-query] while formatting inputs
'[{
"fromBlock":"0x1",
"toBlock":"0x1",
"address":["0x00000000000000000000000000000000aabbccdd"],
"topics":["0x00000000000000000000000000000000000000000000000000DeadBeefCafe01"]
}]' for method 'getLogs'
error: Error: [ethjs-format] hex string '0x00000000000000000000000000000000aabbccdd'
must be an alphanumeric 42 utf8 byte hex (chars: a-fA-F) string, is 0 bytes]

note: modified the formatting for the sake of this issue

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

1 participant