From 6673f836eab0b58b545c7c9d228fefad5c0a7db6 Mon Sep 17 00:00:00 2001 From: Juan Date: Fri, 16 Jun 2023 12:54:21 +0200 Subject: [PATCH] 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 <> --- .../support/procedural/src/construct_runtime/expand/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/support/procedural/src/construct_runtime/expand/config.rs b/substrate/frame/support/procedural/src/construct_runtime/expand/config.rs index bbfa53fd43..32b8a32a4f 100644 --- a/substrate/frame/support/procedural/src/construct_runtime/expand/config.rs +++ b/substrate/frame/support/procedural/src/construct_runtime/expand/config.rs @@ -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))]