pub fn root(version: StateVersion) -> Vec<u8> ⓘExpand description
“Commit” all existing operations and compute the resulting storage root.
The hashing algorithm is defined by the Block.
Returns a Vec<u8> that holds the SCALE encoded hash.
pub fn root(version: StateVersion) -> Vec<u8> ⓘ“Commit” all existing operations and compute the resulting storage root.
The hashing algorithm is defined by the Block.
Returns a Vec<u8> that holds the SCALE encoded hash.