From b203c384e8c8a7293740affb575df30d609275e6 Mon Sep 17 00:00:00 2001 From: StefanIliev545 Date: Thu, 28 Sep 2023 13:52:25 +0300 Subject: [PATCH] Fixed line that was overriding the cfg. --- go/node/config.go | 1 + integration/noderunner/in_memory_node.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/go/node/config.go b/go/node/config.go index 63072834ae..3131294d28 100644 --- a/go/node/config.go +++ b/go/node/config.go @@ -86,6 +86,7 @@ func (c *Config) ToEnclaveConfig() *config.EnclaveConfig { cfg.LogLevel = c.logLevel cfg.Address = fmt.Sprintf("%s:%d", _localhost, c.enclaveWSPort) cfg.DebugNamespaceEnabled = c.debugNamespaceEnabled + cfg.ObscuroGenesis = c.obscuroGenesis if c.nodeType == "sequencer" && c.coinbaseAddress != "" { cfg.GasPaymentAddress = gethcommon.HexToAddress(c.coinbaseAddress) diff --git a/integration/noderunner/in_memory_node.go b/integration/noderunner/in_memory_node.go index f553242093..aa644f7d41 100644 --- a/integration/noderunner/in_memory_node.go +++ b/integration/noderunner/in_memory_node.go @@ -98,7 +98,6 @@ func (d *InMemNode) startHost() error { func (d *InMemNode) startEnclave() error { enclaveCfg := d.cfg.ToEnclaveConfig() - enclaveCfg.ObscuroGenesis = "{}" logger := testlog.Logger().New(log.CmpKey, log.EnclaveCmp, log.NodeIDKey, enclaveCfg.HostID) // if not nil, the node will use the testlog.Logger - NewEnclaveContainerWithLogger will create one otherwise