aztec-nr - protocol_types::abis::block_constant_data

Struct BlockConstantData

pub struct BlockConstantData {
    pub last_archive: AppendOnlyTreeSnapshot,
    pub new_l1_to_l2: AppendOnlyTreeSnapshot,
    pub vk_tree_root: Field,
    pub protocol_contract_tree_root: Field,
    pub global_variables: GlobalVariables,
}

Fields

last_archive: AppendOnlyTreeSnapshot
new_l1_to_l2: AppendOnlyTreeSnapshot
vk_tree_root: Field
protocol_contract_tree_root: Field
global_variables: GlobalVariables

Trait implementations

impl Deserialize for BlockConstantData

pub fn deserialize(serialized: [Field; 15]) -> 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; 15]