fix: cargo fmt + LocalCheckAccount→CheckAccount rename + AH MintLocation fix

- Fix xcm_config.rs import line exceeding rustfmt max width
- Rename LocalCheckAccount to CheckAccount in RC runtime (import + type alias)
- Set AH TeleportTracking to None for teleport compatibility (RC 1_020_007, AH 1_020_007)
- Regenerate umbrella crate
This commit is contained in:
2026-02-22 18:47:46 +03:00
parent 0e7a3856c2
commit 5eb2769add
4 changed files with 14 additions and 13 deletions
@@ -138,7 +138,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
impl_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
authoring_version: 1,
spec_version: 1_020_006,
spec_version: 1_020_007,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 16,
@@ -58,13 +58,14 @@ use xcm_builder::{
DenyRecursively, DenyReserveTransferToRelayChain, DenyThenTry, DescribeAllTerminal,
DescribeFamily, EnsureXcmOrigin, ExternalConsensusLocationsConverterFor,
FrameTransactionalProcessor, FungibleAdapter, FungiblesAdapter, HashedDescription, IsConcrete,
LocalMint, MatchInClassInstances, MatchedConvertedConcreteId, MintLocation, NetworkExportTableItem,
NoChecking, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SendXcmFeeToAccount,
SiblingTeyrchainAsNative, SiblingTeyrchainConvertsVia, SignedAccountId32AsNative,
SignedToAccountId32, SingleAssetExchangeAdapter, SovereignPaidRemoteExporter,
SovereignSignedViaLocation, StartsWith, StartsWithExplicitGlobalConsensus, TakeWeightCredit,
TrailingSetTopicAsId, UsingComponents, WeightInfoBounds, WithComputedOrigin,
WithLatestLocationConverter, WithUniqueTopic, XcmFeeManagerFromComponents,
LocalMint, MatchInClassInstances, MatchedConvertedConcreteId, MintLocation,
NetworkExportTableItem, NoChecking, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
SendXcmFeeToAccount, SiblingTeyrchainAsNative, SiblingTeyrchainConvertsVia,
SignedAccountId32AsNative, SignedToAccountId32, SingleAssetExchangeAdapter,
SovereignPaidRemoteExporter, SovereignSignedViaLocation, StartsWith,
StartsWithExplicitGlobalConsensus, TakeWeightCredit, TrailingSetTopicAsId, UsingComponents,
WeightInfoBounds, WithComputedOrigin, WithLatestLocationConverter, WithUniqueTopic,
XcmFeeManagerFromComponents,
};
use xcm_executor::XcmExecutor;
@@ -91,8 +92,9 @@ parameter_types! {
pub UniquesPalletLocation: Location =
PalletInstance(<Uniques as PalletInfoAccess>::index() as u8).into();
pub CheckingAccount: AccountId = PezkuwiXcm::check_account();
/// Asset Hub has mint authority since the Asset Hub migration.
pub TeleportTracking: Option<(AccountId, MintLocation)> = Some((CheckingAccount::get(), MintLocation::Local));
/// Teleport tracking disabled — both RC and AH use None so teleports work without
/// a pre-seeded CheckingAccount. RC burns on send, AH mints on receive directly.
pub TeleportTracking: Option<(AccountId, MintLocation)> = None;
pub const GovernanceLocation: Location = Location::parent();
pub StakingPot: AccountId = CollatorSelection::account_id();
pub TreasuryAccount: AccountId = TREASURY_PALLET_ID.into_account_truncating();
+2 -2
View File
@@ -2487,7 +2487,7 @@ pezsp_api::impl_runtime_apis! {
use pezsp_storage::TrackedStorageKey;
use xcm::latest::prelude::*;
use xcm_config::{
AssetHub, LocalCheckAccount, LocationConverter, TokenLocation, XcmConfig,
AssetHub, CheckAccount, LocationConverter, 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 = LocalCheckAccount;
type CheckedAccount = CheckAccount;
type TrustedTeleporter = TrustedTeleporter;
type TrustedReserve = TrustedReserve;
-1
View File
@@ -1,6 +1,5 @@
[package]
name = "pezkuwi-sdk"
version = "0.0.0"
description = "Pezkuwi SDK umbrella crate."
license = "Apache-2.0"