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:
@@ -138,7 +138,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|||||||
spec_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
|
spec_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
|
||||||
impl_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
|
impl_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
|
||||||
authoring_version: 1,
|
authoring_version: 1,
|
||||||
spec_version: 1_020_006,
|
spec_version: 1_020_007,
|
||||||
impl_version: 0,
|
impl_version: 0,
|
||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
transaction_version: 16,
|
transaction_version: 16,
|
||||||
|
|||||||
@@ -58,13 +58,14 @@ use xcm_builder::{
|
|||||||
DenyRecursively, DenyReserveTransferToRelayChain, DenyThenTry, DescribeAllTerminal,
|
DenyRecursively, DenyReserveTransferToRelayChain, DenyThenTry, DescribeAllTerminal,
|
||||||
DescribeFamily, EnsureXcmOrigin, ExternalConsensusLocationsConverterFor,
|
DescribeFamily, EnsureXcmOrigin, ExternalConsensusLocationsConverterFor,
|
||||||
FrameTransactionalProcessor, FungibleAdapter, FungiblesAdapter, HashedDescription, IsConcrete,
|
FrameTransactionalProcessor, FungibleAdapter, FungiblesAdapter, HashedDescription, IsConcrete,
|
||||||
LocalMint, MatchInClassInstances, MatchedConvertedConcreteId, MintLocation, NetworkExportTableItem,
|
LocalMint, MatchInClassInstances, MatchedConvertedConcreteId, MintLocation,
|
||||||
NoChecking, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SendXcmFeeToAccount,
|
NetworkExportTableItem, NoChecking, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative,
|
||||||
SiblingTeyrchainAsNative, SiblingTeyrchainConvertsVia, SignedAccountId32AsNative,
|
SendXcmFeeToAccount, SiblingTeyrchainAsNative, SiblingTeyrchainConvertsVia,
|
||||||
SignedToAccountId32, SingleAssetExchangeAdapter, SovereignPaidRemoteExporter,
|
SignedAccountId32AsNative, SignedToAccountId32, SingleAssetExchangeAdapter,
|
||||||
SovereignSignedViaLocation, StartsWith, StartsWithExplicitGlobalConsensus, TakeWeightCredit,
|
SovereignPaidRemoteExporter, SovereignSignedViaLocation, StartsWith,
|
||||||
TrailingSetTopicAsId, UsingComponents, WeightInfoBounds, WithComputedOrigin,
|
StartsWithExplicitGlobalConsensus, TakeWeightCredit, TrailingSetTopicAsId, UsingComponents,
|
||||||
WithLatestLocationConverter, WithUniqueTopic, XcmFeeManagerFromComponents,
|
WeightInfoBounds, WithComputedOrigin, WithLatestLocationConverter, WithUniqueTopic,
|
||||||
|
XcmFeeManagerFromComponents,
|
||||||
};
|
};
|
||||||
use xcm_executor::XcmExecutor;
|
use xcm_executor::XcmExecutor;
|
||||||
|
|
||||||
@@ -91,8 +92,9 @@ parameter_types! {
|
|||||||
pub UniquesPalletLocation: Location =
|
pub UniquesPalletLocation: Location =
|
||||||
PalletInstance(<Uniques as PalletInfoAccess>::index() as u8).into();
|
PalletInstance(<Uniques as PalletInfoAccess>::index() as u8).into();
|
||||||
pub CheckingAccount: AccountId = PezkuwiXcm::check_account();
|
pub CheckingAccount: AccountId = PezkuwiXcm::check_account();
|
||||||
/// Asset Hub has mint authority since the Asset Hub migration.
|
/// Teleport tracking disabled — both RC and AH use None so teleports work without
|
||||||
pub TeleportTracking: Option<(AccountId, MintLocation)> = Some((CheckingAccount::get(), MintLocation::Local));
|
/// 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 const GovernanceLocation: Location = Location::parent();
|
||||||
pub StakingPot: AccountId = CollatorSelection::account_id();
|
pub StakingPot: AccountId = CollatorSelection::account_id();
|
||||||
pub TreasuryAccount: AccountId = TREASURY_PALLET_ID.into_account_truncating();
|
pub TreasuryAccount: AccountId = TREASURY_PALLET_ID.into_account_truncating();
|
||||||
|
|||||||
@@ -2487,7 +2487,7 @@ pezsp_api::impl_runtime_apis! {
|
|||||||
use pezsp_storage::TrackedStorageKey;
|
use pezsp_storage::TrackedStorageKey;
|
||||||
use xcm::latest::prelude::*;
|
use xcm::latest::prelude::*;
|
||||||
use xcm_config::{
|
use xcm_config::{
|
||||||
AssetHub, LocalCheckAccount, LocationConverter, TokenLocation, XcmConfig,
|
AssetHub, CheckAccount, LocationConverter, TokenLocation, XcmConfig,
|
||||||
};
|
};
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
@@ -2592,7 +2592,7 @@ pezsp_api::impl_runtime_apis! {
|
|||||||
impl pezpallet_xcm_benchmarks::fungible::Config for Runtime {
|
impl pezpallet_xcm_benchmarks::fungible::Config for Runtime {
|
||||||
type TransactAsset = Balances;
|
type TransactAsset = Balances;
|
||||||
|
|
||||||
type CheckedAccount = LocalCheckAccount;
|
type CheckedAccount = CheckAccount;
|
||||||
type TrustedTeleporter = TrustedTeleporter;
|
type TrustedTeleporter = TrustedTeleporter;
|
||||||
type TrustedReserve = TrustedReserve;
|
type TrustedReserve = TrustedReserve;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "pezkuwi-sdk"
|
name = "pezkuwi-sdk"
|
||||||
version = "0.0.0"
|
|
||||||
description = "Pezkuwi SDK umbrella crate."
|
description = "Pezkuwi SDK umbrella crate."
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user