fix: use empty withdrawals if parent has withdrawals root (#16980)

This commit is contained in:
Matthias Seitz
2025-06-21 16:03:44 +02:00
committed by GitHub
parent 6ee5006ac0
commit 02bbcc8367

View File

@@ -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())
}