File tree Expand file tree Collapse file tree 3 files changed +235
-291
lines changed
Expand file tree Collapse file tree 3 files changed +235
-291
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11use crate :: L1Notification ;
22use alloy_json_rpc:: RpcError ;
33use alloy_primitives:: B256 ;
4+ use alloy_sol_types:: Error ;
45use alloy_transport:: TransportErrorKind ;
56use rollup_node_providers:: L1ProviderError ;
67use std:: sync:: Arc ;
@@ -61,6 +62,14 @@ pub enum FilterLogError {
6162 /// Invalid extracted notification length.
6263 #[ error( "expected {0} notifications, got {1}" ) ]
6364 InvalidNotificationCount ( usize , usize ) ,
65+ /// Failed to decode log of expected type.
66+ #[ error( "failed to decode log as {log_type} with error {error}" ) ]
67+ DecodeLogFailed {
68+ /// The expected log type.
69+ log_type : & ' static str ,
70+ /// The decoding error.
71+ error : Error ,
72+ } ,
6473}
6574
6675/// An error that occurred when accessing data from the cache.
You can’t perform that action at this time.
0 commit comments