aztec-nr - noir_aztec::protocol::abis::block_constant_data

Struct BlockConstantData

pub struct BlockConstantData {
    pub last_archive: AppendOnlyTreeSnapshot,
    pub l1_to_l2_tree_snapshot: AppendOnlyTreeSnapshot,
    pub vk_tree_root: Field,
    pub protocol_contracts_hash: Field,
    pub prover_id: Field,
    pub global_variables: GlobalVariables,
}

Fields

l1_to_l2_tree_snapshot: AppendOnlyTreeSnapshot
vk_tree_root: Field
protocol_contracts_hash: Field
prover_id: Field
global_variables: GlobalVariables

Trait implementations

impl Deserialize for BlockConstantData

pub fn deserialize(fields: [Field; 16]) -> Self pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self

impl Empty for BlockConstantData

pub fn empty() -> Self pub fn is_empty(self) -> bool pub fn assert_empty<let S: u32>(self, msg: str<S>)

impl Eq for BlockConstantData

pub fn eq(_self: Self, _other: Self) -> bool

impl Serialize for BlockConstantData

pub fn serialize(self) -> [Field; 16] pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)