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

Method sequential

fendermint/vm/topdown/src/cache.rs:42–47  ·  view source on GitHub ↗

Create a cache with key increment 1

()

Source from the content-addressed store, hash-verified

40
41 /// Create a cache with key increment 1
42 pub fn sequential() -> Self {
43 Self {
44 increment: K::one(),
45 data: Default::default(),
46 }
47 }
48
49 pub fn increment(&self) -> K {
50 self.increment

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected