mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
feat: integrate builder (#6611)
This commit is contained in:
@@ -215,15 +215,18 @@ impl PendingBlockEnv {
|
||||
block_number,
|
||||
);
|
||||
|
||||
#[cfg(feature = "optimism")]
|
||||
let receipts_root = bundle
|
||||
.receipts_root_slow(
|
||||
.optimism_receipts_root_slow(
|
||||
block_number,
|
||||
#[cfg(feature = "optimism")]
|
||||
chain_spec.as_ref(),
|
||||
#[cfg(feature = "optimism")]
|
||||
block_env.timestamp.to::<u64>(),
|
||||
)
|
||||
.expect("Block is present");
|
||||
|
||||
#[cfg(not(feature = "optimism"))]
|
||||
let receipts_root = bundle.receipts_root_slow(block_number).expect("Block is present");
|
||||
|
||||
let logs_bloom = bundle.block_logs_bloom(block_number).expect("Block is present");
|
||||
|
||||
// calculate the state root
|
||||
|
||||
Reference in New Issue
Block a user