Skip to content

Commit 067a769

Browse files
committed
lock
1 parent 2e58f04 commit 067a769

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

block/internal/submitting/submitter_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ func TestSubmitter_processDAInclusionLoop_advances(t *testing.T) {
289289
cm.SetHeaderDAIncluded(h2.Hash().String(), 101, 2)
290290
cm.SetDataDAIncluded(d2.DACommitment().String(), 101, 2)
291291

292-
s.ctx, s.cancel = ctx, cancel
293292
require.NoError(t, s.initializeDAIncludedHeight(ctx))
294293
require.Equal(t, uint64(0), s.GetDAIncludedHeight())
295294

@@ -518,7 +517,6 @@ func TestSubmitter_CacheClearedOnHeightInclusion(t *testing.T) {
518517
cm.SetHeaderDAIncluded(h2.Hash().String(), 101, 2)
519518
cm.SetDataDAIncluded(d2.DACommitment().String(), 101, 2)
520519

521-
s.ctx, s.cancel = ctx, cancel
522520
require.NoError(t, s.initializeDAIncludedHeight(ctx))
523521
require.Equal(t, uint64(0), s.GetDAIncludedHeight())
524522

0 commit comments

Comments
 (0)