OptionalmaybeValueHash: OpaqueHash & pvm.WithOpaque<"trieValue">StaticcomputeStaticconstructConstruct a LeafNode from given key and value.
NOTE: for large value it WILL NOT be embedded in the leaf node, and should rather be stored separately.
OptionalmaybeValueHash: OpaqueHash & pvm.WithOpaque<"trieValue">StaticemptyStaticfromReconstruct the entire trie from it's leaves.
Note that if only the state root is needed, this is rather inefficient.
Given a collection of leaves, compute the state root.