pub fn into_domain_config<T: Config>(
domain_config_params: DomainConfigParams<T::AccountId, <T as Config>::Balance>,
) -> Result<DomainConfig<T::AccountId, <T as Config>::Balance>, Error>
pub fn into_domain_config<T: Config>(
domain_config_params: DomainConfigParams<T::AccountId, <T as Config>::Balance>,
) -> Result<DomainConfig<T::AccountId, <T as Config>::Balance>, Error>