MCPcopy Create free account
hub / github.com/base/base / new_creates_empty_cache

Function new_creates_empty_cache

crates/execution/metering/src/trie_cache.rs:124–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122
123 #[test]
124 fn new_creates_empty_cache() {
125 let cache = PendingTrieCache::new();
126 // The cache should start empty (no cached entry)
127 let guard = cache.cache.load();
128 assert!(guard.is_none());
129 }
130
131 #[test]
132 fn default_equals_new() {

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected