mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: alloy 0.4 (#11334)
This commit is contained in:
@ -221,11 +221,11 @@ pub fn random_block<R: Rng>(rng: &mut R, number: u64, block_params: BlockParams)
|
||||
let sealed = Header {
|
||||
parent_hash: block_params.parent.unwrap_or_default(),
|
||||
number,
|
||||
gas_used: total_gas.into(),
|
||||
gas_limit: total_gas.into(),
|
||||
gas_used: total_gas,
|
||||
gas_limit: total_gas,
|
||||
transactions_root,
|
||||
ommers_hash,
|
||||
base_fee_per_gas: Some(rng.gen::<u64>().into()),
|
||||
base_fee_per_gas: Some(rng.gen()),
|
||||
requests_root,
|
||||
withdrawals_root,
|
||||
..Default::default()
|
||||
|
||||
Reference in New Issue
Block a user