mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
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:
1 parent
20c7291f39
commit
c5ce61616e
1 file changed
+2
-2
@@ -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