diff --git a/orbit-actions b/orbit-actions index e7535cde..bd0f7444 160000 --- a/orbit-actions +++ b/orbit-actions @@ -1 +1 @@ -Subproject commit e7535cde6891a911dd28adcbb16e4f4bd3a57927 +Subproject commit bd0f74443e0b6e081cf7ad6c4ca1a04093dc31e7 diff --git a/scripts/config.ts b/scripts/config.ts index ab5dd459..c64d6f63 100644 --- a/scripts/config.ts +++ b/scripts/config.ts @@ -302,7 +302,7 @@ function writeConfigs(argv: any) { if (argv.espresso) { let config = baseConfig as any; - config.node["batch-poster"]["hotshot-url"] = ""; + config.node["batch-poster"]["hotshot-urls"] = ""; config.node["batch-poster"]["light-client-address"] = ""; } @@ -328,7 +328,7 @@ function writeConfigs(argv: any) { } if (argv.espresso) { simpleConfig.node.feed.output.enable = true; - simpleConfig.node["batch-poster"]["hotshot-url"] = argv.espressoUrl; + simpleConfig.node["batch-poster"]["hotshot-urls"] = [argv.espressoUrl]; simpleConfig.node["batch-poster"]["light-client-address"] = argv.lightClientAddress; simpleConfig.node["block-validator"]["dangerous"][ @@ -442,7 +442,7 @@ function writeConfigs(argv: any) { let posterConfig = JSON.parse(baseConfJSON); if (argv.espresso) { posterConfig.node.feed.input.url.push("ws://sequencer:9642"); - posterConfig.node["batch-poster"]["hotshot-url"] = argv.espressoUrl; + posterConfig.node["batch-poster"]["hotshot-urls"] = [argv.espressoUrl]; posterConfig.node["batch-poster"]["light-client-address"] = argv.lightClientAddress; } else { @@ -480,7 +480,7 @@ function writeConfigs(argv: any) { l3Config.node.feed.output.enable = true; l3Config.node.dangerous["no-sequencer-coordinator"] = true; l3Config.node.feed.input.url.push("ws://sequencer:9642"); - l3Config.node["batch-poster"]["hotshot-url"] = argv.espressoUrl; + l3Config.node["batch-poster"]["hotshot-urls"] = [argv.espressoUrl]; l3Config.node["batch-poster"]["light-client-address"] = argv.lightClientAddress; }