Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 0 additions & 103 deletions crates/watcher/src/cache.rs

This file was deleted.

9 changes: 9 additions & 0 deletions crates/watcher/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use crate::L1Notification;
use alloy_json_rpc::RpcError;
use alloy_primitives::B256;
use alloy_sol_types::Error;
use alloy_transport::TransportErrorKind;
use rollup_node_providers::L1ProviderError;
use std::sync::Arc;
Expand Down Expand Up @@ -61,6 +62,14 @@ pub enum FilterLogError {
/// Invalid extracted notification length.
#[error("expected {0} notifications, got {1}")]
InvalidNotificationCount(usize, usize),
/// Failed to decode log of expected type.
#[error("failed to decode log as {log_type} with error {error}")]
DecodeLogFailed {
/// The expected log type.
log_type: &'static str,
/// The decoding error.
error: Error,
},
}

/// An error that occurred when accessing data from the cache.
Expand Down
Loading
Loading