From 98c46e317d2c677f56b86b5ec732e9f6868fba7b Mon Sep 17 00:00:00 2001 From: Matt Curtis Date: Wed, 27 Mar 2024 14:55:27 +0000 Subject: [PATCH] update missed enclave flag usage --- go/node/docker_node.go | 2 +- testnet/docker-compose.debug.yml | 2 +- testnet/docker-compose.non-sgx.yml | 2 +- testnet/docker-compose.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go/node/docker_node.go b/go/node/docker_node.go index 553cc0453d..4a797aaffc 100644 --- a/go/node/docker_node.go +++ b/go/node/docker_node.go @@ -95,7 +95,7 @@ func (d *DockerNode) startHost() error { cmd := []string{ "/home/obscuro/go-obscuro/go/host/main/main", "-l1WSURL", d.cfg.l1WSURL, - "-enclaveRPCAddress", fmt.Sprintf("%s:%d", d.cfg.nodeName+"-enclave", d.cfg.enclaveWSPort), + "-enclaveRPCAddresses", fmt.Sprintf("%s:%d", d.cfg.nodeName+"-enclave", d.cfg.enclaveWSPort), "-managementContractAddress", d.cfg.managementContractAddr, "-messageBusContractAddress", d.cfg.messageBusContractAddress, "-l1Start", d.cfg.l1Start, diff --git a/testnet/docker-compose.debug.yml b/testnet/docker-compose.debug.yml index 586eb77d32..024e4d8acf 100644 --- a/testnet/docker-compose.debug.yml +++ b/testnet/docker-compose.debug.yml @@ -26,7 +26,7 @@ services: "/home/obscuro/go-obscuro/go/host/main/main", "--l1NodeHost=$L1HOST", "--l1NodePort=$L1PORT", - "--enclaveRPCAddress=enclave:11000", + "--enclaveRPCAddresses=enclave:11000", "--managementContractAddress=$MGMTCONTRACTADDR", "--messageBusContractAddress=$MSGBUSCONTRACTADDR", "--privateKey=$PKSTRING", diff --git a/testnet/docker-compose.non-sgx.yml b/testnet/docker-compose.non-sgx.yml index 94cc45dc26..caffd32fbc 100644 --- a/testnet/docker-compose.non-sgx.yml +++ b/testnet/docker-compose.non-sgx.yml @@ -27,7 +27,7 @@ services: "/home/obscuro/go-obscuro/go/host/main/main", "--l1NodeHost=$L1HOST", "--l1NodePort=$L1PORT", - "--enclaveRPCAddress=enclave:11000", + "--enclaveRPCAddresses=enclave:11000", "--managementContractAddress=$MGMTCONTRACTADDR", "--privateKey=$PKSTRING", "--clientRPCHost=0.0.0.0", diff --git a/testnet/docker-compose.yml b/testnet/docker-compose.yml index 5fa3c8dab1..51dd5d88ce 100644 --- a/testnet/docker-compose.yml +++ b/testnet/docker-compose.yml @@ -41,7 +41,7 @@ services: "/home/obscuro/go-obscuro/go/host/main/main", "--l1NodeHost=$L1HOST", "--l1NodePort=$L1PORT", - "--enclaveRPCAddress=enclave:11000", + "--enclaveRPCAddresses=enclave:11000", "--managementContractAddress=$MGMTCONTRACTADDR", "--privateKey=$PKSTRING", "--clientRPCHost=0.0.0.0",