Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChainSafe/Delorean-Protocol
/ insert
Method
insert
fendermint/eth/api/src/cache.rs:50–52 ·
view source on GitHub ↗
(&self, key: K, value: V)
Source
from the content-addressed store, hash-verified
48
}
49
50
pub fn insert(&self, key: K, value: V) {
51
self.with(|c| c.insert(key, value));
52
}
53
54
pub fn get(&self, key: &K) -> Option<V> {
55
self.with(|c| c.get(key).cloned())
Callers
4
set_id
Method · 0.45
set_addr
Method · 0.45
set_actor_type_for_addr
Method · 0.45
set_actor_type_for_cid
Method · 0.45
Calls
1
with
Method · 0.80
Tested by
no test coverage detected