Skip to content

Commit

Permalink
keep behavior unchanged in evm
Browse files Browse the repository at this point in the history
  • Loading branch information
eshaan7 committed Nov 21, 2024
1 parent 1afdb26 commit 4913b0c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/src/execution/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ use revm::{
use tracing::trace;

use crate::execution::{
constants::PARALLEL_QUERY_BATCH_SIZE, errors::EvmError, rpc::ExecutionRpc, ExecutionClient,
constants::PARALLEL_QUERY_BATCH_SIZE,
errors::{EvmError, ExecutionError},
rpc::ExecutionRpc,
ExecutionClient,
};
use crate::network_spec::NetworkSpec;
use crate::types::BlockTag;
Expand Down Expand Up @@ -237,7 +240,7 @@ impl<N: NetworkSpec, R: ExecutionRpc<N>> EvmState<N, R> {
.execution
.get_block(self.block, false)
.await
.unwrap()
.ok_or(ExecutionError::BlockNotFound(self.block))?
.miner;
let producer_access_entry = AccessListItem {
address: coinbase,
Expand Down

0 comments on commit 4913b0c

Please sign in to comment.