Skip to content

Commit

Permalink
Non-sequencer now need to set forwarding target
Browse files Browse the repository at this point in the history
  • Loading branch information
sveitser committed Jan 2, 2024
1 parent 2a0d886 commit 2bbfa02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2bbfa02

Please sign in to comment.