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

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

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2025 07:41AM UTC
Jobs 1
Files 848
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

31 Mar 2025 07:35AM UTC coverage: 90.615% (+0.1%) from 90.482%
14166448460

push

github

web-flow
refactor: migrate to Safe Decoder Service (#2501)

Migrates the domain/route layers to use the [Safe Decoder Service datasource](https://github.com/safe-global/safe-client-gateway/pull/2313). All existing usage of the data decoder of the Transaction Service has been ported to use the new Decoder Service.

Varying transactions fetched from the Transaction Service now use the new validation schema (which matches in structure to the previous one), with the addition of the new `accuracy` field. As the transactions do not have this, it will default to `UNKNOWN`.

The `data-decoder` controller now directs requests to the Decoder Service, requiring `to` and not accepting `value`:

- Update existing route-level `DataDecoded` entity to implement that of the Decoder Service
- Migrate existing entities to use the new `DataDecoded`:
  - Creation transactions
  - Module transactions
  - Multisig transactions
  - Data decoder
- Update test accordingly

3198 of 3828 branches covered (83.54%)

Branch coverage included in aggregate %.

36 of 37 new or added lines in 11 files covered. (97.3%)

14 existing lines in 3 files now uncovered.

10976 of 11814 relevant lines covered (92.91%)

537.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
80.0
-3.33% src/routes/data-decode/data-decoded.service.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.67
2.5% src/routes/transactions/mappers/common/transaction-info.mapper.ts
5
0.0
-100.0% src/domain/data-decoder/v1/data-decoded.repository.interface.ts
8
0.0
-100.0% src/domain/data-decoder/v1/data-decoded.repository.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 14166448460.1 31 Mar 2025 07:41AM UTC 1695
91.56
GitHub Action Run
Source Files on build 14166448460
  • Tree
  • List 848
  • Changed 245
  • Source Changed 17
  • Coverage Changed 238
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #14166448460
  • a3b5505d on github
  • Prev Build on main (#14165744236)
  • Next Build on main (#14168878118)
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