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

gnosis / dex-contracts / 5378 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 25 Sep 2020 10:29AM UTC
Files 7
Run time 1s
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

25 Sep 2020 10:22AM UTC coverage: 100.0%. Remained the same
NODE_OPTIONS=--max_old_space_size=4096

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

Source Files on job 5378.1 (NODE_OPTIONS=--max_old_space_size=4096)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 3773
  • Travis Job 5378.1
  • aa0107e9 on github
  • Prev Job for NODE_OPTIONS=--max_old_space_size=4096 on master (#5375.1)
  • Next Job for NODE_OPTIONS=--max_old_space_size=4096 on master (#5385.1)
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