pub fn changes_root(parent_hash: &[u8]) -> Option<Vec<u8>>
Expand description

“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.