Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykola committed Nov 12, 2019
1 parent 55539bd commit b490056
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions blockchains/ethereum/whitelist.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@
"0x237c0e91c28d20254A2F25976b81262E63bB767f",
"0x23812334fC611d99E2506D1493791Cc87Fa6Eddd",
"0x2396FBC0e2E3AE4B7206EbDb5706e2a5920349CB",
"0x239836e951DD75Fea01beF8ba039119dc8D5352f",
"0x23aaB5E8cDAFCa91849f0c8Fab42500fbdfed9Bd",
"0x23aE3C5B39B12f0693e05435EeaA1e51d8c61530",
"0x23B608675a2B2fB1890d3ABBd85c5775c51691d5",
Expand Down Expand Up @@ -2912,6 +2913,7 @@
"0xBD4fb45b05DD4f0B55b6451B58f3DBA7fFB1b34B",
"0xBd56E9477Fc6997609Cf45F84795eFbDAC642Ff1",
"0xbd95145EE25E4203d90592834c688C92653532A6",
"0xbDc4dD4B2f62c446485a1D2E39569466A2Fbd829",
"0xBDC5bAC39Dbe132B1E030e898aE3830017D7d969",
"0xbDCDf13e7ECE3dFBe926979d2fc9942648A4083d",
"0xBDCFbf5C4D91Abc0bC9709C7286d00063c0e6F22",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "Assets consumed by Trust Wallet",
"main": "index.js",
"scripts": {
"verify": "ts-node ./script/verifyTokens",
"verify": "npm run cleanup && ts-node ./script/verifyTokens",
"test": "npm run cleanup && jest",
"cleanup": "find ./.. -name '.DS_Store' -type f -delete",
"cleanup": "find ./.. -iname '.DS_Store' -type f -delete",
"update-bep2": "node ./script/updateBEP2",
"checksum": "npm run cleanup && node ./script/erc20_to_checksum",
"list": "npm run cleanup && ts-node ./script/gen_list"
Expand Down
2 changes: 1 addition & 1 deletion script/verifyTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ethereumSidechains.forEach(chain => {
})
const tokens = [].concat.apply([], addresses).map(a => a.toLowerCase())

axios.post(TRUST_API_URL, tokens, {
axios.post(TRUST_API_URL, {tokens}, {
headers: {
TOKEN_VERIFICATION_KEY
}
Expand Down

0 comments on commit b490056

Please sign in to comment.