1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/pages/settings
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
..
advanced-tab Disable Ledger Live toggle for Firefox users (#11169) 2021-05-24 16:11:17 -05:00
alerts-tab remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
contact-list-tab Add Approval Confirmation Screen component to Storybook (#10998) 2021-05-25 08:20:09 +08:00
info-tab remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
networks-tab Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268) 2021-06-09 15:18:38 -07:00
security-tab remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
settings-tab remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
index.scss remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
settings.component.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
settings.container.js create safer isValidAddress method (#11089) 2021-05-17 14:00:59 -05:00