Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions op-node/rollup/engine/engine_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func TestOnForkchoiceUpdate_ProcessRetryAndPop(t *testing.T) {
require.Nil(t, cl.unsafePayloads.Peek())
}

func TestLowestQueuedUnsafeBlock(t *testing.T) {
func TestPeekUnsafePayload(t *testing.T) {
cfg, _, _, payloadA1 := buildSimpleCfgAndPayload(t)

emitter := &testutils.MockEmitter{}
Expand All @@ -168,7 +168,7 @@ func TestLowestQueuedUnsafeBlock(t *testing.T) {
require.Equal(t, want, ec.LowestQueuedUnsafeBlock())
}

func TestLowestQueuedUnsafeBlock_OnDeriveErrorReturnsZero(t *testing.T) {
func TestPeekUnsafePayload_OnDeriveErrorReturnsZero(t *testing.T) {
// missing L1-info in txs will cause derive error
emitter := &testutils.MockEmitter{}
ec := NewEngineController(context.Background(), nil, testlog.Logger(t, 0), metrics.NoopMetrics, &rollup.Config{}, &sync.Config{SyncMode: sync.CLSync}, &testutils.MockL1Source{}, emitter)
Expand Down