pub trait BootStore {
    // Required method
    fn read_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_substate( &self, node_id: &NodeId, partition_num: PartitionNumber, substate_key: &SubstateKey ) -> Option<IndexedScryptoValue>

Read a substate from the store

Implementors§

source§

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