Skip to content

Commit f8741c7

Browse files
committed
lint
1 parent 3510f39 commit f8741c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/client/src/interop.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub enum FaultProofProgramError {
4040
Driver(#[from] DriverError<ExecutorError>),
4141
/// An error occurred during RLP decoding.
4242
#[error("RLP decoding error: {0}")]
43-
RLPDecodingError(#[from] alloy_rlp::Error),
43+
RLPDecodingError(alloy_rlp::Error),
4444
}
4545

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

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

8283
// Instantiate the L1 EL + CL provider and the L2 EL provider.

0 commit comments

Comments
 (0)