From 2bbfa027c07c4d9a4a7bedbeaf35fef78d35604c Mon Sep 17 00:00:00 2001 From: sveitser Date: Tue, 2 Jan 2024 12:38:43 +0100 Subject: [PATCH] Non-sequencer now need to set forwarding target --- scripts/config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/config.ts b/scripts/config.ts index 253aea7e..98915a1f 100644 --- a/scripts/config.ts +++ b/scripts/config.ts @@ -253,6 +253,7 @@ function writeConfigs(argv: any) { validatorConfig.node.staker.enable = true validatorConfig.node.staker["use-smart-contract-wallet"] = true if (argv.espresso) { + validatorConfig.execution["forwarding-target"] = "null" validatorConfig.node["block-validator"]["espresso"] = true // If we don't quote the address it is interpreted as a Number. // The quotes however stick around and make it an invalid address. @@ -284,6 +285,7 @@ function writeConfigs(argv: any) { let posterConfig = JSON.parse(baseConfJSON) posterConfig["parent-chain"].wallet.account = namedAccount("sequencer").address if (argv.espresso) { + posterConfig.execution["forwarding-target"] = "null" posterConfig.node.feed.input.url.push("ws://sequencer:9642") } else { posterConfig.node["seq-coordinator"].enable = true