Bring back changes (#2737)

This commit is contained in:
Nick Kozlov 2020-07-14 17:30:05 +03:00 committed by GitHub
parent dd21de2fa8
commit 1241d22ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,6 @@ import {
readFileSync,
getChainAssetLogoPath,
isPathExistsSync,
getChainName,
makeDirSync,
getChainAssetPath,
ethSidechains,
@ -17,10 +16,9 @@ import {
getChainWhitelist,
} from "../../src/test/helpers";
import { TickerType, mapTiker, PlatformType } from "../../src/test/models";
import { CoinType } from "@trustwallet/types";
// Steps required to run this:
// 1. (Optional) CMC API key already setup, use yours if needed. Install script deps "npm i" if hasn't been run before.
// 1. (Optional) CMC API key already setup, use yours if needed. Install script deps "npm i" if hasn't been run before.
// 2. Pull down tokens repo https://github.com/trustwallet/assets and point COIN_IMAGE_BASE_PATH and TOKEN_IMAGE_BASE_PATH to it.
// 3. Run: `npm run gen:list`
@ -56,7 +54,6 @@ const custom: mapTiker[] = [
]
const allContracts: mapTiker[] = [] // Temp storage for mapped assets
let bip44Constants = {}
let bnbOwnerToSymbol = {} // e.g: bnb1tawge8u97slduhhtumm03l4xl4c46dwv5m9yzk: WISH-2D5
let bnbOriginalSymbolToSymbol = {} // e.g: WISH: WISH-2D5
@ -96,7 +93,6 @@ async function processCoin(coin) {
id
})
}
// await getImageIfMissing(getChainName(CoinType.ethereum), checksum, id)
} catch (error) {
console.log(`Etheruem platform error`, error)
break