1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app
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
..
_locales Adding Lionbridge translation updates (#11251) 2021-06-07 20:19:32 -07:00
fonts Add euclid fontface (#9018) 2020-07-27 17:15:44 -05:00
images Show a notification about BSC Swaps if a user is on the BSC Mainnet (#11083) 2021-05-14 14:47:56 -02:30
manifest Migrate version from _base manifest to package.json (#11029) 2021-05-10 14:16:03 -07:00
scripts Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268) 2021-06-09 15:18:38 -07:00
vendor/trezor Update postMessage structure for TrezorConnect 8 (#10192) 2021-01-21 11:12:54 -06:00
background.html Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
home.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
notification.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
phishing.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
popup.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00