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

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

Build:
DEFAULT BRANCH: master
Ran 04 Sep 2020 08:32AM UTC
Files 98
Run time 12s
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

04 Sep 2020 08:21AM UTC coverage: 28.05% (-0.02%) from 28.071%
OPEN_SOLVER_VERSION=v0.0.12 PRIVATE_SOLVER_VERSION=v0.8.4

push

travis-pro

web-flow
Change weight special value (#1395)

Running the fuzzer, I discovered an issue with the new `Weight`, specifically with the chosen special value for infinity. It turns out that the logic behind the range of values a `Weight` could have was a bit off, and the more natural choice of `i128::MAX` works better.

This PR updates the the `Weight::infiinite` special value and fixes the `Arbitrary` implementation to only provide `remaining_sell_amounts` less than, or equal the price denominator.

### Test Plan

Run the fuzzer and see it doesn't find a panic right away. Adjusted unit tests.

12896 of 52759 branches covered (24.44%)

Branch coverage included in aggregate %.

3387 of 5291 relevant lines covered (64.01%)

44739.39 hits per line

Source Files on job 5059.3 (OPEN_SOLVER_VERSION=v0.0.12 PRIVATE_SOLVER_VERSION=v0.8.4)
  • Tree
  • List 0
  • Changed 28
  • Source Changed 2
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1480
  • Travis Job 5059.3
  • 5278e790 on github
  • Prev Job for OPEN_SOLVER_VERSION=v0.0.12 PRIVATE_SOLVER_VERSION=v0.8.4 on master (#5050.3)
  • Next Job for OPEN_SOLVER_VERSION=v0.0.12 PRIVATE_SOLVER_VERSION=v0.8.4 on master (#5066.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