synapsecns/sanguine

View on GitHub
services/explorer/graphql/server/gin.go

Summary

Maintainability
A
1 hr
Test Coverage

Function EnableGraphql has 10 arguments (exceeds 4 allowed). Consider refactoring.
Open

func EnableGraphql(engine *gin.Engine, consumerDB db.ConsumerDB, fetcher fetcher.ScribeFetcher, apiCache cache.Service, clients map[uint32]etherClient.EVM, parsers *types.ServerParsers, refs *types.ServerRefs, swapFilters map[string]*swap.SwapFlashLoanFilterer, config serverConfig.Config, handler metrics.Handler) {
Severity: Major
Found in services/explorer/graphql/server/gin.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status