@@ -332,6 +332,7 @@ type UpgradeScheduleDeployConfig struct {
332332 // L2GenesisDeltaTimeOffset is the number of seconds after genesis block that Delta hard fork activates.
333333 // Set it to 0 to activate at genesis. Nil to disable Delta.
334334 L2GenesisDeltaTimeOffset * hexutil.Uint64 `json:"l2GenesisDeltaTimeOffset,omitempty"`
335+
335336 // L2GenesisEcotoneTimeOffset is the number of seconds after genesis block that Ecotone hard fork activates.
336337 // Set it to 0 to activate at genesis. Nil to disable Ecotone.
337338 L2GenesisEcotoneTimeOffset * hexutil.Uint64 `json:"l2GenesisEcotoneTimeOffset,omitempty"`
@@ -345,6 +346,10 @@ type UpgradeScheduleDeployConfig struct {
345346 // Set it to 0 to activate at genesis. Nil to disable Interop.
346347 L2GenesisInteropTimeOffset * hexutil.Uint64 `json:"l2GenesisInteropTimeOffset,omitempty"`
347348
349+ // L2GenesisPragueTimeOffset is the number of seconds after genesis block that Ecotone hard fork activates.
350+ // Set it to 0 to activate at genesis. Nil to disable Ecotone.
351+ L2GenesisPragueTimeOffset * hexutil.Uint64 `json:"l2GenesisPragueTimeOffset,omitempty"`
352+
348353 // When Cancun activates. Relative to L1 genesis.
349354 L1CancunTimeOffset * hexutil.Uint64 `json:"l1CancunTimeOffset,omitempty"`
350355
@@ -381,6 +386,10 @@ func (d *UpgradeScheduleDeployConfig) EcotoneTime(genesisTime uint64) *uint64 {
381386 return offsetToUpgradeTime (d .L2GenesisEcotoneTimeOffset , genesisTime )
382387}
383388
389+ func (d * UpgradeScheduleDeployConfig ) PragueTime (genesisTime uint64 ) * uint64 {
390+ return offsetToUpgradeTime (d .L2GenesisPragueTimeOffset , genesisTime )
391+ }
392+
384393func (d * UpgradeScheduleDeployConfig ) FjordTime (genesisTime uint64 ) * uint64 {
385394 return offsetToUpgradeTime (d .L2GenesisFjordTimeOffset , genesisTime )
386395}
@@ -901,6 +910,7 @@ func (d *DeployConfig) RollupConfig(l1StartBlock *types.Block, l2GenesisBlockHas
901910 DeltaTime : d .DeltaTime (l1StartBlock .Time ()),
902911 EcotoneTime : d .EcotoneTime (l1StartBlock .Time ()),
903912 FjordTime : d .FjordTime (l1StartBlock .Time ()),
913+ PragueTime : d .PragueTime (l1StartBlock .Time ()),
904914 GraniteTime : d .GraniteTime (l1StartBlock .Time ()),
905915 InteropTime : d .InteropTime (l1StartBlock .Time ()),
906916 AltDAConfig : altDA ,
0 commit comments