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

safe-global / safe-client-gateway / 8267913444
94%
main: 89%

Build:
Build:
LAST BUILD BRANCH: feat/enable-zerion-globally
DEFAULT BRANCH: main
Ran 13 Mar 2024 04:11PM UTC
Jobs 2
Files 578
Run time 2min
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

13 Mar 2024 04:09PM UTC coverage: 93.686% (-0.01%) from 93.697%
8267913444

Pull #1299

github

fmrsabino
Add support for decoding CoW Swap orders

- Adds `SwapOrderMapper` – this mapper will attempt to decode transactions that represent a `preSignature` CoW Swap order.
- Successful decoding depends on multiple conditions. If any of the following conditions occurs, the transaction is mapped to a custom transaction instead (i.e.: without any decoding in place):
  * Transaction data is null
  * Order UID cannot be retrieved
  * Buy or Sell token info cannot be retrieved
  * Unsupported order statuses (statuses which are not `fulfilled`, `open`, `cancelled` or `expired`).
- Adds an `orderBuilder` to support creating multiple instances of `Order` with different properties.
- The decoding of CoW Swap orders is only available if `FF_SWAPS_DECODING` is enabled.
Pull Request #1299: Add support for decoding CoW Swap orders

1829 of 2182 branches covered (83.82%)

Branch coverage included in aggregate %.

104 of 109 new or added lines in 8 files covered. (95.41%)

6466 of 6672 relevant lines covered (96.91%)

348.24 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
55.56
2.61% src/domain/swaps/contracts/decoders/set-pre-signature-decoder.helper.ts
1
82.17
0.48% src/routes/transactions/mappers/common/transaction-info.mapper.ts
3
89.02
src/routes/transactions/mappers/common/swap-order.mapper.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 8267913444.1 13 Mar 2024 04:11PM UTC 992
50.77
GitHub Action Run
2 run-test:cov - 8267913444.2 13 Mar 2024 04:13PM UTC 1145
94.41
GitHub Action Run
Source Files on build 8267913444
  • Tree
  • List 578
  • Changed 96
  • Source Changed 7
  • Coverage Changed 152
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #8267913444
  • Pull Request #1299
  • PR Base - update-order-schema (#8267898159)
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