diff --git a/crates/rollup-boost/src/server.rs b/crates/rollup-boost/src/server.rs index 870808eb..8ec8d753 100644 --- a/crates/rollup-boost/src/server.rs +++ b/crates/rollup-boost/src/server.rs @@ -133,6 +133,12 @@ impl RollupBoostServer { if !self.execution_mode().is_disabled() && (self.allow_traffic_to_unhealthy_builder || builder_healthy) { + info!( + message = "Allow new_payload to builder", + allow_traffic_to_unhealthy_builder = self.allow_traffic_to_unhealthy_builder, + builder_healthy = builder_healthy, + execution_mode = self.execution_mode().is_enabled() + ); let builder = self.builder_client.clone(); let new_payload_clone = new_payload.clone(); tokio::spawn(async move { builder.new_payload(new_payload_clone).await }); @@ -193,6 +199,13 @@ impl RollupBoostServer { return RpcResult::Ok(None); } + info!( + message = "Allow get_payload to builder", + allow_traffic_to_unhealthy_builder = self.allow_traffic_to_unhealthy_builder, + builder_healthy = matches!(self.probes.health(), Health::Healthy), + execution_mode = self.execution_mode().is_enabled() + ); + if !self.allow_traffic_to_unhealthy_builder && !matches!(self.probes.health(), Health::Healthy) { @@ -435,6 +448,13 @@ impl EngineApiServer for RollupBoostServer { return Ok(l2_fut.await?); } + info!( + message = "Allow FCU to builder", + allow_traffic_to_unhealthy_builder = self.allow_traffic_to_unhealthy_builder, + builder_healthy = builder_healthy, + execution_mode = self.execution_mode().is_enabled() + ); + let span = tracing::Span::current(); // If the fcu contains payload attributes and the tx pool is disabled, // only forward the FCU to the default l2 client