Describe the bug
The event "chainChanged" does not work.
But the event "networkChanged" and "accountsChanged" works fine.
To Reproduce
ethereum.on('chainChanged', chainId => console.log('chainChanged', chainId));
ethereum.on('networkChanged', network => console.log('networkChanged', network));
Expected behavior
When I change the network, I expect to receive an "chainChanged" event.
Browser details
@OsoianMarcel due to a bug in the MetaMask inpage provider, it emits chainIdChanged instead of chainChanged. In our next release - step 1. in #8077 - it will emit chainChanged. Please follow #8077 for details.
Subscribed, thanks.