1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Mark Stacey 79a7199a2f
Fix mobile sync of ERC20 tokens (#10591)
In #10510 we changed how tokens are stored, keying them by `chainId`
rather than network type. However we didn't update our mobile sync
function to account for this, which ended up breaking the filtering
logic used to prepare the data that is synced.

Specifically, custom tokens added by users are filtered out to just
those that are confirmed to be ERC20 tokens in our built-in list of
tokens. This filters out unrecognized tokens and NFTs.

The filtering logic has been restored to the pre-#10510 behaviour.
2021-03-04 18:43:15 -03:30
..
account-import-strategies @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
constants @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
controllers cache balances by chain id (#10545) 2021-03-02 16:53:07 -06:00
lib addEthereumChain bug fixes (#10520) 2021-02-25 16:25:51 -06:00
migrations key tokens by chainId (#10510) 2021-02-26 09:40:25 -06:00
platforms Hide links to etherscan when no block explorer is specified for a custom network (#10455) 2021-02-17 09:45:30 -03:30
background.js use chain id for enabling ENS IPFS resolution (#10507) 2021-02-25 05:40:57 -06:00
chromereload.js Fix console.error references 2016-08-29 17:32:39 -07:00
contentscript.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
disable-console.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
first-time-state.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
initSentry.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
inpage.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
metamask-controller.js Fix mobile sync of ERC20 tokens (#10591) 2021-03-04 18:43:15 -03:30
phishing-detect.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
runLockdown.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
ui.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00