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

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

Build:
DEFAULT BRANCH: main
Ran 19 Jun 2024 08:27AM 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 08:25AM UTC coverage: 49.274% (-0.1%) from 49.406%
9578682874

push

github

web-flow
Map TWAP (`createWithContext` call) orders (#1669)

This adds TWAP-specific decoding of `createWithContext` transactions behind a feature flag:

- Add `features.twapsDecoding` feature flag
- Extract re-used values from `Order` entity to relative enums
- Add `TwapOrderInfo` entity
- Add `TransactionInfoType.TwapOrder` type
- Add test-covered `GPv2OrderHelper` for decoding order UIDs (based on CoW Protocol/SDK - linked in code)
- Add test-covered `TwapOrderHelper` for finding/generating parts of TWAP orders (based on CoW Swap app - linked in code)
- Add test-covered `TwapOrderMapper` for mapping TWAP orders

410 of 2430 branches covered (16.87%)

Branch coverage included in aggregate %.

91 of 174 new or added lines in 10 files covered. (52.3%)

4068 of 6658 relevant lines covered (61.1%)

12.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
32.43
0.93% src/routes/transactions/helpers/swap-order.helper.ts
2
24.24
src/domain/swaps/contracts/decoders/composable-cow-decoder.helper.ts
3
72.73
src/routes/transactions/helpers/gp-v2-order.helper.ts
13
30.3
src/routes/transactions/helpers/twap-order.helper.ts
13
21.13
-1.47% src/routes/transactions/mappers/common/transaction-info.mapper.ts
20
64.91
src/routes/transactions/entities/swaps/twap-order-info.entity.ts
31
31.58
src/routes/transactions/mappers/common/twap-order.mapper.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 9578682874.1 19 Jun 2024 08:27AM UTC 1012
54.06
GitHub Action Run
Source Files on build 9578682874
  • Tree
  • List 506
  • Changed 10
  • Source Changed 6
  • Coverage Changed 139
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9578682874
  • 5a04f38d on github
  • Prev Build on main (#9563691273)
  • Next Build on main (#9579639391)
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