chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
mod mock;
|
||||
|
||||
use mock::*;
|
||||
use pezframe_support::{
|
||||
assert_err, assert_ok,
|
||||
pezsp_runtime::{
|
||||
@@ -24,7 +25,6 @@ use pezframe_support::{
|
||||
AccountId32, MultiSignature,
|
||||
},
|
||||
};
|
||||
use mock::*;
|
||||
use pezsp_api::ProvideRuntimeApi;
|
||||
use xcm::prelude::*;
|
||||
use xcm_runtime_pezapis::conversions::{
|
||||
|
||||
@@ -425,7 +425,10 @@ fn dry_run_xcm_common(xcm_version: XcmVersion) {
|
||||
account: 2100,
|
||||
free_balance: 520
|
||||
}),
|
||||
RuntimeEvent::Balances(pezpallet_balances::Event::Minted { who: 2100, amount: 520 }),
|
||||
RuntimeEvent::Balances(pezpallet_balances::Event::Minted {
|
||||
who: 2100,
|
||||
amount: 520
|
||||
}),
|
||||
RuntimeEvent::XcmPallet(pezpallet_xcm::Event::Sent {
|
||||
origin: (who,).into(),
|
||||
destination: (Parent, Teyrchain(2100)).into(),
|
||||
|
||||
@@ -43,13 +43,13 @@ use xcm_executor::{
|
||||
XcmExecutor,
|
||||
};
|
||||
|
||||
use xcm_pez_simulator::helpers::derive_topic_id;
|
||||
use xcm_runtime_pezapis::{
|
||||
conversions::{Error as LocationToAccountApiError, LocationToAccountApi},
|
||||
dry_run::{CallDryRunEffects, DryRunApi, Error as XcmDryRunApiError, XcmDryRunEffects},
|
||||
fees::{Error as XcmPaymentApiError, XcmPaymentApi},
|
||||
trusted_query::{Error as TrustedQueryApiError, TrustedQueryApi},
|
||||
};
|
||||
use xcm_pez_simulator::helpers::derive_topic_id;
|
||||
|
||||
construct_runtime! {
|
||||
pub enum TestRuntime {
|
||||
@@ -468,8 +468,12 @@ impl pezpallet_xcm::Config for TestRuntime {
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn new_test_ext_with_balances(balances: Vec<(AccountId, Balance)>) -> pezsp_io::TestExternalities {
|
||||
let mut t = pezframe_system::GenesisConfig::<TestRuntime>::default().build_storage().unwrap();
|
||||
pub fn new_test_ext_with_balances(
|
||||
balances: Vec<(AccountId, Balance)>,
|
||||
) -> pezsp_io::TestExternalities {
|
||||
let mut t = pezframe_system::GenesisConfig::<TestRuntime>::default()
|
||||
.build_storage()
|
||||
.unwrap();
|
||||
|
||||
pezpallet_balances::GenesisConfig::<TestRuntime> { balances, ..Default::default() }
|
||||
.assimilate_storage(&mut t)
|
||||
@@ -485,7 +489,9 @@ pub fn new_test_ext_with_balances_and_assets(
|
||||
balances: Vec<(AccountId, Balance)>,
|
||||
assets: Vec<(AssetIdForAssetsPallet, AccountId, Balance)>,
|
||||
) -> pezsp_io::TestExternalities {
|
||||
let mut t = pezframe_system::GenesisConfig::<TestRuntime>::default().build_storage().unwrap();
|
||||
let mut t = pezframe_system::GenesisConfig::<TestRuntime>::default()
|
||||
.build_storage()
|
||||
.unwrap();
|
||||
|
||||
pezpallet_balances::GenesisConfig::<TestRuntime> { balances, ..Default::default() }
|
||||
.assimilate_storage(&mut t)
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
|
||||
mod mock;
|
||||
|
||||
use pezframe_support::pezsp_runtime::testing::H256;
|
||||
use mock::*;
|
||||
use pezframe_support::pezsp_runtime::testing::H256;
|
||||
use pezsp_api::ProvideRuntimeApi;
|
||||
use xcm::{prelude::*, v3};
|
||||
use xcm_runtime_pezapis::trusted_query::{Error, TrustedQueryApi};
|
||||
|
||||
Reference in New Issue
Block a user