1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/app
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
..
_locales Running verify-locales:fix 2021-06-08 11:57:50 -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-06-07 10:15:41 -02:30
manifest Migrate version from _base manifest to package.json (#11029) 2021-06-07 10:03:09 -02:30
scripts Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268) 2021-06-09 19:57:10 -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
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