getDefaultProvider method don't override network configuration #959
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
We are using ethers to initialize our provider using
getDefaultProvider
method. We pass a custom network object with the following structure, using a customensAddress
:Regardless after calling the method like:
ethers.getDefaultProvider(network)
we still have the provider initialized with the default values:Here is the logic where we are handling this on our project: link.
Note: This is working fine if we use another kind of provider (e.g. WebSocket)
The text was updated successfully, but these errors were encountered: