MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / cached_blocks

Method cached_blocks

fendermint/vm/topdown/src/toggle.rs:123–125  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

121 }
122
123 pub fn cached_blocks(&self) -> Stm<BlockHeight> {
124 self.perform_or_else(|p| p.cached_blocks(), BlockHeight::MAX)
125 }
126
127 pub fn first_non_null_block(&self, height: BlockHeight) -> Stm<Option<BlockHeight>> {
128 self.perform_or_else(|p| p.first_non_null_block(height), None)

Callers

nothing calls this directly

Calls 1

perform_or_elseMethod · 0.80

Tested by

no test coverage detected