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

safe-global / safe-client-gateway / 9582121482 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 19 Jun 2024 12:41PM UTC
Files 1012
Run time 19s
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

19 Jun 2024 12:37PM UTC coverage: 54.023% (-0.04%) from 54.059%
9582121482.1

push

github

web-flow
Limit maximum amount of TWAP parts (#1670)

Limits the number of parts we request up to 11 (confirmed by CoW) - which can be configured by an env. var. (`swaps.maxNumberOfParts`). If there are >11 parts, the final one is used to fetch the status and token information but it means that `executedSellAmount` and `executedBuyAmount` are `null` as we cannot calculate them:

- Add `swaps.maxNumberOfParts` configuration
- Update `TwapOrderInfo['executedSellAmount' | 'executedBuyAmount']` to be `string | null`
- Limit number of parts, fetching only the last if more than the maximum
- Add appropriate test coverage

418 of 2515 branches covered (16.62%)

Branch coverage included in aggregate %.

8142 of 13330 relevant lines covered (61.08%)

6.43 hits per line

Source Files on job run-test:e2e:cov - 9582121482.1
  • Tree
  • List 1012
  • Changed 5
  • Source Changed 3
  • Coverage Changed 142
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 9582121482
  • 689396f9 on github
  • Prev Job for on main (#9579639391.1)
  • Next Job for on main (#9583024032.1)
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