You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I pass in some string values that represent a number to a filters, I get an error:
Why does it fail when I pass in the '0''s to the event? When I do the '0's to null it doesn't fail. It says it has a type of BigNumberish, so I'm confused if I'm doing something wrong?
ricmoo
added
fixed/complete
This Bug is fixed or Enhancement is complete and published.
and removed
on-deck
This Enhancement or Bug is currently being worked on.
labels
Jun 18, 2022
Woodpile37
pushed a commit
to Woodpile37/ethers.js
that referenced
this issue
Jan 14, 2024
Ethers Version
5.6.5
Search Terms
invalid hexlify
Describe the Problem
Whenever I pass in some string values that represent a number to a
filters
, I get an error:Why does it fail when I pass in the
'0'
's to the event? When I do the'0'
s tonull
it doesn't fail. It says it has a type ofBigNumberish
, so I'm confused if I'm doing something wrong?Code Snippet
Contract ABI
Errors
Uncaught Error: invalid hexlify value (argument="value", value="0", code=INVALID_ARGUMENT, version=bytes/5.6.1)
Environment
node.js (v12 or newer), Browser (Chrome, Safari, etc), Hardhat
Environment (Other)
React, Linux
The text was updated successfully, but these errors were encountered: