1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app
Mark Stacey 3bbc1d1fa4
Fix fetching of swap quotes when initial network was testnet ()
If the initial network when the extension is started is something other
than Mainnet, the swaps controller will never successfully retrieve
swap quotes. This is because the `ethers` provider used by the swaps
controller doesn't allow network changes by default - it assumes that
the network remains the same as when the provider was initialized.

This was fixed by hard-coding Mainnet as the initial chain ID for this
`ethers` provider used by the swaps controller.

Some adjustments needed to be made to the `provider` stub to allow
setting `1` as the network ID and chain ID in unit tests.
2020-10-27 13:22:21 -02:30
..
_locales Update main-quote-summary designs/styles () 2020-10-25 10:53:34 -02:30
fonts Add euclid fontface () 2020-07-27 17:15:44 -05:00
images Update main-quote-summary designs/styles () 2020-10-25 10:53:34 -02:30
manifest Version v8.1.2 2020-10-19 21:32:37 +00:00
scripts Fix fetching of swap quotes when initial network was testnet () 2020-10-27 13:22:21 -02:30
vendor/trezor Close window after opening fullscreen () 2019-08-08 11:50:32 -03:00
home.html Add optional portal to Popover component () 2020-03-30 18:25:17 -02:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
notification.html Fix connection modal style issues () 2020-05-04 12:04:41 -03:00
phishing.html Backport "Updating deprecated Etherscam link ()" () 2020-04-29 18:40:34 -03:00
popup.html Add optional portal to Popover component () 2020-03-30 18:25:17 -02:30
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00