diff --git a/src/state_space/error.rs b/src/state_space/error.rs index 54ef7457..efbbb0af 100644 --- a/src/state_space/error.rs +++ b/src/state_space/error.rs @@ -2,6 +2,7 @@ use crate::errors::{AMMError, ArithmeticError, EventLogError}; use alloy::{primitives::Address, rpc::types::eth::Block, transports::TransportError}; +use arraydeque::CapacityError; use thiserror::Error; #[derive(Error, Debug)] @@ -29,6 +30,8 @@ pub enum StateSpaceError { #[error(transparent)] StateChangeSendError(#[from] tokio::sync::mpsc::error::SendError>), #[error(transparent)] + CapacityError(#[from] CapacityError), + #[error(transparent)] BlockSendError(#[from] tokio::sync::mpsc::error::SendError), #[error("Already listening for state changes")] AlreadyListeningForStateChanges,