@@ -624,6 +624,8 @@ func (cfg SystemConfig) Start(t *testing.T, startOpts ...StartOption) (*System,
624624
625625 // sanity-check the deploy config
626626 require .Nil (t , cfg .DeployConfig .L2GenesisJovianTimeOffset , "Jovian is not supported in op-e2e tests yet" )
627+ // espressoOffset := hexutil.Uint64(0)
628+ // cfg.DeployConfig.L2GenesisEspressoCeloIntegrationTimeOffset = &espressoOffset
627629
628630 if err := cfg .DeployConfig .Check (cfg .Loggers ["config-check" ]); err != nil {
629631 return nil , err
@@ -711,31 +713,31 @@ func (cfg SystemConfig) Start(t *testing.T, startOpts ...StartOption) (*System,
711713 L2Time : uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp ),
712714 SystemConfig : e2eutils .SystemConfigFromDeployConfig (cfg .DeployConfig ),
713715 },
714- BlockTime : cfg .DeployConfig .L2BlockTime ,
715- MaxSequencerDrift : cfg .DeployConfig .MaxSequencerDrift ,
716- SeqWindowSize : cfg .DeployConfig .SequencerWindowSize ,
717- ChannelTimeoutBedrock : cfg .DeployConfig .ChannelTimeoutBedrock ,
718- L1ChainID : cfg .L1ChainIDBig (),
719- L2ChainID : cfg .L2ChainIDBig (),
720- BatchInboxAddress : cfg .DeployConfig .BatchInboxAddress ,
721- BatchAuthenticatorAddress : cfg .DeployConfig .BatchAuthenticatorAddress ,
722- DepositContractAddress : cfg .DeployConfig .OptimismPortalProxy ,
723- L1SystemConfigAddress : cfg .DeployConfig .SystemConfigProxy ,
724- RegolithTime : cfg .DeployConfig .RegolithTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
725- CanyonTime : cfg .DeployConfig .CanyonTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
726- DeltaTime : cfg .DeployConfig .DeltaTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
727- EcotoneTime : cfg .DeployConfig .EcotoneTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
728- FjordTime : cfg .DeployConfig .FjordTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
729- GraniteTime : cfg .DeployConfig .GraniteTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
730- HoloceneTime : cfg .DeployConfig .HoloceneTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
731- PectraBlobScheduleTime : cfg .DeployConfig .PectraBlobScheduleTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
732- IsthmusTime : cfg .DeployConfig .IsthmusTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
733- JovianTime : cfg .DeployConfig .JovianTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
734- InteropTime : cfg .DeployConfig .InteropTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
735- Cel2Time : cfg .DeployConfig .RegolithTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
716+ BlockTime : cfg .DeployConfig .L2BlockTime ,
717+ MaxSequencerDrift : cfg .DeployConfig .MaxSequencerDrift ,
718+ SeqWindowSize : cfg .DeployConfig .SequencerWindowSize ,
719+ ChannelTimeoutBedrock : cfg .DeployConfig .ChannelTimeoutBedrock ,
720+ L1ChainID : cfg .L1ChainIDBig (),
721+ L2ChainID : cfg .L2ChainIDBig (),
722+ BatchInboxAddress : cfg .DeployConfig .BatchInboxAddress ,
723+ BatchAuthenticatorAddress : cfg .DeployConfig .BatchAuthenticatorAddress ,
724+ DepositContractAddress : cfg .DeployConfig .OptimismPortalProxy ,
725+ L1SystemConfigAddress : cfg .DeployConfig .SystemConfigProxy ,
726+ RegolithTime : cfg .DeployConfig .RegolithTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
727+ CanyonTime : cfg .DeployConfig .CanyonTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
728+ DeltaTime : cfg .DeployConfig .DeltaTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
729+ EcotoneTime : cfg .DeployConfig .EcotoneTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
730+ FjordTime : cfg .DeployConfig .FjordTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
731+ GraniteTime : cfg .DeployConfig .GraniteTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
732+ HoloceneTime : cfg .DeployConfig .HoloceneTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
733+ PectraBlobScheduleTime : cfg .DeployConfig .PectraBlobScheduleTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
734+ IsthmusTime : cfg .DeployConfig .IsthmusTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
735+ JovianTime : cfg .DeployConfig .JovianTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
736+ InteropTime : cfg .DeployConfig .InteropTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
737+ Cel2Time : cfg .DeployConfig .RegolithTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
736738 EspressoCeloIntegrationTime : cfg .DeployConfig .EspressoCeloIntegrationTime (uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )),
737- ProtocolVersionsAddress : cfg .L1Deployments .ProtocolVersionsProxy ,
738- AltDAConfig : rollupAltDAConfig ,
739+ ProtocolVersionsAddress : cfg .L1Deployments .ProtocolVersionsProxy ,
740+ AltDAConfig : rollupAltDAConfig ,
739741 ChainOpConfig : & params.OptimismConfig {
740742 EIP1559Elasticity : cfg .DeployConfig .EIP1559Elasticity ,
741743 EIP1559Denominator : cfg .DeployConfig .EIP1559Denominator ,
@@ -748,6 +750,9 @@ func (cfg SystemConfig) Start(t *testing.T, startOpts ...StartOption) (*System,
748750 return nil , err
749751 }
750752 sys .RollupConfig = & defaultConfig
753+ timestamp := uint64 (cfg .DeployConfig .L1GenesisBlockTimestamp )
754+ sys .RollupConfig .EspressoCeloIntegrationTime = & timestamp
755+ log .Info ("Setting EspressoCeloIntegrationTime" , "espressoCeloIntegrationTime" , sys .RollupConfig .EspressoCeloIntegrationTime , "l1GenesisBlockTimestamp" , cfg .DeployConfig .L1GenesisBlockTimestamp )
751756
752757 // Create a fake Beacon node to hold on to blobs created by the L1 miner, and to serve them to L2
753758 bcn := fakebeacon .NewBeacon (testlog .Logger (t , log .LevelInfo ).New ("role" , "l1_cl" ),
0 commit comments