@@ -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,46 @@ config=$(cat << EOL
7878 "l1FeeVaultWithdrawalNetwork": 0,
7979 "sequencerFeeVaultWithdrawalNetwork": 0,
8080
81- "gasPriceOracleBaseFeeScalar ": 1368 ,
82- "gasPriceOracleBlobBaseFeeScalar ": 810949 ,
81+ "gasPriceOracleOverhead ": 0 ,
82+ "gasPriceOracleScalar ": 1000000 ,
8383
8484$govConfig
8585
86+ "l2GenesisBlockGasLimit": "0x1c9c380",
87+ "l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
88+ "l2GenesisRegolithTimeOffset": "0x0",
89+
8690 "eip1559Denominator": 50,
8791 "eip1559DenominatorCanyon": 250,
8892 "eip1559Elasticity": 6,
8993
90- "l2GenesisBlockGasLimit": "0x1c9c380",
91- "l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
92- "l2GenesisRegolithTimeOffset": "0x0",
93- "l2GenesisDeltaTimeOffset": "0x0",
94- "l2GenesisEcotoneTimeOffset": "0x0",
95- "l1CancunTimeOffset": "0x0",
94+ "l2GenesisDeltaTimeOffset": null,
9695 "l2GenesisCanyonTimeOffset": "0x0",
9796
9897 "systemConfigStartBlock": 0,
9998
100- "requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000 ",
101- "recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000 ",
102-
103- "faultGameAbsolutePrestate": "0x0000000000000000000000000000000000000000000000000000000000000000 ",
104- "faultGameMaxDepth": 50 ,
105- "faultGameClockExtension": 0 ,
106- "faultGameMaxClockDuration": 1200 ,
99+ "requiredProtocolVersion": "0x0000000000000000000000000000000000000004000000000000000000000001 ",
100+ "recommendedProtocolVersion": "0x0000000000000000000000000000000000000004000000000000000000000001 ",
101+ "fundDevAccounts": false,
102+ "faultGameAbsolutePrestate": "0x037ef3c1a487960b0e633d3e513df020c43432769f41a634d18a9595cbf53c55 ",
103+ "faultGameMaxDepth": 73 ,
104+ "faultGameClockExtension": 10800 ,
105+ "faultGameMaxClockDuration": 302400 ,
107106 "faultGameGenesisBlock": 0,
108107 "faultGameGenesisOutputRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
109- "faultGameSplitDepth": 14 ,
108+ "faultGameSplitDepth": 30 ,
110109 "faultGameWithdrawalDelay": 604800,
111-
112- "preimageOracleMinProposalSize": 18000,
113- "preimageOracleChallengePeriod": 120,
114-
115- "fundDevAccounts": false,
116- "useFaultProofs": false,
110+ "preimageOracleMinProposalSize": 126000,
111+ "preimageOracleChallengePeriod": 86400,
117112 "proofMaturityDelaySeconds": 604800,
118- "disputeGameFinalityDelaySeconds": 604800,
119- "respectedGameType": 0
120- }
113+ "disputeGameFinalityDelaySeconds": 302400,
114+ "respectedGameType": 0,
115+ "useFaultProofs": true
116+ }
121117EOL
122118)
123119
124120# Write the config file
125121cd ~ /optimism/packages/contracts-bedrock && \
126122mkdir -p ./deployments/$DEPLOYMENT_CONTEXT && \
127- echo " $config " > ./deployments/$DEPLOYMENT_CONTEXT /config.json
123+ echo " $config " > ./deployments/$DEPLOYMENT_CONTEXT /.deploy
0 commit comments