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

gnosis / dex-services / 3947
31%

Build:
DEFAULT BRANCH: master
Ran 03 Jul 2020 07:14AM UTC
Jobs 1
Files 70
Run time 12s
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

03 Jul 2020 06:59AM UTC coverage: 28.37% (-0.01%) from 28.383%
3947

push

travis-pro

web-flow
Remove price from TokenBaseInfo (#1075)

Step 4 of plan outlined in #1068

This PR introduces a new type `TokenOverrideInfo` that is  read from the config `TOKEN_DATA` for overriding token information, such as symbol or price. `TokenBaseInfo` can then only contain `symbol` and `decimals` as prices are now fetched exclusively via the `PriceSource` trait.

Originally I planned to make all fields optional, however this will create some weirdness when we override symbol but still need to go on-chain for fetching decimals (the current abstraction doesn't work as nicely and would involve introducing a lot more optionals and `if let Some(x)` logic). It seems reasonable to override symbol and decimals in any case when doing a price override (they never change and symbol will serve as documentation which token we are overriding).

### Test Plan

CI

9319 of 37521 branches covered (24.84%)

Branch coverage included in aggregate %.

2500 of 4139 relevant lines covered (60.4%)

14492.99 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3947.3 (OPEN_SOLVER_VERSION=v0.0.10 PRIVATE_SOLVER_VERSION=v0.7.7) 03 Jul 2020 07:14AM UTC 0
28.37
Travis Job 3947.3
Source Files on build 3947
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3947
  • 93434bd5 on github
  • Prev Build on master (#3933)
  • Next Build on master (#3954)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc