synapsecns/sanguine

View on GitHub
ethergo/submitter/suite_test.go

Summary

Maintainability
A
35 mins
Test Coverage

Function NewMysqlStore has 5 return statements (exceeds 4 allowed).
Open

func NewMysqlStore(parentCtx context.Context, dbURL string, handler metrics.Handler) (_ *Store, err error) {
    logger := log.Logger("mysql-store")

    ctx, span := handler.Tracer().Start(parentCtx, "start-mysql")
    defer func() {
Severity: Major
Found in ethergo/submitter/suite_test.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status