use tap_receipt::rav::AggregationError;
use thegraph_core::alloy::sol_types::SolStruct;
use crate::{
receipt::{
state::{Checked, Failed},
ReceiptWithState,
},
signed_message::Eip712SignedMessage,
};
#[derive(Debug)]
pub struct RavRequest<Rcpt, Rav: SolStruct> {
pub valid_receipts: Vec<ReceiptWithState<Checked, Rcpt>>,
pub previous_rav: Option<Eip712SignedMessage<Rav>>,
pub invalid_receipts: Vec<ReceiptWithState<Failed, Rcpt>>,
pub expected_rav: Result<Rav, AggregationError>,
}