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

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

Build:
DEFAULT BRANCH: main
Ran 24 Jun 2024 09:04AM 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

24 Jun 2024 09:02AM UTC coverage: 48.734% (-0.03%) from 48.767%
9642573892

push

github

web-flow
Add TWAP decoding to confirmation view (#1681)

Adds the relevant decoded to return the `TwapOrderInfo` from the confirmation view endpoint:

- Add `CowSwapTwapConfirmationView` with `COW_SWAP_TWAP_ORDER` `type` 
- Change types of `TwapOrderInfo` to ensure no issue with max. integers/time consistency
  - `numberOfParts`: number -> string
  - `timeBetweenParts`: string -> number
- Add `TwapOrderHelper['twapStructToPartialOrderInfo']` to reduce duplicate code
- Add TWAP decoding to `TransactionsViewService`

415 of 2483 branches covered (16.71%)

Branch coverage included in aggregate %.

36 of 86 new or added lines in 7 files covered. (41.86%)

2 existing lines in 2 files now uncovered.

4107 of 6796 relevant lines covered (60.43%)

13.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
64.91
0.0% src/routes/transactions/entities/swaps/twap-order-info.entity.ts
1
35.0
6.23% src/routes/transactions/mappers/common/twap-order.mapper.ts
4
26.97
-0.31% src/routes/transactions/helpers/swap-order.helper.ts
7
24.44
-5.86% src/routes/transactions/helpers/twap-order.helper.ts
16
17.39
-0.39% src/routes/transactions/transactions-view.service.ts
21
58.59
-4.38% src/routes/transactions/entities/confirmation-view/confirmation-view.entity.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
17.39
-0.39% src/routes/transactions/transactions-view.service.ts
1
35.0
6.23% src/routes/transactions/mappers/common/twap-order.mapper.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 9642573892.1 24 Jun 2024 09:04AM UTC 1012
53.45
GitHub Action Run
Source Files on build 9642573892
  • Tree
  • List 506
  • Changed 9
  • Source Changed 8
  • Coverage Changed 143
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9642573892
  • aa50a4f0 on github
  • Prev Build on main (#9642290658)
  • Next Build on main (#9644961387)
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