Add a deprecation warning to the old runtime GenesisConfig (#14224)

* soft deprecate genesisconfig

* temporarily add a deprecation attr

* update tests

* update mocks

* update genesis config

* update genesis config

* update genesis config

* update genesis config

* remove deprecation warning

* add a deprecation warning to the old runtime GenesisConfig

* add a date to the deprecation message

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Juan
2023-06-16 12:54:21 +02:00
committed by GitHub
parent 53f4b4df76
commit 6673f836ea
@@ -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))]