execution: add transaction and header AT to ConfigureEvmEnv (#10754)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-09-17 14:18:03 +02:00
committed by GitHub
parent 2a04b1c100
commit 92dacf4f52
5 changed files with 11 additions and 0 deletions

View File

@ -50,6 +50,8 @@ impl OptimismEvmConfig {
}
impl ConfigureEvmEnv for OptimismEvmConfig {
type Header = Header;
fn fill_tx_env(&self, tx_env: &mut TxEnv, transaction: &TransactionSigned, sender: Address) {
transaction.fill_tx_env(tx_env, sender);
}