1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-03 14:44:27 +01:00
metamask-extension/ui/pages
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
..
add-token Handling custom token decimal fetch failure due to network error (#10956) 2021-06-07 10:33:20 -02:30
asset remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirm-add-suggested-token remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirm-add-token remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirm-approve adding condition to check for non-mainnet network and test env (#11007) 2021-06-07 10:02:39 -02:30
confirm-decrypt-message remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirm-deploy-contract remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirm-encryption-public-key remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirm-send-ether remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirm-send-token remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirm-token-transaction-base remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirm-transaction send user to activity after transaction complete (#10946) 2021-06-07 09:58:45 -02:30
confirm-transaction-base Lint fix 2021-06-07 11:03:33 -02:30
confirm-transaction-switch remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
confirmation Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268) 2021-06-09 19:57:10 -07:00
connected-accounts remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
connected-sites remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
create-account remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
error remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
first-time-flow Adding back button to reveal seed phrase view (#11246) 2021-06-08 11:50:43 -07:00
home add setting to dismiss seed phrase backup reminder (#10967) 2021-06-07 09:58:45 -02:30
keychains Adding back button to reveal seed phrase view (#11246) 2021-06-08 11:50:43 -07:00
lock remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
mobile-sync remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
permissions-connect remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
routes Fix #10173 - Prevent lag in external monitors when using Mac + Chrome (#10952) 2021-06-07 09:58:45 -02:30
send create safer isValidAddress method (#11089) 2021-06-07 10:30:46 -02:30
settings Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData (#11268) 2021-06-09 19:57:10 -07:00
swaps Fixing ever-present scrollbar issue on Swaps view (#11182) 2021-06-07 10:38:33 -02:30
unlock-page replacing seed phrase with Secret Recovery Phrase (#10994) 2021-06-07 10:02:39 -02:30
index.js remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30
pages.scss remove the ui/app and ui/lib folders (#10911) 2021-06-06 12:45:27 -02:30