require.LessOrEqual(t,l2VerHead.Time()+cfg.L1BlockTime*verConfDepth,l2SeqHead.Time(),"the L2 verifier head should lag behind the sequencer without delay by at least the verifier conf depth")
}
// TestFinalize tests if L2 finalizes after sufficient time after L1 finalizes
funcTestFinalize(t*testing.T){
if!verboseGethNodes{
log.Root().SetHandler(log.DiscardHandler())
}
cfg:=defaultSystemConfig(t)
sys,err:=cfg.start()
require.Nil(t,err,"Error starting up system")
defersys.Close()
l2Seq:=sys.Clients["sequencer"]
// as configured in the extra geth lifecycle in testing setup
finalizedDistance:=uint64(8)
// Wait enough time for L1 to finalize and L2 to confirm its data in finalized L1 blocks