Skip to content

Commit

Permalink
fix(nodebuilder/pruner): Provide archival if no pruner enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Mar 18, 2024
1 parent 9d81ca1 commit 15a2d9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nodebuilder/pruner/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (

"github.com/celestiaorg/celestia-node/nodebuilder/node"
"github.com/celestiaorg/celestia-node/pruner"
"github.com/celestiaorg/celestia-node/pruner/archival"
"github.com/celestiaorg/celestia-node/pruner/full"
"github.com/celestiaorg/celestia-node/pruner/light"
"github.com/celestiaorg/celestia-node/share/eds"
Expand All @@ -29,7 +30,7 @@ func ConstructModule(tp node.Type, cfg *Config) fx.Option {
case node.Full, node.Bridge:
return fx.Options(
baseComponents,
fx.Supply(full.Window),
fx.Supply(archival.Window),
)
default:
panic("unknown node type")
Expand Down

0 comments on commit 15a2d9f

Please sign in to comment.