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

safe-global / safe-client-gateway / 14084650728

26 Mar 2025 01:34PM UTC coverage: 90.809% (+0.2%) from 90.64%
14084650728

push

github

iamacook
refactor: migrate to Safe Decoder Service

3199 of 3828 branches covered (83.57%)

Branch coverage included in aggregate %.

34 of 37 new or added lines in 11 files covered. (91.89%)

14 existing lines in 3 files now uncovered.

11226 of 12057 relevant lines covered (93.11%)

539.49 hits per line

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

80.0
/src/routes/data-decode/data-decoded.service.ts
1
import { Inject, Injectable } from '@nestjs/common';
110✔
2
import { IDataDecoderRepository } from '@/domain/data-decoder/v2/data-decoder.repository.interface';
110✔
3
import { TransactionDataDto } from '@/routes/common/entities/transaction-data.dto.entity';
4
import { DataDecoded } from '@/routes/data-decode/entities/data-decoded.entity';
5

6
@Injectable()
7
export class DataDecodedService {
110✔
8
  constructor(
9
    @Inject(IDataDecoderRepository)
10
    private readonly dataDecoderRepository: IDataDecoderRepository,
1,600✔
11
  ) {}
12

13
  async getDataDecoded(args: {
14
    chainId: string;
15
    getDataDecodedDto: TransactionDataDto;
16
  }): Promise<DataDecoded> {
NEW
17
    return this.dataDecoderRepository.getDecodedData({
×
18
      chainId: args.chainId,
19
      data: args.getDataDecodedDto.data,
20
      to: args.getDataDecodedDto.to,
21
    });
22
  }
23
}
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