fix(rc-runtime): use TeleportTracking for CheckedAccount in XCM benchmarks
CheckAccount returns AccountId but CheckedAccount expects Get<Option<(AccountId, MintLocation)>>. TeleportTracking already has the correct type signature (set to None post-AH migration).
This commit is contained in:
@@ -2487,7 +2487,7 @@ pezsp_api::impl_runtime_apis! {
|
||||
use pezsp_storage::TrackedStorageKey;
|
||||
use xcm::latest::prelude::*;
|
||||
use xcm_config::{
|
||||
AssetHub, CheckAccount, LocationConverter, TokenLocation, XcmConfig,
|
||||
AssetHub, LocationConverter, TeleportTracking, TokenLocation, XcmConfig,
|
||||
};
|
||||
|
||||
parameter_types! {
|
||||
@@ -2592,7 +2592,7 @@ pezsp_api::impl_runtime_apis! {
|
||||
impl pezpallet_xcm_benchmarks::fungible::Config for Runtime {
|
||||
type TransactAsset = Balances;
|
||||
|
||||
type CheckedAccount = CheckAccount;
|
||||
type CheckedAccount = TeleportTracking;
|
||||
type TrustedTeleporter = TrustedTeleporter;
|
||||
type TrustedReserve = TrustedReserve;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user