Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby committed Jan 14, 2025
1 parent 5c82b93 commit dcc7b49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/client/src/interop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub enum FaultProofProgramError {
Driver(#[from] DriverError<ExecutorError>),
/// An error occurred during RLP decoding.
#[error("RLP decoding error: {0}")]
RLPDecodingError(#[from] alloy_rlp::Error),
RLPDecodingError(alloy_rlp::Error),
}

/// Executes the fault proof program with the given [PreimageOracleClient] and [HintWriterClient].
Expand Down Expand Up @@ -76,7 +76,8 @@ where

// Load in the pre-state from the preimage oracle and fetch the L2 safe head block hash.
let pre =
PreState::decode(&mut read_raw_pre_state(oracle.as_ref(), boot.as_ref()).await?.as_ref())?;
PreState::decode(&mut read_raw_pre_state(oracle.as_ref(), boot.as_ref()).await?.as_ref())
.map_err(FaultProofProgramError::RLPDecodingError)?;
let safe_head_hash = fetch_l2_safe_head_hash(oracle.as_ref(), &pre).await?;

// Instantiate the L1 EL + CL provider and the L2 EL provider.
Expand Down

0 comments on commit dcc7b49

Please sign in to comment.