From 02bbcc83679d6ca7c21629724a9986ea5471bd8a Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 21 Jun 2025 16:03:44 +0200 Subject: [PATCH] fix: use empty withdrawals if parent has withdrawals root (#16980) --- crates/rpc/rpc/src/eth/helpers/pending_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rpc/rpc/src/eth/helpers/pending_block.rs b/crates/rpc/rpc/src/eth/helpers/pending_block.rs index 3308cac798..f86170768c 100644 --- a/crates/rpc/rpc/src/eth/helpers/pending_block.rs +++ b/crates/rpc/rpc/src/eth/helpers/pending_block.rs @@ -67,7 +67,7 @@ where prev_randao: B256::random(), gas_limit: parent.gas_limit(), parent_beacon_block_root: parent.parent_beacon_block_root().map(|_| B256::ZERO), - withdrawals: None, + withdrawals: parent.withdrawals_root().map(|_| Default::default()), } .into()) }