@@ -47,9 +47,9 @@ config=$(cat << EOL
4747 "l2BlockTime": 2,
4848 "l1BlockTime": 12,
4949
50- "maxSequencerDrift": 300 ,
51- "sequencerWindowSize": 200 ,
52- "channelTimeout": 120 ,
50+ "maxSequencerDrift": 600 ,
51+ "sequencerWindowSize": 3600 ,
52+ "channelTimeout": 300 ,
5353
5454 "p2pSequencerAddress": "$SEQUENCER_ADDRESS ",
5555 "batchInboxAddress": "$BatchInboxAddress ",
@@ -78,50 +78,48 @@ config=$(cat << EOL
7878 "l1FeeVaultWithdrawalNetwork": 0,
7979 "sequencerFeeVaultWithdrawalNetwork": 0,
8080
81+ "gasPriceOracleOverhead": 2100,
82+ "gasPriceOracleScalar": 1000000,
8183 "gasPriceOracleBaseFeeScalar": 1368,
8284 "gasPriceOracleBlobBaseFeeScalar": 810949,
8385
8486$govConfig
8587
88+ "l2GenesisBlockGasLimit": "0x1c9c380",
89+ "l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
90+ "l2GenesisRegolithTimeOffset": "0x0",
91+
8692 "eip1559Denominator": 50,
8793 "eip1559DenominatorCanyon": 250,
8894 "eip1559Elasticity": 6,
8995
90- "l2GenesisBlockGasLimit": "0x1c9c380",
91- "l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
92- "l2GenesisRegolithTimeOffset": "0x0",
93- "l2GenesisDeltaTimeOffset": "0x0",
94- "l2GenesisEcotoneTimeOffset": "0x0",
95- "l1CancunTimeOffset": "0x0",
96+ "l2GenesisDeltaTimeOffset": null,
9697 "l2GenesisCanyonTimeOffset": "0x0",
9798
9899 "systemConfigStartBlock": 0,
99100
100- "requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000 ",
101- "recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000 ",
102-
103- "faultGameAbsolutePrestate": "0x0000000000000000000000000000000000000000000000000000000000000000 ",
104- "faultGameMaxDepth": 50 ,
105- "faultGameClockExtension": 0 ,
106- "faultGameMaxClockDuration": 1200 ,
101+ "requiredProtocolVersion": "0x0000000000000000000000000000000000000004000000000000000000000001 ",
102+ "recommendedProtocolVersion": "0x0000000000000000000000000000000000000004000000000000000000000001 ",
103+ "fundDevAccounts": false,
104+ "faultGameAbsolutePrestate": "0x037ef3c1a487960b0e633d3e513df020c43432769f41a634d18a9595cbf53c55 ",
105+ "faultGameMaxDepth": 73 ,
106+ "faultGameClockExtension": 10800 ,
107+ "faultGameMaxClockDuration": 302400 ,
107108 "faultGameGenesisBlock": 0,
108109 "faultGameGenesisOutputRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
109- "faultGameSplitDepth": 14 ,
110+ "faultGameSplitDepth": 30 ,
110111 "faultGameWithdrawalDelay": 604800,
111-
112- "preimageOracleMinProposalSize": 18000,
113- "preimageOracleChallengePeriod": 120,
114-
115- "fundDevAccounts": false,
116- "useFaultProofs": false,
112+ "preimageOracleMinProposalSize": 126000,
113+ "preimageOracleChallengePeriod": 86400,
117114 "proofMaturityDelaySeconds": 604800,
118- "disputeGameFinalityDelaySeconds": 604800,
119- "respectedGameType": 0
120- }
115+ "disputeGameFinalityDelaySeconds": 302400,
116+ "respectedGameType": 0,
117+ "useFaultProofs": true
118+ }
121119EOL
122120)
123121
124122# Write the config file
125123cd ~ /optimism/packages/contracts-bedrock && \
126124mkdir -p ./deployments/$DEPLOYMENT_CONTEXT && \
127- echo " $config " > ./deployments/$DEPLOYMENT_CONTEXT /config.json
125+ echo " $config " > ./deployments/$DEPLOYMENT_CONTEXT /.deploy
0 commit comments