diff --git a/beacon-chain/db/kv/blocks.go b/beacon-chain/db/kv/blocks.go index f7b66cb37..fea85b751 100644 --- a/beacon-chain/db/kv/blocks.go +++ b/beacon-chain/db/kv/blocks.go @@ -600,6 +600,8 @@ func createBlockIndicesFromFilters(ctx context.Context, f *filters.QueryFilter) return nil, errors.New("parent root is not []byte") } indicesByBucket[string(blockParentRootIndicesBucket)] = parentRoot + // The following cases are passthroughs for blocks, as they are not used + // for filtering indices. case filters.StartSlot: case filters.EndSlot: case filters.StartEpoch: