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

gnosis / dex-services / 5307 / 3
31%
master: 31%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2020 08:04AM UTC
Files 99
Run time 10s
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

20 Oct 2020 07:54AM UTC coverage: 28.086% (-0.02%) from 28.106%
OPEN_SOLVER_VERSION=v0.1.1 PRIVATE_SOLVER_VERSION=v0.8.5

push

travis-pro

web-flow
Add flag to ignore external price sources (#1477)

On rinkeby we occasionally see negative utility solutions which lead to a subtraction overflow (cf. https://github.com/gnosis/dex-solver/issues/325)

The assumption is that external price estimates are too far off the weird prices we might see on an economically not incentivised test net like rinkeby. Therefore the plan is to ignore these external source on rinkeby going forward.

### Test Plan

```bash
cargo run --bin driver -- --node-url https://xdai.poanetwork.dev  --rpc-timeout 60000 --orderbook-file target/orderbook_xdai.bin --private-key c87509a1cc0241e5e4a9ec0a0f44dc0d3 --solver-type opensolver --native-token-id 0 --log-filter "warn,driver=info,services_core=info,services_core::price_estimation=debg" --ignore-external-price-source true
```

See no log entries coming from `price_estimation::clients::generic_client`

13079 of 53506 branches covered (24.44%)

Branch coverage included in aggregate %.

3477 of 5442 relevant lines covered (63.89%)

43505.44 hits per line

Source Files on job 5307.3 (OPEN_SOLVER_VERSION=v0.1.1 PRIVATE_SOLVER_VERSION=v0.8.5)
  • Tree
  • List 0
  • Changed 33
  • Source Changed 2
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1717
  • Travis Job 5307.3
  • 3f40d885 on github
  • Prev Job for OPEN_SOLVER_VERSION=v0.1.1 PRIVATE_SOLVER_VERSION=v0.8.5 on master (#5304.3)
  • Next Job for OPEN_SOLVER_VERSION=v0.1.1 PRIVATE_SOLVER_VERSION=v0.8.5 on master (#5315.3)
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