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

safe-global / safe-client-gateway / 9582121482
89%

Build:
DEFAULT BRANCH: main
Ran 19 Jun 2024 12:39PM UTC
Jobs 1
Files 506
Run time 1min
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: 49.231% (-0.04%) from 49.274%
9582121482

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

413 of 2443 branches covered (16.91%)

Branch coverage included in aggregate %.

5 of 11 new or added lines in 2 files covered. (45.45%)

1 existing line in 1 file now uncovered.

4071 of 6665 relevant lines covered (61.08%)

12.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
28.77
-2.81% src/routes/transactions/mappers/common/twap-order.mapper.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
28.77
-2.81% src/routes/transactions/mappers/common/twap-order.mapper.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 9582121482.1 19 Jun 2024 12:39PM UTC 1012
54.02
GitHub Action Run
Source Files on build 9582121482
  • Tree
  • List 506
  • Changed 5
  • Source Changed 3
  • Coverage Changed 142
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9582121482
  • 689396f9 on github
  • Prev Build on main (#9579639391)
  • Next Build on main (#9583024032)
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

© 2025 Coveralls, Inc