mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
integrations-test: build_genesis_storage name fix (#2232)
Some legacy tests were mistakenly merged in #1256 for `emulated-integration-tests-common` crate. This PR fixes the function name `build_genesis_storage` (no need to use `legacy` suffix, even though the genesis is built from `RuntimeGenesisConfig`).
This commit is contained in:
committed by
GitHub
parent
b8acc57c50
commit
eabf9fb897
@@ -26,8 +26,8 @@ use polkadot_primitives::{AssignmentId, ValidatorId};
|
||||
|
||||
// Cumulus
|
||||
use emulated_integration_tests_common::{
|
||||
accounts, build_genesis_storage_legacy, get_account_id_from_seed, get_from_seed,
|
||||
get_host_config, validators,
|
||||
accounts, build_genesis_storage, get_account_id_from_seed, get_from_seed, get_host_config,
|
||||
validators,
|
||||
};
|
||||
use parachains_common::Balance;
|
||||
use rococo_runtime_constants::currency::UNITS as ROC;
|
||||
@@ -97,5 +97,5 @@ pub fn genesis() -> Storage {
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
build_genesis_storage_legacy(&genesis_config, rococo_runtime::WASM_BINARY.unwrap())
|
||||
build_genesis_storage(&genesis_config, rococo_runtime::WASM_BINARY.unwrap())
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ use polkadot_primitives::{AssignmentId, ValidatorId};
|
||||
|
||||
// Cumulus
|
||||
use emulated_integration_tests_common::{
|
||||
accounts, build_genesis_storage_legacy, get_from_seed, get_host_config, validators,
|
||||
accounts, build_genesis_storage, get_from_seed, get_host_config, validators,
|
||||
};
|
||||
use parachains_common::Balance;
|
||||
use westend_runtime_constants::currency::UNITS as WND;
|
||||
@@ -105,5 +105,5 @@ pub fn genesis() -> Storage {
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
build_genesis_storage_legacy(&genesis_config, westend_runtime::WASM_BINARY.unwrap())
|
||||
build_genesis_storage(&genesis_config, westend_runtime::WASM_BINARY.unwrap())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user