derive_subspace_key

Function derive_subspace_key 

Source
pub fn derive_subspace_key(parent_key: &[u8], sub_key: &[u8]) -> B256
Expand description

Derive a subspace storage key from a parent key and child key bytes.

Computes keccak256(parent_key || sub_key).