[][src]Function sp_io::storage::root

pub fn root() -> Vec<u8>

"Commit" all existing operations and compute the resulting storage root.

The hashing algorithm is defined by the Block.

Returns the SCALE encoded hash.