use crate::info::DnaInfoV1;
use holo_hash::AgentPubKey;
use holochain_serialized_bytes::prelude::*;
pub type MembraneProof = std::sync::Arc<SerializedBytes>;
#[cfg(feature = "ts_rs")]
holo_hash::ts_alias!(
MembraneProofTs,
"MembraneProof",
"Uint8Array",
"types.ts",
deps: []
);
#[derive(Debug, Serialize, Deserialize, SerializedBytes)]
pub struct GenesisSelfCheckDataV1 {
pub dna_info: DnaInfoV1,
pub membrane_proof: Option<MembraneProof>,
pub agent_key: AgentPubKey,
}
#[derive(Debug, Serialize, Deserialize, SerializedBytes)]
pub struct GenesisSelfCheckDataV2 {
pub membrane_proof: Option<MembraneProof>,
pub agent_key: AgentPubKey,
}
pub type GenesisSelfCheckData = GenesisSelfCheckDataV2;