Soft deprecate GenesisConfig (#14210)

* 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

* update deprecation comment

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Juanandparity-processbot authored and GitHub committed 2023-05-26 09:42:47 +00:00
1 parent de097e23fa
commit 34b2a56af1
24 files changed
+49 -44

No files matched your search

@@ -186,7 +186,7 @@ frame_support::construct_runtime!(
#[test]
fn create_genesis_config() {
let config = GenesisConfig {
let config = RuntimeGenesisConfig {
module: module::GenesisConfig { request_life_time: 0, enable_storage_role: true },
};
assert_eq!(config.module.request_life_time, 0);