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

value "1" at "/0" must pass "hex" validation #72

Open
CygnusBell opened this issue Nov 13, 2023 · 0 comments
Open

value "1" at "/0" must pass "hex" validation #72

CygnusBell opened this issue Nov 13, 2023 · 0 comments

Comments

@CygnusBell
Copy link

Hi, I was working on a web3 game about 10 months ago, and recently came back to it. I am getting the strangest error:

Uncaught (in promise) s: Web3 validator found 1 error[s]:
value "1" at "/0" must pass "hex" validation

This occurs whenever I try to connect, BUT if I switch provider in Metamask it all of a sudden updates and is connected properly.

The number for value changes depending on chainID of the network I've chosen in Metamask.

I've tried:
downgrading web3js to 4.0.3
using web3modal
using default injected

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