Skip to content

Commit

Permalink
fix: Fix SpecId Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuly14 committed Apr 12, 2024
1 parent a73560b commit 7fa45be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evm/src/executor/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ pub struct BackendInner {
/// See also [`clone_data()`]
pub persistent_accounts: HashSet<Address>,
/// The configured precompile spec id
pub precompile_id: revm::precompile::SpecId,
pub precompile_id: SpecId,
/// All accounts that are allowed to execute cheatcodes
pub cheatcode_access_accounts: HashSet<Address>,
}
Expand Down Expand Up @@ -1646,7 +1646,7 @@ impl Default for BackendInner {
caller: None,
next_fork_id: Default::default(),
persistent_accounts: Default::default(),
precompile_id: revm::precompile::SpecId::LATEST,
precompile_id: SpecId::ISTANBUL,
// grant the cheatcode,default test and caller address access to execute cheatcodes
// itself
cheatcode_access_accounts: HashSet::from([
Expand Down

0 comments on commit 7fa45be

Please sign in to comment.