chore: improve Withdrawals interface (#6401)

This commit is contained in:
Roman Krasiuk
2024-02-05 12:42:22 +01:00
committed by GitHub
parent 2c867d77da
commit 62303cb06f
4 changed files with 19 additions and 8 deletions

View File

@ -781,7 +781,7 @@ mod tests {
let header = Header {
base_fee_per_gas: Some(1337u64),
withdrawals_root: Some(proofs::calculate_withdrawals_root(&Withdrawals::default())),
withdrawals_root: Some(proofs::calculate_withdrawals_root(&[])),
..Default::default()
}
.seal_slow();
@ -798,7 +798,7 @@ mod tests {
let header = Header {
base_fee_per_gas: Some(1337u64),
withdrawals_root: Some(proofs::calculate_withdrawals_root(&Withdrawals::default())),
withdrawals_root: Some(proofs::calculate_withdrawals_root(&[])),
blob_gas_used: Some(1),
transactions_root: proofs::calculate_transaction_root(&[transaction.clone()]),
..Default::default()