From c18464e3ffa76c0c1bfc68d36493741d4ce9413d Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Sat, 28 Sep 2024 15:10:20 -0400 Subject: [PATCH] chore: update default payload builder logs --- crates/ethereum/payload/src/lib.rs | 6 +++--- crates/optimism/payload/src/builder.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/ethereum/payload/src/lib.rs b/crates/ethereum/payload/src/lib.rs index 2593e8336611..84301617a593 100644 --- a/crates/ethereum/payload/src/lib.rs +++ b/crates/ethereum/payload/src/lib.rs @@ -180,7 +180,7 @@ where warn!(target: "payload_builder", parent_hash=%parent_block.hash(), %err, - "failed to apply beacon root contract call for empty payload" + "failed to apply beacon root contract call for payload" ); PayloadBuilderError::Internal(err.into()) })?; @@ -195,7 +195,7 @@ where parent_block.hash(), ) .map_err(|err| { - warn!(target: "payload_builder", parent_hash=%parent_block.hash(), %err, "failed to update blockhashes for empty payload"); + warn!(target: "payload_builder", parent_hash=%parent_block.hash(), %err, "failed to update blockhashes for payload"); PayloadBuilderError::Internal(err.into()) })?; @@ -367,7 +367,7 @@ where warn!(target: "payload_builder", parent_hash=%parent_block.hash(), %err, - "failed to calculate state root for empty payload" + "failed to calculate state root for payload" ); })? }; diff --git a/crates/optimism/payload/src/builder.rs b/crates/optimism/payload/src/builder.rs index 1c0876b2a726..ecdbb7e7a321 100644 --- a/crates/optimism/payload/src/builder.rs +++ b/crates/optimism/payload/src/builder.rs @@ -216,7 +216,7 @@ where warn!(target: "payload_builder", parent_hash=%parent_block.hash(), %err, - "failed to apply beacon root contract call for empty payload" + "failed to apply beacon root contract call for payload" ); PayloadBuilderError::Internal(err.into()) })?; @@ -459,7 +459,7 @@ where warn!(target: "payload_builder", parent_hash=%parent_block.hash(), %err, - "failed to calculate state root for empty payload" + "failed to calculate state root for payload" ); })? };