Add heimdall flag

This commit is contained in:
ferranbt 2021-10-18 07:31:48 +00:00
parent 7225eec0f6
commit 2b7bd156cf
2 changed files with 4 additions and 0 deletions

View file

@ -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))

View file

@ -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
{