synapsecns/sanguine

View on GitHub
services/rfq/relayer/relapi/server.go

Summary

Maintainability
A
1 hr
Test Coverage

Function NewRelayerAPI has 11 return statements (exceeds 4 allowed).
Open

func NewRelayerAPI(
    ctx context.Context,
    cfg relconfig.Config,
    handler metrics.Handler,
    omniRPCClient omniClient.RPCClient,
Severity: Major
Found in services/rfq/relayer/relapi/server.go - About 1 hr to fix

    Function NewRelayerAPI has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        ctx context.Context,
        cfg relconfig.Config,
        handler metrics.Handler,
        omniRPCClient omniClient.RPCClient,
        store reldb.Service,
    Severity: Minor
    Found in services/rfq/relayer/relapi/server.go - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status