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

gnosis / dex-services / 4894
31%

Build:
DEFAULT BRANCH: master
Ran 21 Aug 2020 01:39PM UTC
Jobs 1
Files 96
Run time 7s
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

21 Aug 2020 01:27PM UTC coverage: 27.866% (-0.004%) from 27.87%
4894

push

travis-pro

web-flow
make /markets and /estimated-best-ask-price return consistent prices (#1348)

Fixes #1344

For more context see discussion in the issue. I added a long comment in the updated unit test justifying why the logic is now correct if the price is in quote.

Alternatively we could also just invert the price after it has been turned in the PriceEstimateResult type. Generally it would probably be nice to have some kind of meta information about what is base and what is quote in the result type (similar to how we have it for 

https://dex-price-estimator.gnosis.io/api/v1/markets/11-4/estimated-buy-amount/100000000?atoms=true

> {"baseTokenId":11,"quoteTokenId":4,"buyAmountInBase":"837137","sellAmountInQuote":"100000000"}

### Test Plan
Adjusted unit test

12180 of 50282 branches covered (24.22%)

Branch coverage included in aggregate %.

3271 of 5165 relevant lines covered (63.33%)

28111.4 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4894.3 (OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3) 21 Aug 2020 01:39PM UTC 0
27.87
Travis Job 4894.3
Source Files on build 4894
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4894
  • 8f0991da on github
  • Prev Build on master (#4892)
  • Next Build on master (#4897)
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