File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ pub enum FaultProofProgramError {
40
40
Driver ( #[ from] DriverError < ExecutorError > ) ,
41
41
/// An error occurred during RLP decoding.
42
42
#[ error( "RLP decoding error: {0}" ) ]
43
- RLPDecodingError ( # [ from ] alloy_rlp:: Error ) ,
43
+ RLPDecodingError ( alloy_rlp:: Error ) ,
44
44
}
45
45
46
46
/// Executes the fault proof program with the given [PreimageOracleClient] and [HintWriterClient].
76
76
77
77
// Load in the pre-state from the preimage oracle and fetch the L2 safe head block hash.
78
78
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 ) ?;
80
81
let safe_head_hash = fetch_l2_safe_head_hash ( oracle. as_ref ( ) , & pre) . await ?;
81
82
82
83
// Instantiate the L1 EL + CL provider and the L2 EL provider.
You can’t perform that action at this time.
0 commit comments