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

gnosis / dex-services / 5556
31%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2020 12:10PM UTC
Jobs 1
Files 111
Run time 16s
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

23 Nov 2020 11:48AM UTC coverage: 28.548%. Remained the same
5556

push

travis-pro

web-flow
Custom TokenPairRange.arbitrary implementation with 30 hops bound (#1552)

Fixes the recent fuzzer crashes by implementing arbitrary of TokenPairRange with a hard cap of 30. This is fine, as the query params get sanitized [here](https://github.com/gnosis/dex-services/blob/db7b913f7/price-estimator/src/models/query.rs#L92-L98) and so we never create a TokenPairRange that is larger.

Not sure if on top of this it makes sense to limit the hops in a TokenPairRange contructor. Not limiting 0 hops as this is still possible from an API perspective and thus should probably be fuzzed as well.

### Test Plan
Unpack [crash.bin.zip](https://github.com/gnosis/dex-services/files/5582570/crash.bin.zip) and run

```
cargo +nightly fuzz run pricegraph ~/Downloads/crash.bin
```

And see no more crash.

13944 of 56250 branches covered (24.79%)

Branch coverage included in aggregate %.

3806 of 5926 relevant lines covered (64.23%)

39947.7 hits per line

Jobs
ID Job ID Ran Files Coverage
3 5556.3 (OPEN_SOLVER_VERSION=v0.1.2 PRIVATE_SOLVER_VERSION=v0.8.6) 23 Nov 2020 12:10PM UTC 0
28.55
Travis Job 5556.3
Source Files on build 5556
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5556
  • ffdbe15c on github
  • Prev Build on master (#5552)
  • Next Build on master (#5558)
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