[−][src]Function sp_io::storage::changes_root
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 an Some(_)
which holds the SCALE encoded hash or None
when
changes trie is disabled.