mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 04:11:09 +00:00
cumulus test runtime: remove GenesisExt (#2147)
This PR removes the `GenesisExt` wrapper over the `GenesisRuntimeConfig` in `cumulus-test-service`. Initialization of values that were performed by `GenesisExt::BuildStorage` was moved into `test_pallet` genesis. --------- Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
committed by
GitHub
parent
21fbc00d04
commit
1c0b437330
@@ -90,6 +90,7 @@ impl substrate_test_client::GenesisInit for GenesisParameters {
|
||||
cumulus_test_service::testnet_genesis(
|
||||
cumulus_test_service::get_account_id_from_seed::<sr25519::Public>("Alice"),
|
||||
self.endowed_accounts.clone(),
|
||||
None,
|
||||
)
|
||||
.build_storage()
|
||||
.unwrap()
|
||||
@@ -127,7 +128,7 @@ impl DefaultTestClientBuilderExt for TestClientBuilder {
|
||||
}
|
||||
|
||||
fn genesis_config() -> RuntimeGenesisConfig {
|
||||
cumulus_test_service::testnet_genesis_with_default_endowed(Default::default())
|
||||
cumulus_test_service::testnet_genesis_with_default_endowed(Default::default(), None)
|
||||
}
|
||||
|
||||
/// Create an unsigned extrinsic from a runtime call.
|
||||
|
||||
Reference in New Issue
Block a user