fix: Complete snowbridge pezpallet rebrand and critical bug fixes
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs) - pallet/ directories → pezpallet/ (4 locations) - Fixed pezpallet.rs self-include recursion bug - Fixed sc-chain-spec hardcoded crate name in derive macro - Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API) - Added BizinikiwiConfig type alias for zombienet tests - Deleted obsolete session state files Verified: pezsnowbridge-pezpallet-*, pezpallet-staking, pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
This commit is contained in:
@@ -193,7 +193,7 @@ impl ContainsPair<Asset, Location> for NativeTokenToAssetHub {
|
||||
|
||||
/// Teyrchain id of Asset Hub.
|
||||
pub const ASSET_HUB_PARA_ID: u32 = 1000;
|
||||
/// The instance index of the trust-backed assets pallet in Asset Hub.
|
||||
/// The instance index of the trust-backed assets pezpallet in Asset Hub.
|
||||
pub const ASSET_HUB_ASSETS_PALLET_INSTANCE: u8 = 50;
|
||||
/// Id of USDT in Asset Hub.
|
||||
pub const USDT_ID: u32 = 1984;
|
||||
@@ -598,18 +598,18 @@ pezsp_api::mock_impl_runtime_apis! {
|
||||
call: RuntimeCall,
|
||||
result_xcms_version: XcmVersion,
|
||||
) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError> {
|
||||
pezpallet_xcm::Pallet::<TestRuntime>::dry_run_call::<TestRuntime, XcmRouter, OriginCaller, RuntimeCall>(origin, call, result_xcms_version)
|
||||
pezpallet_xcm::Pezpallet::<TestRuntime>::dry_run_call::<TestRuntime, XcmRouter, OriginCaller, RuntimeCall>(origin, call, result_xcms_version)
|
||||
}
|
||||
|
||||
fn dry_run_call_before_version_2(
|
||||
origin: OriginCaller,
|
||||
call: RuntimeCall,
|
||||
) -> Result<CallDryRunEffects<RuntimeEvent>, XcmDryRunApiError> {
|
||||
pezpallet_xcm::Pallet::<TestRuntime>::dry_run_call::<TestRuntime, XcmRouter, OriginCaller, RuntimeCall>(origin, call, xcm::latest::VERSION)
|
||||
pezpallet_xcm::Pezpallet::<TestRuntime>::dry_run_call::<TestRuntime, XcmRouter, OriginCaller, RuntimeCall>(origin, call, xcm::latest::VERSION)
|
||||
}
|
||||
|
||||
fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm<RuntimeCall>) -> Result<XcmDryRunEffects<RuntimeEvent>, XcmDryRunApiError> {
|
||||
pezpallet_xcm::Pallet::<TestRuntime>::dry_run_xcm::<XcmRouter>(origin_location, xcm)
|
||||
pezpallet_xcm::Pezpallet::<TestRuntime>::dry_run_xcm::<XcmRouter>(origin_location, xcm)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user