use crate::runtime::control_plane::receipts::CryptographicReceipt;
mod admitted_superseded;
mod raw_candidate;
mod refused_quarantined_replayed;
#[cfg(test)]
mod tests;
#[cfg(test)]
pub(crate) use crate::runtime::control_plane::admission::{
AdmittedData, CandidateData, GraphAdmissionLaw, RawData, ADMITTED, CANDIDATE, RAW, SUPERSEDED,
};
#[cfg(test)]
pub(crate) use crate::runtime::control_plane::receipts::Blake3Hash;
#[cfg(test)]
pub(crate) use crate::runtime::{Machine, TypestateKernel};
#[cfg(test)]
pub(crate) use ed25519_dalek::Signer;
pub struct CandidateAdmitInput {
pub store: oxigraph::store::Store,
pub graph_name: oxigraph::model::GraphName,
pub receipt: CryptographicReceipt,
}
pub(super) fn bytes_to_hex(bytes: &[u8]) -> String {
bytes.iter().map(|b| format!("{:02x}", b)).collect()
}