From 2b7bd156cfd9434a9df1e503f57b9c66a7c4c4a7 Mon Sep 17 00:00:00 2001 From: ferranbt Date: Mon, 18 Oct 2021 07:31:48 +0000 Subject: [PATCH] Add heimdall flag --- command/server/command.go | 2 ++ command/server/config.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/command/server/command.go b/command/server/command.go index 9e3df6a5fc..77bf246ca1 100644 --- a/command/server/command.go +++ b/command/server/command.go @@ -116,6 +116,8 @@ func (c *Command) Run(args []string) int { return 1 } + log.Info("Heimdall setup", "url", ethCfg.HeimdallURL) + // debug tracing is enabled by default stack.RegisterAPIs(tracers.APIs(backend.APIBackend)) diff --git a/command/server/config.go b/command/server/config.go index 20cfaa5cfb..5f833ff157 100644 --- a/command/server/config.go +++ b/command/server/config.go @@ -358,6 +358,8 @@ func (c *Config) buildEth() (*ethconfig.Config, error) { n := ethconfig.Defaults n.NetworkId = c.chain.NetworkId n.Genesis = c.chain.Genesis + n.HeimdallURL = *c.Heimdall.URL + n.WithoutHeimdall = *c.Heimdall.Without // txpool options {