Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function writeConfigs(argv: any) {
"dangerous": {
"without-block-validator": false
},
"parent-chain-wallet" : {
"parent-chain-wallet": {
"account": namedAddress("validator"),
"password": consts.l1passphrase,
"pathname": consts.l1keystore,
Expand All @@ -204,6 +204,9 @@ function writeConfigs(argv: any) {
"strategy": "MakeNodes",
},
"sequencer": false,
"transaction-streamer": {
"track-block-metadata-from": 0
},
"dangerous": {
"no-sequencer-coordinator": false,
"disable-blob-reader": true,
Expand All @@ -226,7 +229,7 @@ function writeConfigs(argv: any) {
"redis-url": argv.redisUrl,
"max-delay": "30s",
"l1-block-bound": "ignore",
"parent-chain-wallet" : {
"parent-chain-wallet": {
"account": namedAddress("sequencer"),
"password": consts.l1passphrase,
"pathname": consts.l1keystore,
Expand Down Expand Up @@ -285,6 +288,7 @@ function writeConfigs(argv: any) {
simpleConfig.node.staker["use-smart-contract-wallet"] = true
simpleConfig.node.staker.dangerous["without-block-validator"] = true
simpleConfig.node.sequencer = true
simpleConfig.node["transaction-streamer"]["track-block-metadata-from"] = 1
simpleConfig.node.dangerous["no-sequencer-coordinator"] = true
simpleConfig.node["delayed-sequencer"].enable = true
simpleConfig.node["batch-poster"].enable = true
Expand All @@ -307,6 +311,7 @@ function writeConfigs(argv: any) {

let sequencerConfig = JSON.parse(baseConfJSON)
sequencerConfig.node.sequencer = true
sequencerConfig.node["transaction-streamer"]["track-block-metadata-from"] = 1
sequencerConfig.node["seq-coordinator"].enable = true
sequencerConfig.execution["sequencer"].enable = true
sequencerConfig.node["delayed-sequencer"].enable = true
Expand All @@ -331,6 +336,7 @@ function writeConfigs(argv: any) {
l3Config.node.staker.enable = true
l3Config.node.staker["use-smart-contract-wallet"] = true
l3Config.node.sequencer = true
l3Config.node["transaction-streamer"]["track-block-metadata-from"] = 1
l3Config.execution["sequencer"].enable = true
l3Config.node["dangerous"]["no-sequencer-coordinator"] = true
l3Config.node["delayed-sequencer"].enable = true
Expand Down Expand Up @@ -520,9 +526,9 @@ export const writeConfigCommand = {
describe: "writes config files",
builder: {
simple: {
boolean: true,
describe: "simple config (sequencer is also poster, validator)",
default: false,
boolean: true,
describe: "simple config (sequencer is also poster, validator)",
default: false,
},
anytrust: {
boolean: true,
Expand All @@ -540,7 +546,7 @@ export const writeConfigCommand = {
default: ""
},

},
},
handler: (argv: any) => {
writeConfigs(argv)
}
Expand Down Expand Up @@ -616,8 +622,8 @@ export const writeL2DASKeysetConfigCommand = {
describe: "DAS committee member B BLS pub key",
default: ""
},
},
},
handler: (argv: any) => {
writeL2DASKeysetConfig(argv)
writeL2DASKeysetConfig(argv)
}
}
Loading