Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Jan 15, 2025
1 parent 0740a14 commit 4592b22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/optimism/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ impl ConfigureEvm for OpEvmConfig {
tx: TxEnv,
) -> Evm<'_, (), DB> {
evm_env.cfg_env_with_handler_cfg.handler_cfg.is_optimism = true;

EvmBuilder::default()
.with_db(db)
.with_cfg_env_with_handler_cfg(evm_env.cfg_env_with_handler_cfg)
Expand All @@ -195,6 +196,7 @@ impl ConfigureEvm for OpEvmConfig {
I: GetInspector<DB>,
{
evm_env.cfg_env_with_handler_cfg.handler_cfg.is_optimism = true;

EvmBuilder::default()
.with_db(db)
.with_external_context(inspector)
Expand Down

0 comments on commit 4592b22

Please sign in to comment.