Skip to content

Commit

Permalink
working mix_hash/parent_beacon_block_root
Browse files Browse the repository at this point in the history
  • Loading branch information
Brechtpd committed Feb 1, 2025
1 parent 073fe2b commit f4e0fc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rbuilder/src/building/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -863,15 +863,15 @@ impl<Tracer: SimulationTracer> PartialBlock<Tracer> {
withdrawals_root,
logs_bloom,
timestamp: ctx.attributes.timestamp,
mix_hash: /* ctx.attributes.prev_randao */ B256::ZERO,
mix_hash: ctx.attributes.prev_randao,
nonce: BEACON_NONCE,
base_fee_per_gas: Some(ctx.block_env.basefee.to()),
number: ctx.block_env.number.to::<u64>(),
gas_limit: ctx.block_env.gas_limit.to(),
difficulty: U256::ZERO,
gas_used: self.gas_used,
extra_data,
parent_beacon_block_root: /* ctx.attributes.parent_beacon_block_root */ Some(B256::ZERO),
parent_beacon_block_root: ctx.attributes.parent_beacon_block_root,
blob_gas_used,
excess_blob_gas,
requests_root,
Expand Down

0 comments on commit f4e0fc8

Please sign in to comment.