MCPcopy Create free account
hub / github.com/base/triedb / state_root

Method state_root

src/database.rs:235–237  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

233 }
234
235 pub fn state_root(&self) -> B256 {
236 self.storage_engine.read_context().root_node_hash
237 }
238
239 pub fn size(&self) -> u32 {
240 self.storage_engine.size()

Callers

nothing calls this directly

Calls 1

read_contextMethod · 0.80

Tested by

no test coverage detected