eigen_types/
avs.rs

1use alloy::primitives::FixedBytes;
2use thiserror::Error;
3pub type TaskIndex = u32;
4
5pub type TaskResponseDigest = FixedBytes<32>;
6
7/// Error type for signature verification
8#[derive(Error, Debug, Clone, PartialEq, Eq)]
9pub enum SignatureVerificationError {
10    #[error("incorrect signature error")]
11    IncorrectSignature,
12    #[error("operator public key not found")]
13    OperatorPublicKeyNotFound,
14    #[error("operator not found")]
15    OperatorNotFound,
16    #[error("duplicate signature error")]
17    DuplicateSignature,
18}