referrerpolicy=no-referrer-when-downgrade

Function sp_io::default_child_storage::root

source ·
pub fn root(storage_key: &[u8], version: StateVersion) -> Vec<u8> 
Expand description

Default child root calculation.

“Commit” all existing operations and compute the resulting child storage root. The hashing algorithm is defined by the Block.

Returns a Vec<u8> that holds the SCALE encoded hash.