Trait radix_engine::track::interface::BootStore

source ·
pub trait BootStore {
    // Required method
    fn read_boot_substate(
        &self,
        node_id: &NodeId,
        partition_num: PartitionNumber,
        substate_key: &SubstateKey
    ) -> Option<IndexedScryptoValue>;
}
Expand description

The interface to be used during boot loading This interface is different from the CommitableSubstateStore in that these reads should not be tracked / costed since it will cause a protocol break.

Required Methods§

source

fn read_boot_substate( &self, node_id: &NodeId, partition_num: PartitionNumber, substate_key: &SubstateKey ) -> Option<IndexedScryptoValue>

Read a substate from the store

Implementors§

source§

impl<'a, S: SubstateDatabase> BootStore for SubstateBootStore<'a, S>

source§

impl<'s, S: SubstateDatabase, M: DatabaseKeyMapper + 'static> BootStore for Track<'s, S, M>