diff --git a/go/host/container/cli.go b/go/host/container/cli.go index 7326b09285..eb8d57f4af 100644 --- a/go/host/container/cli.go +++ b/go/host/container/cli.go @@ -27,7 +27,7 @@ type HostConfigToml struct { EnclaveRPCAddress string P2PBindAddress string P2PPublicAddress string - L1WSRPCAddress string + L1WebsocketRPCAddress string EnclaveRPCTimeout int L1RPCTimeout int P2PConnectionTimeout int @@ -179,7 +179,7 @@ func fileBasedConfig(configPath string) (*config.HostInputConfig, error) { EnclaveRPCAddress: tomlConfig.EnclaveRPCAddress, P2PBindAddress: tomlConfig.P2PBindAddress, P2PPublicAddress: tomlConfig.P2PPublicAddress, - L1WebsocketRPCAddress: tomlConfig.L1WSRPCAddress, + L1WebsocketRPCAddress: tomlConfig.L1WebsocketRPCAddress, EnclaveRPCTimeout: time.Duration(tomlConfig.EnclaveRPCTimeout) * time.Second, L1RPCTimeout: time.Duration(tomlConfig.L1RPCTimeout) * time.Second, P2PConnectionTimeout: time.Duration(tomlConfig.P2PConnectionTimeout) * time.Second, diff --git a/go/host/container/test.toml b/go/host/container/test.toml index 0e5fbfd916..8b6e8a7664 100644 --- a/go/host/container/test.toml +++ b/go/host/container/test.toml @@ -10,8 +10,7 @@ EnclaveRPCTimeout = 10 P2PBindAddress = "0.0.0.0:10000" P2PPublicAddress = "127.0.0.1:10000" P2PConnectionTimeout = 777 -L1NodeHost = "127.0.0.1" -L1NodeWebsocketPort = 8546 +L1WebsocketRPCAddress = "ws://127.0.0.1:8546" L1RPCTimeout = 15 ManagementContractAddress = "" LogLevel = 3