referrerpolicy=no-referrer-when-downgrade

Function frame_support::storage::storage_prefix

source ·
pub fn storage_prefix(pallet_name: &[u8], storage_name: &[u8]) -> [u8; 32]
Expand description

Returns the storage prefix for a specific pallet name and storage name.

The storage prefix is concat(twox_128(pallet_name), twox_128(storage_name)).