File tree 1 file changed +7
-1
lines changed 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,8 @@ impl RollupBoostServer {
183
183
self . probes . set_health ( Health :: Healthy ) ;
184
184
185
185
if let Ok ( Some ( builder_payload) ) = builder_payload {
186
+ // If execution mode is set to DryRun, fallback to the l2_payload,
187
+ // otherwise prefer the builder payload
186
188
if self . execution_mode ( ) . is_dry_run ( ) {
187
189
( l2_payload, PayloadSource :: L2 )
188
190
} else if let Some ( selection_policy) = & self . block_selection_policy {
@@ -191,7 +193,11 @@ impl RollupBoostServer {
191
193
( builder_payload, PayloadSource :: Builder )
192
194
}
193
195
} else {
194
- self . probes . set_health ( Health :: PartialContent ) ;
196
+ // Only update the health status if the builder payload fails
197
+ // and execution mode is not set to DryRun
198
+ if !self . execution_mode ( ) . is_dry_run ( ) {
199
+ self . probes . set_health ( Health :: PartialContent ) ;
200
+ }
195
201
( l2_payload, PayloadSource :: L2 )
196
202
}
197
203
} ;
You can’t perform that action at this time.
0 commit comments