mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
a75092762f
* Moving RPC Urls to network constants * Including RPC url in switchEthereumChain requestData * Setting project id to var * Fix built-in networks switch-ethereum-chain `switch-ethereum-chain` did not work correctly with built-in networks. It was treating them as custom networks, rather than as built-in networks. This affected how they were displayed in the network dropdown, and resulted in slight differences to the network stack used as well. The problem was that `updateRpcTarget` was used, which was meant for custom networks only. Now that `setProviderType` is used in the case of a built-in network, the behaviour should match the network switcher exactly. Co-authored-by: Mark Stacey <markjstacey@gmail.com> |
||
---|---|---|
.. | ||
add-ethereum-chain.js | ||
get-provider-state.js | ||
index.js | ||
log-web3-shim-usage.js | ||
switch-ethereum-chain.js | ||
watch-asset.js |