-
Notifications
You must be signed in to change notification settings - Fork 509
Open
Description
hey guys does this work with prysm beacon because it says it work with prysm and lighthouse but a in explorer main.go it only lets lighthouse
if utils.Config.Indexer.Enabled {
var rpcClient rpc.Client
chainID := new(big.Int).SetUint64(utils.Config.Chain.ClConfig.DepositChainID)
if utils.Config.Indexer.Node.Type == "lighthouse" {
rpcClient, err = rpc.NewLighthouseClient("http://"+cfg.Indexer.Node.Host+":"+cfg.Indexer.Node.Port, chainID)
if err != nil {
utils.LogFatal(err, "new explorer lighthouse client error", 0)
}
} else {
logrus.Fatalf("invalid note type %v specified. supported node types are prysm and lighthouse", utils.Config.Indexer.Node.Type)
}
go services.StartHistoricPriceService()
go exporter.Start(rpcClient)
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels