Switching to localhost:8545 network not working [bug] [v8.beta]
🛠️ Config
Node 16.15.0 Yarn 1.22.19 Code and other config from example-next
Context
We have our working blockchain in docker that is exposed on localhost:8545, with blockExplorer on localhost:8080.
I've added the chain data to chains.js in your example-next:
1337: {
urls: ['http://localhost:8545'],
name: 'Besu',
nativeCurrency: {
name: "BESU",
symbol: "BESU",
decimals: 18,
},
blockExplorerUrls: ['http://localhost:8080'],
},
Problem
When I try to switch to this network - it's asking again and again continuously and not switching to the network. Everything was working with old versions, the same chain were switching correctly, but now it's working like on the following video:
https://user-images.githubusercontent.com/6214770/186404881-8b276b9a-21ef-4d41-b6aa-8f01dfe76d02.mov
What could be a problem?
Could this be related to #660 ?
Could this be related to #660 ?
I think it could be a part I see here two bugs: localhost rpcUrl is not handled well and loop with changing a network to localhost It looks like localhost is not correctly handled inside the beta version because in the old version it was working correctly
@KarafiziArtur do you remember in which version this was working as intended?
@KarafiziArtur do you remember in which version this was working as intended?
As I've checked the dependencies of the previous version of our projects it was 6.1.9 of web3-react/core
Hi, Any news about this bug ? Look's like it is always present in those version:
"@web3-react/coinbase-wallet": "^8.1.2-beta.0",
"@web3-react/core": "^8.1.2-beta.0",
"@web3-react/gnosis-safe": "^8.1.2-beta.0",
"@web3-react/metamask": "^8.1.2-beta.0",
"@web3-react/network": "^8.1.2-beta.0",
"@web3-react/types": "^8.1.2-beta.0",
"@web3-react/walletconnect": "^8.1.2-beta.0",
"@web3-react/walletconnect-v2": "^8.1.3-beta.0",