1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui
ryanml a75092762f
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 15:18:38 -07:00
..
__mocks__ remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
components move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
contexts remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
css Fix #10173 - Prevent lag in external monitors when using Mac + Chrome (#10952) 2021-04-30 10:28:07 -05:00
ducks move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
helpers Add gas constants (#11248) 2021-06-08 10:25:48 -05:00
hooks move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
pages Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268) 2021-06-09 15:18:38 -07:00
selectors move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
store Use verifyPassword instead of submitPassword in exportAccounts in actions.js (#11265) 2021-06-09 13:42:25 -07:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00