Skip to content

Commit

Permalink
fix indexer core
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchiqing committed Feb 13, 2025
1 parent 0fbe3a2 commit e9fe482
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions module/state_synchronization/indexer/indexer_core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
synctest "github.com/onflow/flow-go/module/state_synchronization/requester/unittest"
"github.com/onflow/flow-go/storage"
storagemock "github.com/onflow/flow-go/storage/mock"
"github.com/onflow/flow-go/storage/operation/badgerimpl"
pebbleStorage "github.com/onflow/flow-go/storage/pebble"
"github.com/onflow/flow-go/utils/unittest"
)
Expand Down Expand Up @@ -221,7 +222,7 @@ func (i *indexCoreTest) initIndexer() *indexCoreTest {
indexer, err := New(
log,
metrics.NewNoopCollector(),
db,
badgerimpl.ToDB(db),
i.registers,
i.headers,
i.events,
Expand Down Expand Up @@ -699,7 +700,7 @@ func TestIndexerIntegration_StoreAndGet(t *testing.T) {
index, err := New(
logger,
metrics,
db,
badgerimpl.ToDB(db),
registers,
nil,
nil,
Expand Down Expand Up @@ -733,7 +734,7 @@ func TestIndexerIntegration_StoreAndGet(t *testing.T) {
index, err := New(
logger,
metrics,
db,
badgerimpl.ToDB(db),
registers,
nil,
nil,
Expand All @@ -760,7 +761,7 @@ func TestIndexerIntegration_StoreAndGet(t *testing.T) {
index, err := New(
logger,
metrics,
db,
badgerimpl.ToDB(db),
registers,
nil,
nil,
Expand Down Expand Up @@ -804,7 +805,7 @@ func TestIndexerIntegration_StoreAndGet(t *testing.T) {
index, err := New(
logger,
metrics,
db,
badgerimpl.ToDB(db),
registers,
nil,
nil,
Expand Down

0 comments on commit e9fe482

Please sign in to comment.