Function sp_io::storage::changes_root [−][src]
pub fn changes_root(parent_hash: &[u8]) -> Option<Vec<u8>>
“Commit” all existing operations and get the resulting storage change root.
parent_hash
is a SCALE encoded hash.
The hashing algorithm is defined by the Block
.
Returns Some(Vec<u8>)
which holds the SCALE encoded hash or None
when
changes trie is disabled.