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

gnosis / dex-services / 4823
31%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2020 06:33AM UTC
Jobs 1
Files 97
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

18 Aug 2020 06:20AM UTC coverage: 28.597% (-0.2%) from 28.842%
4823

push

travis-pro

web-flow
Search by symbol (#1323)

This PR adds the ability of to use symbols for currency pairs. Note that the symbols are retrieved from the EVM, so it is possible that names with duplicates (such as `DAI`) run into collisions and require updating our deployment.

### Test Plan

```
$ cargo run -p price-estimator -- --token-data '{"T0009":{"alias":"sUSD depr","decimals":18},"T0012":{"alias":"SAI","decimals":18},"T0015":{"alias":"SNX depr","decimals":18}}'
...
$ curl -s 'http://localhost:8080/api/v1/markets/WETH-DAI/estimated-buy-amount/1000?atoms=false' | jq
{
  "baseTokenId": 1,
  "quoteTokenId": 7,
  "buyAmountInBase": "2.3573254925937595",
  "sellAmountInQuote": "1000"
}
$ curl -s 'http://localhost:8080/api/v1/markets/ETH-DAI/estimated-buy-amount/1000?atoms=false' | jq # Bonus!
{
  "baseTokenId": 1,
  "quoteTokenId": 7,
  "buyAmountInBase": "2.3573254925937595",
  "sellAmountInQuote": "1000"
}
```

12398 of 49880 branches covered (24.86%)

Branch coverage included in aggregate %.

3377 of 5283 relevant lines covered (63.92%)

27304.99 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4823.3 (OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3) 18 Aug 2020 06:33AM UTC 0
28.6
Travis Job 4823.3
Source Files on build 4823
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4823
  • c49625d5 on github
  • Prev Build on master (#4820)
  • Next Build on master (#4827)
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