Skip to content

Commit

Permalink
fix(nodebuilder): fix exchange test
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Sep 5, 2023
1 parent 383275e commit 2712e73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nodebuilder/header/module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"github.com/celestiaorg/go-header/sync"

"github.com/celestiaorg/celestia-node/header"
"github.com/celestiaorg/celestia-node/libs/pidstore"
"github.com/celestiaorg/celestia-node/nodebuilder/node"
modp2p "github.com/celestiaorg/celestia-node/nodebuilder/p2p"
)
Expand Down Expand Up @@ -94,6 +95,8 @@ func TestConstructModule_ExchangeParams(t *testing.T) {
var exchangeServer *p2p.ExchangeServer[*header.ExtendedHeader]

app := fxtest.New(t,
fx.Provide(pidstore.NewPeerIDStore),
fx.Provide(context.Background),
fx.Supply(modp2p.Private),
fx.Supply(modp2p.Bootstrappers{}),
fx.Provide(libp2p.New),
Expand Down

0 comments on commit 2712e73

Please sign in to comment.