• 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

0.0
/src/domain/data-decoder/v1/data-decoded.repository.ts
UNCOV
1
import { Inject, Injectable } from '@nestjs/common';
×
2
import { IDataDecodedRepository } from '@/domain/data-decoder/v1/data-decoded.repository.interface';
3
import { DataDecoded } from '@/domain/data-decoder/v1/entities/data-decoded.entity';
UNCOV
4
import { ITransactionApiManager } from '@/domain/interfaces/transaction-api.manager.interface';
×
UNCOV
5
import { DataDecodedSchema } from '@/domain/data-decoder/v1/entities/schemas/data-decoded.schema';
×
6

7
@Injectable()
UNCOV
8
export class DataDecodedRepository implements IDataDecodedRepository {
×
9
  constructor(
10
    @Inject(ITransactionApiManager)
UNCOV
11
    private readonly transactionApiManager: ITransactionApiManager,
×
12
  ) {}
13

14
  async getDataDecoded(args: {
15
    chainId: string;
16
    data: `0x${string}`;
17
    to?: `0x${string}`;
18
  }): Promise<DataDecoded> {
UNCOV
19
    const api = await this.transactionApiManager.getApi(args.chainId);
×
UNCOV
20
    const dataDecoded = await api.getDataDecoded({
×
21
      data: args.data,
22
      to: args.to,
23
    });
UNCOV
24
    return DataDecodedSchema.parse(dataDecoded);
×
25
  }
26
}
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