synapsecns/sanguine

View on GitHub

Showing 1,971 of 13,422 total issues

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

func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Field_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.___Schema_description has 5 return statements (exceeds 4 allowed).
    Open

    func (ec *executionContext) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
        fc, err := ec.fieldContext___Schema_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_kind has 5 return statements (exceeds 4 allowed).
      Open

      func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
          fc, err := ec.fieldContext___Type_kind(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_specifiedByURL has 5 return statements (exceeds 4 allowed).
        Open

        func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
            fc, err := ec.fieldContext___Type_specifiedByURL(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._Transaction_gas_price has 5 return statements (exceeds 4 allowed).
          Open

          func (ec *executionContext) _Transaction_gas_price(ctx context.Context, field graphql.CollectedField, obj *model.Transaction) (ret graphql.Marshaler) {
              fc, err := ec.fieldContext_Transaction_gas_price(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.___InputValue_name has 5 return statements (exceeds 4 allowed).
            Open

            func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
                fc, err := ec.fieldContext___InputValue_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.___InputValue_type has 5 return statements (exceeds 4 allowed).
              Open

              func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
                  fc, err := ec.fieldContext___InputValue_type(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_directives has 5 return statements (exceeds 4 allowed).
                Open

                func (ec *executionContext) ___Schema_directives(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
                    fc, err := ec.fieldContext___Schema_directives(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._Transaction_to has 5 return statements (exceeds 4 allowed).
                  Open

                  func (ec *executionContext) _Transaction_to(ctx context.Context, field graphql.CollectedField, obj *model.Transaction) (ret graphql.Marshaler) {
                      fc, err := ec.fieldContext_Transaction_to(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_possibleTypes has 5 return statements (exceeds 4 allowed).
                    Open

                    func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
                        fc, err := ec.fieldContext___Type_possibleTypes(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_deprecationReason has 5 return statements (exceeds 4 allowed).
                      Open

                      func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
                          fc, err := ec.fieldContext___Field_deprecationReason(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 NewCircleCCTPHandler has 5 return statements (exceeds 4 allowed).
                        Open

                        func NewCircleCCTPHandler(ctx context.Context, cfg config.Config, db db2.CCTPRelayerDB, omniRPCClient omniClient.RPCClient, txSubmitter submitter.TransactionSubmitter, handler metrics.Handler) (CCTPHandler, error) {
                            boundMessageTransmitters := make(map[uint32]*messagetransmitter.MessageTransmitter)
                            for _, chain := range cfg.Chains {
                                cl, err := omniRPCClient.GetConfirmationsClient(ctx, int(chain.ChainID), 1)
                                if err != nil {
                        Severity: Major
                        Found in services/cctp-relayer/relayer/circle.go - About 35 mins to fix

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

                          func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
                              fc, err := ec.fieldContext___Type_ofType(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_locations has 5 return statements (exceeds 4 allowed).
                            Open

                            func (ec *executionContext) ___Directive_locations(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
                                fc, err := ec.fieldContext___Directive_locations(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.___InputValue_defaultValue has 5 return statements (exceeds 4 allowed).
                              Open

                              func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
                                  fc, err := ec.fieldContext___InputValue_defaultValue(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._Log_index has 5 return statements (exceeds 4 allowed).
                                Open

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

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

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

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

                                    func (ec *executionContext) _Query_lastConfirmedBlockNumber(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
                                        fc, err := ec.fieldContext_Query_lastConfirmedBlockNumber(ctx, field)
                                        if err != nil {
                                            return graphql.Null
                                        }
                                    Severity: Major
                                    Found in services/scribe/graphql/server/graph/resolver/server.go - About 35 mins to fix

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

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

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

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