fix: use max_fee_per_blob_gas in blob gas cost calc (#4521)

This commit is contained in:
Dan Cline
2023-09-08 07:34:06 -04:00
committed by GitHub
parent 123c797755
commit d0d50a0678

View File

@ -762,7 +762,7 @@ impl EthPooledTransaction {
if let Some(blob_tx) = transaction.as_eip4844() {
// add max blob cost
cost += U256::from(blob_tx.max_fee_per_gas * blob_tx.blob_gas() as u128);
cost += U256::from(blob_tx.max_fee_per_blob_gas * blob_tx.blob_gas() as u128);
}
Self { transaction, cost, blob_sidecar }