synapsecns/sanguine

View on GitHub

Showing 1,971 of 13,422 total issues

Method executionContext.___InputValue_description has 5 return statements (exceeds 4 allowed).
Open

func (ec *executionContext) ___InputValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___InputValue_description(ctx, field)
    if err != nil {
        return graphql.Null
    }
Severity: Major
Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

    Method executionContext.___Type_description has 5 return statements (exceeds 4 allowed).
    Open

    func (ec *executionContext) ___Type_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
        fc, err := ec.fieldContext___Type_description(ctx, field)
        if err != nil {
            return graphql.Null
        }
    Severity: Major
    Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

      Method executionContext.___Type_fields has 5 return statements (exceeds 4 allowed).
      Open

      func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
          fc, err := ec.fieldContext___Type_fields(ctx, field)
          if err != nil {
              return graphql.Null
          }
      Severity: Major
      Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

        Method executionContext.___Type_interfaces has 5 return statements (exceeds 4 allowed).
        Open

        func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
            fc, err := ec.fieldContext___Type_interfaces(ctx, field)
            if err != nil {
                return graphql.Null
            }
        Severity: Major
        Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

          Method executionContext.___Directive_args has 5 return statements (exceeds 4 allowed).
          Open

          func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
              fc, err := ec.fieldContext___Directive_args(ctx, field)
              if err != nil {
                  return graphql.Null
              }
          Severity: Major
          Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

            Method executionContext.___Schema_types has 5 return statements (exceeds 4 allowed).
            Open

            func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
                fc, err := ec.fieldContext___Schema_types(ctx, field)
                if err != nil {
                    return graphql.Null
                }
            Severity: Major
            Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

              Method executionContext.___EnumValue_isDeprecated has 5 return statements (exceeds 4 allowed).
              Open

              func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
                  fc, err := ec.fieldContext___EnumValue_isDeprecated(ctx, field)
                  if err != nil {
                      return graphql.Null
                  }
              Severity: Major
              Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

                Method executionContext.___Schema_mutationType has 5 return statements (exceeds 4 allowed).
                Open

                func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
                    fc, err := ec.fieldContext___Schema_mutationType(ctx, field)
                    if err != nil {
                        return graphql.Null
                    }
                Severity: Major
                Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

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

                  func registerObservableMetrics(handler metrics.Handler, conn db.ConsumerDBReader) error {
                      meter := handler.Meter(meterName)
                      pendingGauge, err := meter.Int64ObservableGauge(pendingName)
                  
                      if err != nil {
                  Severity: Major
                  Found in services/explorer/api/server.go - About 35 mins to fix

                    Method executionContext.___Schema_subscriptionType has 5 return statements (exceeds 4 allowed).
                    Open

                    func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
                        fc, err := ec.fieldContext___Schema_subscriptionType(ctx, field)
                        if err != nil {
                            return graphql.Null
                        }
                    Severity: Major
                    Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

                      Method executionContext.___Type_name has 5 return statements (exceeds 4 allowed).
                      Open

                      func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
                          fc, err := ec.fieldContext___Type_name(ctx, field)
                          if err != nil {
                              return graphql.Null
                          }
                      Severity: Major
                      Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

                        Method executionContext.___Directive_name has 5 return statements (exceeds 4 allowed).
                        Open

                        func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
                            fc, err := ec.fieldContext___Directive_name(ctx, field)
                            if err != nil {
                                return graphql.Null
                            }
                        Severity: Major
                        Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

                          Method executionContext.___Directive_isRepeatable has 5 return statements (exceeds 4 allowed).
                          Open

                          func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
                              fc, err := ec.fieldContext___Directive_isRepeatable(ctx, field)
                              if err != nil {
                                  return graphql.Null
                              }
                          Severity: Major
                          Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

                            Method executionContext.___Schema_queryType has 5 return statements (exceeds 4 allowed).
                            Open

                            func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
                                fc, err := ec.fieldContext___Schema_queryType(ctx, field)
                                if err != nil {
                                    return graphql.Null
                                }
                            Severity: Major
                            Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

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

                              func NewSwapParser(consumerDB db.ConsumerDB, swapAddress common.Address, metaSwap bool, consumerFetcher fetcher.ScribeFetcher, swapService fetcher.SwapService, tokenDataService tokendata.Service, tokenPriceService tokenprice.Service) (*SwapParser, error) {
                                  var filterer *swap.SwapFlashLoanFilterer
                                  var filtererMetaSwap *metaswap.MetaSwapFilterer
                                  var err error
                                  if metaSwap {
                              Severity: Major
                              Found in services/explorer/consumer/parser/swapparser.go - About 35 mins to fix

                                Method executionContext._Transaction_page has 5 return statements (exceeds 4 allowed).
                                Open

                                func (ec *executionContext) _Transaction_page(ctx context.Context, field graphql.CollectedField, obj *model.Transaction) (ret graphql.Marshaler) {
                                    fc, err := ec.fieldContext_Transaction_page(ctx, field)
                                    if err != nil {
                                        return graphql.Null
                                    }
                                Severity: Major
                                Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

                                  Method executionContext.___Field_description has 5 return statements (exceeds 4 allowed).
                                  Open

                                  func (ec *executionContext) ___Field_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
                                      fc, err := ec.fieldContext___Field_description(ctx, field)
                                      if err != nil {
                                          return graphql.Null
                                      }
                                  Severity: Major
                                  Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

                                    Method executionContext.___Type_enumValues has 5 return statements (exceeds 4 allowed).
                                    Open

                                    func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
                                        fc, err := ec.fieldContext___Type_enumValues(ctx, field)
                                        if err != nil {
                                            return graphql.Null
                                        }
                                    Severity: Major
                                    Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

                                      Method executionContext.___Field_args has 5 return statements (exceeds 4 allowed).
                                      Open

                                      func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
                                          fc, err := ec.fieldContext___Field_args(ctx, field)
                                          if err != nil {
                                              return graphql.Null
                                          }
                                      Severity: Major
                                      Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix

                                        Method executionContext.___Type_inputFields has 5 return statements (exceeds 4 allowed).
                                        Open

                                        func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
                                            fc, err := ec.fieldContext___Type_inputFields(ctx, field)
                                            if err != nil {
                                                return graphql.Null
                                            }
                                        Severity: Major
                                        Found in services/explorer/consumer/client/resolver-client/server.go - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language