1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui
ryanml 523c04b47a Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268)
* 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>
2021-06-09 19:57:10 -07:00
..
__mocks__ remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
components Adding notification for updated seed phrase wording (#11131) 2021-06-07 10:38:28 -02:30
contexts remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
css Fix #10173 - Prevent lag in external monitors when using Mac + Chrome (#10952) 2021-06-07 09:58:45 -02:30
ducks Fix a condition for checking if a token should be added (#11127) 2021-06-07 10:33:25 -02:30
helpers Handling custom token decimal fetch failure due to network error (#10956) 2021-06-07 10:33:20 -02:30
hooks Lint fix 2021-06-07 11:03:33 -02:30
pages Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268) 2021-06-09 19:57:10 -07:00
selectors Adding notification for updated seed phrase wording (#11131) 2021-06-07 10:38:28 -02:30
store Use verifyPassword instead of submitPassword in exportAccounts in actions.js (#11265) 2021-06-09 19:56:59 -07:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30