holic / web3-scaffold

Quickly get up and running on web3
148 stars 19 forks source link

Errors in console when ENS is not supported on chain #25

Closed davisshaver closed 2 years ago

davisshaver commented 2 years ago

When in local dev, an error shows up if the chain doesn't support ENS. This issue stems from RainbowKit and can be tracked here https://github.com/rainbow-me/rainbowkit/discussions/429.

Example error:

next-dev.js?d62b:32 Error: network does not support ENS (operation="ENS", network="foundry", code=UNSUPPORTED_OPERATION, version=providers/5.5.2)
holic commented 2 years ago

Looks like this could/should be resolved in https://github.com/rainbow-me/rainbowkit/pull/496?

davisshaver commented 2 years ago

The change in https://github.com/holic/web3-scaffold/commit/b552972c4f4f91790f636b3b1324e6405dc69685 addresses this error 🎉