From 448d09a55cc6073153c17b4905ccd5a8e809cb89 Mon Sep 17 00:00:00 2001 From: Matt Curtis Date: Mon, 16 Dec 2024 19:22:22 +0000 Subject: [PATCH] local testnet: fix node starter param --- testnet/launcher/docker.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testnet/launcher/docker.go b/testnet/launcher/docker.go index ef37529a8..07e1a0f91 100644 --- a/testnet/launcher/docker.go +++ b/testnet/launcher/docker.go @@ -62,7 +62,7 @@ func (t *Testnet) Start() error { sequencerCfg.Network.L1.L1Contracts.ManagementContract = common.HexToAddress(networkConfig.ManagementContractAddress) sequencerCfg.Network.L1.L1Contracts.MessageBusContract = common.HexToAddress(networkConfig.MessageBusAddress) - sequencerNode := node.NewDockerNode(sequencerCfg, "testnetobscuronet.azurecr.io/obscuronet/host:latest", "testnetobscuronet.azurecr.io/obscuronet/enclave:latest", edgelessDBImage, false, "", 0) + sequencerNode := node.NewDockerNode(sequencerCfg, "testnetobscuronet.azurecr.io/obscuronet/host:latest", "testnetobscuronet.azurecr.io/obscuronet/enclave:latest", edgelessDBImage, false, "", 1) err = sequencerNode.Start() if err != nil { @@ -87,7 +87,7 @@ func (t *Testnet) Start() error { validatorNodeCfg.Network.L1.L1Contracts.ManagementContract = common.HexToAddress(networkConfig.ManagementContractAddress) validatorNodeCfg.Network.L1.L1Contracts.MessageBusContract = common.HexToAddress(networkConfig.MessageBusAddress) - validatorNode := node.NewDockerNode(validatorNodeCfg, "testnetobscuronet.azurecr.io/obscuronet/host:latest", "testnetobscuronet.azurecr.io/obscuronet/enclave:latest", edgelessDBImage, false, "", 0) + validatorNode := node.NewDockerNode(validatorNodeCfg, "testnetobscuronet.azurecr.io/obscuronet/host:latest", "testnetobscuronet.azurecr.io/obscuronet/enclave:latest", edgelessDBImage, false, "", 1) err = validatorNode.Start() if err != nil { return fmt.Errorf("unable to start the obscuro node - %w", err)