From 28210845a1fbf793437e05a8fa4328ed3f5cf196 Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Sat, 23 Nov 2024 22:08:03 -0600 Subject: [PATCH] Fix bold state provider test exiting loop early --- system_tests/bold_state_provider_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/system_tests/bold_state_provider_test.go b/system_tests/bold_state_provider_test.go index 4a6d715edc..766ecce380 100644 --- a/system_tests/bold_state_provider_test.go +++ b/system_tests/bold_state_provider_test.go @@ -208,13 +208,6 @@ func TestChallengeProtocolBOLD_StateProvider(t *testing.T) { if lastInfo.GlobalState.Batch >= totalBatches { break } - batchMsgCount, err := l2node.InboxTracker.GetBatchMessageCount(lastInfo.GlobalState.Batch) - if err != nil { - continue - } - if batchMsgCount >= totalMessageCount { - break - } } t.Run("StatesInBatchRange", func(t *testing.T) {