@@ -64,7 +64,7 @@ func TestExecutor_BroadcasterIntegration(t *testing.T) {
6464 require .NoError (t , err )
6565
6666 // Create executor with broadcasters
67- executor := NewExecutor (
67+ executor , err := NewExecutor (
6868 memStore ,
6969 nil , // nil executor (we're not testing execution)
7070 nil , // nil sequencer (we're not testing sequencing)
@@ -79,6 +79,7 @@ func TestExecutor_BroadcasterIntegration(t *testing.T) {
7979 common .DefaultBlockOptions (),
8080 make (chan error , 1 ),
8181 )
82+ require .NoError (t , err )
8283
8384 // Verify broadcasters are set
8485 assert .NotNil (t , executor .headerBroadcaster )
@@ -119,7 +120,7 @@ func TestExecutor_NilBroadcasters(t *testing.T) {
119120 require .NoError (t , err )
120121
121122 // Create executor with nil broadcasters (light node scenario)
122- executor := NewExecutor (
123+ executor , err := NewExecutor (
123124 memStore ,
124125 nil , // nil executor
125126 nil , // nil sequencer
@@ -134,6 +135,7 @@ func TestExecutor_NilBroadcasters(t *testing.T) {
134135 common .DefaultBlockOptions (),
135136 make (chan error , 1 ),
136137 )
138+ require .NoError (t , err )
137139
138140 // Verify broadcasters are nil
139141 assert .Nil (t , executor .headerBroadcaster )
0 commit comments