Skip to content

Commit

Permalink
Fixed line that was overriding the cfg.
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanIliev545 committed Sep 28, 2023
1 parent 15eae2e commit b203c38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions go/node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion integration/noderunner/in_memory_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b203c38

Please sign in to comment.