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

gnosis / dex-services / 3657
31%

Build:
DEFAULT BRANCH: master
Ran 15 Jun 2020 05:55AM UTC
Jobs 1
Files 66
Run time 11s
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

15 Jun 2020 05:41AM UTC coverage: 28.494% (-0.05%) from 28.547%
3657

push

travis-pro

web-flow
Add API method for computing transitive orderbook (#997)

This PR adds a new API method for computing a transitive orderbook.

### Test Plan

```
$ cargo test -p pricegraph real_orderbooks -- --nocapture
    Finished test [unoptimized + debuginfo] target(s) in 0.10s
     Running target/debug/deps/pricegraph-397047f497bad3b3

running 1 test
#5298183: estimated order for buying 194.87633796952346 DAI for 1 WETH
#5298183: DAI-WETH market contains 91 ask orders and 100 bid orders within a 5% spread:
 - Ask orders
    ...
 - Buy orders
    ...
```

### Commit History

* implement a top-level pricegraph API

* fix references to 'from_elements'

* rename back to from_elements

* ensure orders are ordered

* undo orderbook contructor rename

* add API method for computing transitive orderbook

* better unit test

* Update pricegraph/src/lib.rs

Co-authored-by: Valentin Kettner <vakevk+git@gmail.com>

* fix merge

Co-authored-by: Valentin Kettner <vakevk+git@gmail.com>

8588 of 34467 branches covered (24.92%)

Branch coverage included in aggregate %.

2318 of 3808 relevant lines covered (60.87%)

8588.87 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3657.2 (OPEN_SOLVER_VERSION=v0.0.10 PRIVATE_SOLVER_VERSION=v0.7.3) 15 Jun 2020 05:56AM UTC 0
28.49
Travis Job 3657.2
Source Files on build 3657
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3657
  • b678bdd0 on github
  • Prev Build on master (#3602)
  • Next Build on master (#3660)
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