• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gnosis / dex-contracts / 5378
100%

Build:
DEFAULT BRANCH: master
Ran 25 Sep 2020 10:29AM UTC
Jobs 1
Files 7
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5378

push

travis-ci-com

web-flow
Vendor dex-js token list for script (#992)

This PR vendors the `dex-js` token list and modifies the script to read token lists from the local file system.

### Test Plan

Run the script and see that it works with and without a specified token list:
```
$ yarn truffle-exec scripts/add_token_list.ts
yarn run v1.21.1
$ sh -c 'npx truffle exec build/common/${0%.*}.js $@' scripts/add_token_list.ts
Using network 'development'.

2020-09-24 20:34:19,506 INFO [scripts.add_token_list] Using default token list
2020-09-24 20:34:19,510 INFO [scripts.add_token_list] Token list with 17 tokens, filtering for network '1600971633613'
2020-09-24 20:34:20,865 INFO [scripts.add_token_list] Attempting to register 0 tokens
Done in 4.61s.
$ yarn truffle-exec scripts/add_token_list.ts --token_list scripts/data/tokenList.json
yarn run v1.21.1
$ sh -c 'npx truffle exec build/common/${0%.*}.js $@' scripts/add_token_list.ts --token_list scripts/data/tokenList.json
> Warning: possible unsupported (undocumented in help) command line option: --token_list
Using network 'development'.

2020-09-24 20:34:27,963 INFO [scripts.add_token_list] Reading token list from 'scripts/data/tokenList.json'
2020-09-24 20:34:27,971 INFO [scripts.add_token_list] Token list with 17 tokens, filtering for network '1600971633613'
2020-09-24 20:34:29,292 INFO [scripts.add_token_list] Attempting to register 0 tokens
Done in 4.47s.
```

Note that no tokens are registered as the token list does not contain any test-net tokens.

98 of 98 branches covered (100.0%)

Branch coverage included in aggregate %.

264 of 264 relevant lines covered (100.0%)

81.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5378.1 (NODE_OPTIONS=--max_old_space_size=4096) 25 Sep 2020 10:29AM UTC 0
100.0
Travis Job 5378.1
Source Files on build 5378
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #5378
  • aa0107e9 on github
  • Prev Build on master (#5375)
  • Next Build on master (#5385)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc