1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/ui/pages
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
..
add-token Handling custom token decimal fetch failure due to network error (#10956) 2021-05-18 13:23:54 -04:00
asset use etherscan-link customBlockExplorer methods with customNetwork usage tracking (#11017) 2021-05-19 09:51:47 -05:00
confirm-add-suggested-token remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-add-token remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-approve move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
confirm-decrypt-message remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-deploy-contract implement safer to buffer (#11159) 2021-05-21 15:07:06 -05:00
confirm-encryption-public-key remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-send-ether remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-send-token remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-token-transaction-base Add Approval Confirmation Screen component to Storybook (#10998) 2021-05-25 08:20:09 +08:00
confirm-transaction send user to activity after transaction complete (#10946) 2021-05-03 12:51:09 -05:00
confirm-transaction-base implement safer to buffer (#11159) 2021-05-21 15:07:06 -05:00
confirm-transaction-switch remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirmation Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268) 2021-06-09 15:18:38 -07:00
connected-accounts remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
connected-sites remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
create-account use etherscan-link customBlockExplorer methods with customNetwork usage tracking (#11017) 2021-05-19 09:51:47 -05:00
error remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
first-time-flow Adding back button to reveal seed phrase view (#11246) 2021-06-08 10:02:34 -07:00
home Adding periodic reminder modal for backing up recovery phrase (#11021) 2021-06-04 23:33:58 -07:00
keychains Adding back button to reveal seed phrase view (#11246) 2021-06-08 10:02:34 -07:00
lock remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
mobile-sync remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
permissions-connect move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
routes Fix #10173 - Prevent lag in external monitors when using Mac + Chrome (#10952) 2021-04-30 10:28:07 -05:00
send move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
settings Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268) 2021-06-09 15:18:38 -07:00
swaps move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
unlock-page replacing seed phrase with Secret Recovery Phrase (#10994) 2021-05-07 09:07:43 -04:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
pages.scss remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00