fix: prevent error in hardhat-viem when using a chain not included in viem's predefined list
Fixed #6854
- [x] Because this PR includes a bug fix, relevant tests have been included.
- [ ] Because this PR includes a new feature, the change was previously discussed on an Issue or with someone from the team.
- [ ] I didn't do anything of this.
⚠️ No Changeset found
Latest commit: d472d6f18f6e845ad29e9fdf1b22fcf549ce6699
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Hey! I've just commented on the related issue - https://github.com/NomicFoundation/hardhat/issues/6854#issuecomment-2976611908
If it resolves the issue for you, we should be able to close this PR.
I'll close this as per https://github.com/NomicFoundation/hardhat/issues/6854#issuecomment-3045573521 but thank you for the PR!