@@ -374,10 +374,7 @@ func TestStreamerSmoke(t *testing.T) {
374374
375375 // update the state of our streamer
376376 syncStatus := state .SyncStatus ()
377- updated , err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
378- if have , want := updated , false ; have != want {
379- t .Fatalf ("failed to refresh streamer state:\n have:\n \t %v\n want:\n \t %v\n " , updated , want )
380- }
377+ err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
381378
382379 if have , want := err , error (nil ); have != want {
383380 t .Fatalf ("failed to refresh streamer state encountered error:\n have:\n \t \" %v\" \n want:\n \t \" %v\" \n " , have , want )
@@ -415,7 +412,7 @@ func TestEspressoStreamerSimpleIncremental(t *testing.T) {
415412 for i := 0 ; i < N ; i ++ {
416413 // update the state of our streamer
417414 syncStatus := state .SyncStatus ()
418- _ , err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
415+ err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
419416
420417 if have , want := err , error (nil ); have != want {
421418 t .Fatalf ("failed to refresh streamer state encountered error:\n have:\n \t \" %v\" \n want:\n \t \" %v\" \n " , have , want )
@@ -477,7 +474,7 @@ func TestEspressoStreamerIncrementalDelayedConsumption(t *testing.T) {
477474
478475 // update the state of our streamer
479476 syncStatus := state .SyncStatus ()
480- _ , err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
477+ err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
481478
482479 for i := 0 ; i < N ; i ++ {
483480 batch , _ , _ , espTxnInBlock := state .CreateEspressoTxnData (
@@ -545,7 +542,7 @@ func TestStreamerEspressoOutOfOrder(t *testing.T) {
545542
546543 // update the state of our streamer
547544 syncStatus := state .SyncStatus ()
548- _ , err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
545+ err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
549546
550547 if have , want := err , error (nil ); have != want {
551548 t .Fatalf ("failed to refresh streamer state encountered error:\n have:\n \t \" %v\" \n want:\n \t \" %v\" \n " , have , want )
@@ -630,7 +627,7 @@ func TestEspressoStreamerDuplicationHandling(t *testing.T) {
630627
631628 // update the state of our streamer
632629 syncStatus := state .SyncStatus ()
633- _ , err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
630+ err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
634631
635632 if have , want := err , error (nil ); have != want {
636633 t .Fatalf ("failed to refresh streamer state encountered error:\n have:\n \t \" %v\" \n want:\n \t \" %v\" \n " , have , want )
@@ -651,7 +648,7 @@ func TestEspressoStreamerDuplicationHandling(t *testing.T) {
651648 for j := 0 ; j < 2 ; j ++ {
652649 // update the state of our streamer
653650 syncStatus := state .SyncStatus ()
654- _ , err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
651+ err := streamer .Refresh (ctx , syncStatus .FinalizedL1 , syncStatus .SafeL2 .Number , syncStatus .SafeL2 .L1Origin )
655652
656653 require .NoError (t , err )
657654
0 commit comments