mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
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:
@@ -148,7 +148,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn value_translate_works() {
|
||||
let t = GenesisConfig::default().build_storage().unwrap();
|
||||
let t = RuntimeGenesisConfig::default().build_storage().unwrap();
|
||||
TestExternalities::new(t).execute_with(|| {
|
||||
type Value = self::frame_system::Value<Runtime>;
|
||||
|
||||
@@ -170,7 +170,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn map_translate_works() {
|
||||
let t = GenesisConfig::default().build_storage().unwrap();
|
||||
let t = RuntimeGenesisConfig::default().build_storage().unwrap();
|
||||
TestExternalities::new(t).execute_with(|| {
|
||||
type NumberMap = self::frame_system::NumberMap<Runtime>;
|
||||
|
||||
@@ -201,7 +201,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn try_mutate_works() {
|
||||
let t = GenesisConfig::default().build_storage().unwrap();
|
||||
let t = RuntimeGenesisConfig::default().build_storage().unwrap();
|
||||
TestExternalities::new(t).execute_with(|| {
|
||||
type Value = self::frame_system::Value<Runtime>;
|
||||
type NumberMap = self::frame_system::NumberMap<Runtime>;
|
||||
|
||||
Reference in New Issue
Block a user