Function sp_domains::domain_account_storage_key

source ยท
pub fn domain_account_storage_key<AccountId: Encode>(
    who: AccountId,
) -> StorageKey
Expand description

Account info on frame_system on Domains

This function should ideally use Host function to fetch the storage key from the domain runtime. But since the Host function is not available at Genesis, we have to assume the storage keys. TODO: once the chain is launched in mainnet, we should use the Host function for all domain instances.