From a9a46cfd46be30df629716b82b39393fabb5cb62 Mon Sep 17 00:00:00 2001 From: Matt Curtis Date: Tue, 12 Sep 2023 15:22:11 +0100 Subject: [PATCH] missed some --- go/node/config.go | 6 +++--- go/node/docker_node.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go/node/config.go b/go/node/config.go index 581a149ab1..862ab226dd 100644 --- a/go/node/config.go +++ b/go/node/config.go @@ -24,7 +24,7 @@ type Config struct { enclaveImage string hostImage string nodeType string - l1WSRPCAddr string + l1WSURL string sequencerID string privateKey string hostP2PPort int @@ -94,7 +94,7 @@ func (c *Config) ToHostConfig() *config.HostInputConfig { cfg.P2PPublicAddress = fmt.Sprintf("127.0.0.1:%d", c.hostP2PPort) cfg.P2PBindAddress = c.hostPublicP2PAddr - cfg.L1WebsocketURL = c.l1WSRPCAddr + cfg.L1WebsocketURL = c.l1WSURL cfg.ManagementContractAddress = gethcommon.HexToAddress(c.managementContractAddr) cfg.MessageBusAddress = gethcommon.HexToAddress(c.messageBusContractAddress) cfg.LogPath = testlog.LogFile() @@ -202,7 +202,7 @@ func WithL1Start(blockHash string) Option { func WithL1WebsocketURL(addr string) Option { return func(c *Config) { - c.l1WSRPCAddr = addr + c.l1WSURL = addr } } diff --git a/go/node/docker_node.go b/go/node/docker_node.go index 28eecd4496..694559784b 100644 --- a/go/node/docker_node.go +++ b/go/node/docker_node.go @@ -94,7 +94,7 @@ func (d *DockerNode) Upgrade(networkCfg *NetworkConfig) error { func (d *DockerNode) startHost() error { cmd := []string{ "/home/obscuro/go-obscuro/go/host/main/main", - "-l1WSRPCAddress", d.cfg.l1WSRPCAddr, + "-l1WSURL", d.cfg.l1WSURL, "-enclaveRPCAddress", fmt.Sprintf("%s:%d", d.cfg.nodeName+"-enclave", d.cfg.enclaveWSPort), "-managementContractAddress", d.cfg.managementContractAddr, "-messageBusContractAddress", d.cfg.messageBusContractAddress,