refactor: use revm blob fee calc (#4637)

This commit is contained in:
Matthias Seitz
2023-09-18 18:50:11 +02:00
committed by GitHub
parent 69045fd665
commit 20455d0550
6 changed files with 16 additions and 68 deletions

View File

@ -176,7 +176,7 @@ impl PayloadBuilderAttributes {
parent.next_block_base_fee(chain_spec.base_fee_params).unwrap_or_default(),
),
// calculate excess gas based on parent block's blob gas usage
excess_blob_gas: parent.next_block_blob_fee().map(|fee| fee.saturating_to()),
excess_blob_gas: parent.next_block_blob_fee(),
};
(cfg, block_env)