Skip to content

Commit 425948a

Browse files
Use new configuration
1 parent b8058ab commit 425948a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,12 @@ function writeL2ReferenceDAConfig(argv: any) {
541541
"key-file": "/data/keys/ecdsa"
542542
},
543543
"validator-contract": argv.validatorAddress,
544+
"parent-chain-node-url": argv.l1url,
544545
},
545546
"provider-server": {
546547
"addr": "0.0.0.0",
547548
"enable-da-writer": true,
548-
}
549+
},
549550
}
550551
const l2ReferenceDAConfigJSON = JSON.stringify(l2ReferenceDAConfig)
551552
fs.writeFileSync(path.join(consts.configpath, "referenceda_provider.json"), l2ReferenceDAConfigJSON)
@@ -746,7 +747,7 @@ export const writeL2ReferenceDAConfigCommand = {
746747
string: true,
747748
describe: "L2 validator contract address",
748749
demandOption: true
749-
}
750+
},
750751
},
751752
handler: (argv: any) => {
752753
writeL2ReferenceDAConfig(argv)

0 commit comments

Comments
 (0)