mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 00:17: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:
@@ -126,7 +126,7 @@ pub const CALL: &<Test as Config>::RuntimeCall =
|
||||
/// Create new externalities for `System` module tests.
|
||||
pub fn new_test_ext() -> sp_io::TestExternalities {
|
||||
let mut ext: sp_io::TestExternalities =
|
||||
GenesisConfig::default().build_storage().unwrap().into();
|
||||
RuntimeGenesisConfig::default().build_storage().unwrap().into();
|
||||
// Add to each test the initial weight of a block
|
||||
ext.execute_with(|| {
|
||||
System::register_extra_weight_unchecked(
|
||||
|
||||
Reference in New Issue
Block a user