Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions eth/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ func New(ctx context.Context, stack *node.Node, config *ethconfig.Config, logger
heimdallClient = heimdall.NewHeimdallClient(config.HeimdallURL, logger)
}

if config.PolygonSync || config.PolygonSyncStage {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to integrate the bridge with a different store for the sync stage integration
will do this separately as part of #11195
for now removing since it breaks the stage integration

if config.PolygonSync {
polygonBridge = bridge.Assemble(config.Dirs.DataDir, logger, consensusConfig.(*borcfg.BorConfig), heimdallClient.FetchStateSyncEvents, bor.GenesisContractStateReceiverABI())
}

Expand Down Expand Up @@ -884,7 +884,6 @@ func New(ctx context.Context, stack *node.Node, config *ethconfig.Config, logger
p2pConfig.MaxPeers,
statusDataProvider,
backend.stopNode,
polygonBridge,
)
backend.syncUnwindOrder = stagedsync.PolygonSyncUnwindOrder
backend.syncPruneOrder = stagedsync.PolygonSyncPruneOrder
Expand Down
Loading