Closed blmalone closed 2 weeks ago
@oliviabarnett
Hello @blmalone.
Please provide a minimal reproduction using StackBlitz, TypeScript Playground (for type issues), or a separate minimal GitHub repository.
Minimal reproductions are required as they save us a lot of time reproducing your config/environment and issue, and allow us to help you faster.
Once a minimal reproduction is added, a team member will confirm it works, then re-open the issue.
Check existing issues
Describe the bug
Inconsistent behavior when you pass through networks to the create config functionality.
Link to Minimal Reproducible Example
No response
Steps To Reproduce
Step to reproduce:
Using this configuration will return the Base testnet chainId instead of Base mainnet.
To fix it, you need to pass through both networks to the config.
What Wagmi package(s) are you using?
wagmi
Wagmi Version
^2.9.2
Viem Version
2.16.1
TypeScript Version
~5.3.3
Anything else?
No response