diff --git a/scripts/config.ts b/scripts/config.ts index 044f0d61..be440671 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": false, "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"] = ""