Skip to content

Commit 83edab4

Browse files
committed
fix: use lowercase l2 in context
1 parent f901d50 commit 83edab4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/server.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -611,15 +611,15 @@ impl RollupBoostServer {
611611
return match l2_fut.await {
612612
Ok(payload) => {
613613
self.probes.set_health(Health::Healthy);
614-
tracing::Span::current().record("payload_source", "L2");
615-
counter!("rpc.blocks_created", "source" => "L2").increment(1);
614+
tracing::Span::current().record("payload_source", "l2");
615+
counter!("rpc.blocks_created", "source" => "l2").increment(1);
616616

617617
let execution_payload = ExecutionPayload::from(payload.clone());
618618
info!(
619619
message = "returning block",
620620
"hash" = %execution_payload.block_hash(),
621621
"number" = %execution_payload.block_number(),
622-
context = "L2",
622+
context = PayloadSource::L2.to_string(),
623623
%payload_id,
624624
);
625625

0 commit comments

Comments
 (0)