Commit f9d49101 authored by protolambda's avatar protolambda Committed by GitHub

op-e2e: fix broken plasma finalization test (#10984)

parent 31653e5e
...@@ -625,6 +625,7 @@ func TestPlasma_Finalization(gt *testing.T) { ...@@ -625,6 +625,7 @@ func TestPlasma_Finalization(gt *testing.T) {
// advance derivation and finalize plasma via the L1 signal // advance derivation and finalize plasma via the L1 signal
a.sequencer.ActL2PipelineFull(t) a.sequencer.ActL2PipelineFull(t)
a.ActL1Finalized(t) a.ActL1Finalized(t)
a.sequencer.ActL2PipelineFull(t) // finality event needs to be processed
// given 12s l1 time and 1s l2 time, l2 should be 12 * 3 = 36 blocks finalized // given 12s l1 time and 1s l2 time, l2 should be 12 * 3 = 36 blocks finalized
require.Equal(t, uint64(36), a.sequencer.SyncStatus().FinalizedL2.Number) require.Equal(t, uint64(36), a.sequencer.SyncStatus().FinalizedL2.Number)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment