Showing 1,971 of 13,422 total issues
Method executionContext.___Field_args
has 5 return statements (exceeds 4 allowed). Open
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
}
Method executionContext.___Schema_queryType
has 5 return statements (exceeds 4 allowed). Open
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
}
Method executionContext._Query_txSender
has 5 return statements (exceeds 4 allowed). Open
Open
func (ec *executionContext) _Query_txSender(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
fc, err := ec.fieldContext_Query_txSender(ctx, field)
if err != nil {
return graphql.Null
}
Method executionContext._Query_lastIndexed
has 5 return statements (exceeds 4 allowed). Open
Open
func (ec *executionContext) _Query_lastIndexed(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
fc, err := ec.fieldContext_Query_lastIndexed(ctx, field)
if err != nil {
return graphql.Null
}
Method executionContext._Receipt_chain_id
has 5 return statements (exceeds 4 allowed). Open
Open
func (ec *executionContext) _Receipt_chain_id(ctx context.Context, field graphql.CollectedField, obj *model.Receipt) (ret graphql.Marshaler) {
fc, err := ec.fieldContext_Receipt_chain_id(ctx, field)
if err != nil {
return graphql.Null
}
Method executionContext._Receipt_bloom
has 5 return statements (exceeds 4 allowed). Open
Open
func (ec *executionContext) _Receipt_bloom(ctx context.Context, field graphql.CollectedField, obj *model.Receipt) (ret graphql.Marshaler) {
fc, err := ec.fieldContext_Receipt_bloom(ctx, field)
if err != nil {
return graphql.Null
}
Method executionContext._Transaction_gas_fee_cap
has 5 return statements (exceeds 4 allowed). Open
Open
func (ec *executionContext) _Transaction_gas_fee_cap(ctx context.Context, field graphql.CollectedField, obj *model.Transaction) (ret graphql.Marshaler) {
fc, err := ec.fieldContext_Transaction_gas_fee_cap(ctx, field)
if err != nil {
return graphql.Null
}
Method executionContext._Transaction_sender
has 5 return statements (exceeds 4 allowed). Open
Open
func (ec *executionContext) _Transaction_sender(ctx context.Context, field graphql.CollectedField, obj *model.Transaction) (ret graphql.Marshaler) {
fc, err := ec.fieldContext_Transaction_sender(ctx, field)
if err != nil {
return graphql.Null
}
Method executionContext._Transaction_json
has 5 return statements (exceeds 4 allowed). Open
Open
func (ec *executionContext) _Transaction_json(ctx context.Context, field graphql.CollectedField, obj *model.Transaction) (ret graphql.Marshaler) {
fc, err := ec.fieldContext_Transaction_json(ctx, field)
if err != nil {
return graphql.Null
}
Method executionContext.___Type_possibleTypes
has 5 return statements (exceeds 4 allowed). Open
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
}
Method executionContext.___Type_inputFields
has 5 return statements (exceeds 4 allowed). Open
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
}
Function WaitForStart
has 5 return statements (exceeds 4 allowed). Open
Open
func WaitForStart(parentCtx context.Context, port int) error {
ctx, cancel := context.WithTimeout(parentCtx, serverStartTimeout)
defer cancel()
err := retry.WithBackoff(ctx, func(ctx context.Context) error {
Function NewMysqlStore
has 5 return statements (exceeds 4 allowed). Open
Open
func NewMysqlStore(parentCtx context.Context, dbURL string, handler metrics.Handler, skipMigrations bool) (_ *Store, err error) {
logger.Debug("creating mysql store")
scribeLogger.ReportScribeState(0, 0, nil, scribeLogger.CreatingSQLStore)
ctx, span := handler.Tracer().Start(parentCtx, "start-mysql")
defer func() {
Method executionContext.___Type_interfaces
has 5 return statements (exceeds 4 allowed). Open
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
}
Method executionContext.___Field_deprecationReason
has 5 return statements (exceeds 4 allowed). Open
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
}
Method executionContext.___Schema_description
has 5 return statements (exceeds 4 allowed). Open
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
}
Method ChainIndexer.getIndexingRange
has 5 return statements (exceeds 4 allowed). Open
Open
func (c *ChainIndexer) getIndexingRange(parentContext context.Context, configStart uint64, configEnd *uint64, indexer *indexer.Indexer) (uint64, uint64, error) {
var endHeight uint64
startHeight := configStart
// If a range is set in the config, respect those values,
Method executionContext.___Schema_mutationType
has 5 return statements (exceeds 4 allowed). Open
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
}
Method Store.StoreLastConfirmedBlock
has 5 return statements (exceeds 4 allowed). Open
Open
func (s Store) StoreLastConfirmedBlock(ctx context.Context, chainID uint32, blockNumber uint64) error {
entry := LastConfirmedBlockInfo{}
dbTx := s.DB().WithContext(ctx).
Model(&LastConfirmedBlockInfo{}).
Where(&LastConfirmedBlockInfo{
Method LogFetcher.Start
has 5 return statements (exceeds 4 allowed). Open
Open
func (f *LogFetcher) Start(ctx context.Context) error {
for {
select {
case <-ctx.Done():
if ctx.Err() != nil {