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

safe-global / safe-client-gateway / 14166448460

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/domain/data-decoder/v1/data-decoded.repository.interface.ts


Source Not Available

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

© 2026 Coveralls, Inc