Skip to content

Commit

Permalink
fix capacity error
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKitsune committed Aug 29, 2024
1 parent 9d9b00b commit 296857c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/state_space/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ use alloy::{primitives::Address, rpc::types::eth::Block, transports::TransportEr
use arraydeque::CapacityError;
use thiserror::Error;

use super::StateChange;

#[derive(Error, Debug)]
pub enum StateSpaceError {
#[error(transparent)]
Expand All @@ -30,7 +32,7 @@ pub enum StateSpaceError {
#[error(transparent)]
StateChangeSendError(#[from] tokio::sync::mpsc::error::SendError<Vec<Address>>),
#[error(transparent)]
CapacityError(#[from] CapacityError),
CapacityError(#[from] CapacityError<StateChange>),
#[error(transparent)]
BlockSendError(#[from] tokio::sync::mpsc::error::SendError<Block>),
#[error("Already listening for state changes")]
Expand Down

0 comments on commit 296857c

Please sign in to comment.