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

Method new_storage_leaf

src/node.rs:109–111  ·  view source on GitHub ↗
(prefix: Nibbles, value_rlp: ArrayVec<u8, 33>)

Source from the content-addressed store, hash-verified

107 }
108
109 fn new_storage_leaf(prefix: Nibbles, value_rlp: ArrayVec<u8, 33>) -> Self {
110 Self::new(prefix, NodeKind::StorageLeaf { value_rlp })
111 }
112
113 /// Creates a new branch [Node] from a [Nibbles] prefix.
114 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected