fix(op-reth): clear accesslist for Deposit txs (#5513)

This commit is contained in:
George Datskos
2023-11-21 02:06:43 -05:00
committed by GitHub
parent f8451fd984
commit 3e0caae5b6

View File

@ -309,6 +309,7 @@ pub fn fill_tx_env<T>(
}
#[cfg(feature = "optimism")]
Transaction::Deposit(tx) => {
tx_env.access_list.clear();
tx_env.gas_limit = tx.gas_limit;
tx_env.gas_price = U256::ZERO;
tx_env.gas_priority_fee = None;