Commit db85069e authored by protolambda's avatar protolambda

fix devnet genesis tool

parent f48ad1d3
......@@ -45,7 +45,8 @@ const config = {
deploymentWaitConfirmations: 1,
maxSequencerDrift: 10,
sequencerWindowSize: 2,
sequencerWindowSize: 4,
channelTimeout: 40,
ownerAddress: '0x70997970C51812dc3A010C7d01b50e0d17dc79C8',
}
......
......@@ -16,7 +16,8 @@ const config = {
startingTimestamp,
sequencerAddress: '0x70997970C51812dc3A010C7d01b50e0d17dc79C8',
maxSequencerDrift: 10,
sequencerWindowSize: 2,
sequencerWindowSize: 4,
channelTimeout: 40,
ownerAddress: '0x70997970C51812dc3A010C7d01b50e0d17dc79C8',
fundDevAccounts: true,
}
......
......@@ -38,6 +38,7 @@ task('rollup-config', 'create a genesis config')
block_time: deployConfig.l2BlockTime,
max_sequencer_drift: deployConfig.maxSequencerDrift,
seq_window_size: deployConfig.sequencerWindowSize,
channel_timeout: deployConfig.channelTimeout,
l1_chain_id: await getChainId(l1),
l2_chain_id: await getChainId(l2),
......
......@@ -13,6 +13,7 @@ export interface OpNodeConfig {
block_time: number
max_sequencer_drift: number
seq_window_size: number
channel_timeout: number
l1_chain_id: number
l2_chain_id: number
p2p_sequencer_address: string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment