Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Add a deprecation warning to the old runtime GenesisConfig #14224

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ pub fn expand_outer_config(
#fields
}

// GenesisConfig is in the process of being deprecated [https://github.com/paritytech/substrate/issues/14065]
#[cfg(any(feature = "std", test))]
#[deprecated(note = "GenesisConfig is planned to be removed in December 2023. Use `RuntimeGenesisConfig` instead.")]
pub type GenesisConfig = RuntimeGenesisConfig;

#[cfg(any(feature = "std", test))]
Expand Down