pub type GenesisSelfCheckData = GenesisSelfCheckDataV2;
Expand description

Alias to the current version of GenesisSelfCheckData.

Aliased Type§

struct GenesisSelfCheckData {
    pub membrane_proof: Option<Arc<SerializedBytes, Global>>,
    pub agent_key: HoloHash<Agent>,
}

Fields§

§membrane_proof: Option<Arc<SerializedBytes, Global>>

The proof of membership that will be the AgentValidationPkg (2nd record).

§agent_key: HoloHash<Agent>

Will be the 3rd record of the chain, the agent key.

Trait Implementations§

§

impl Debug for GenesisSelfCheckDataV2

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for GenesisSelfCheckDataV2

§

fn deserialize<__D>( __deserializer: __D ) -> Result<GenesisSelfCheckDataV2, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Serialize for GenesisSelfCheckDataV2

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl TryFrom<SerializedBytes> for GenesisSelfCheckDataV2

§

type Error = SerializedBytesError

The type returned in the event of a conversion error.
§

fn try_from( sb: SerializedBytes ) -> Result<GenesisSelfCheckDataV2, SerializedBytesError>

Performs the conversion.