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

Method reset

fendermint/vm/topdown/src/toggle.rs:119–121  ·  view source on GitHub ↗
(&self, finality: IPCParentFinality)

Source from the content-addressed store, hash-verified

117 }
118
119 pub fn reset(&self, finality: IPCParentFinality) -> Stm<()> {
120 self.perform_or_else(|p| p.reset(finality), ())
121 }
122
123 pub fn cached_blocks(&self) -> Stm<BlockHeight> {
124 self.perform_or_else(|p| p.cached_blocks(), BlockHeight::MAX)

Callers

nothing calls this directly

Calls 1

perform_or_elseMethod · 0.80

Tested by

no test coverage detected