From 76d8686390596b4a8c9dab99978e9d3ff49027a0 Mon Sep 17 00:00:00 2001 From: nomaxg Date: Fri, 20 Oct 2023 14:10:40 -0700 Subject: [PATCH 1/2] Fix configuration --- scripts/config.ts | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/scripts/config.ts b/scripts/config.ts index 044f0d61..642f1c8f 100644 --- a/scripts/config.ts +++ b/scripts/config.ts @@ -168,9 +168,12 @@ function writeConfigs(argv: any) { "id": 412346, "info-files": [chainInfoFile], }, + "execution": { + "sequencer": { + "enable": false, + } + }, "node": { - "archive": true, - "forwarding-target": "null", "staker": { "dangerous": { "without-block-validator": false @@ -181,12 +184,7 @@ function writeConfigs(argv: any) { "make-assertion-interval": "10s", "strategy": "MakeNodes", }, - "sequencer": { - "enable": false, - "dangerous": { - "no-coordinator": false - } - }, + "sequencer": true, "delayed-sequencer": { "enable": false }, @@ -246,7 +244,8 @@ function writeConfigs(argv: any) { fs.writeFileSync(path.join(consts.configpath, "unsafe_staker_config.json"), JSON.stringify(unsafeStakerConfig)) let sequencerConfig = JSON.parse(baseConfJSON) - sequencerConfig.node.sequencer.enable = true + sequencerConfig.execution.sequencer.enable = true + sequencerConfig.node.sequencer = true sequencerConfig.node["seq-coordinator"].enable = true sequencerConfig.node["delayed-sequencer"].enable = true fs.writeFileSync(path.join(consts.configpath, "sequencer_config.json"), JSON.stringify(sequencerConfig)) @@ -265,8 +264,8 @@ function writeConfigs(argv: any) { l3Config.chain["info-files"] = [l3ChainInfoFile] l3Config.node.staker.enable = true l3Config.node.staker["use-smart-contract-wallet"] = true - l3Config.node.sequencer.enable = true - l3Config.node.sequencer.dangerous["no-coordinator"] = true + l3Config.node.sequencer = true + l3Config.execution.sequencer.enable = true l3Config.node["delayed-sequencer"].enable = true l3Config.node["batch-poster"].enable = true l3Config.node["batch-poster"]["redis-url"] = "" From 69a8f66315179861ac3084799f81fa3856e19b9d Mon Sep 17 00:00:00 2001 From: nomaxg Date: Fri, 20 Oct 2023 14:15:36 -0700 Subject: [PATCH 2/2] make sequencer default false Signed-off-by: nomaxg --- scripts/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.ts b/scripts/config.ts index 642f1c8f..be440671 100644 --- a/scripts/config.ts +++ b/scripts/config.ts @@ -184,7 +184,7 @@ function writeConfigs(argv: any) { "make-assertion-interval": "10s", "strategy": "MakeNodes", }, - "sequencer": true, + "sequencer": false, "delayed-sequencer": { "enable": false },