mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Align BridgeHub runtimes with other SP runtimes + reused test for teleport native tokens + some nits (#2449)
* Align BridgeHub runtimes with other SP runtimes * Reused `teleports_for_native_asset_works` test to all bridge-hub runtime * Fix import vs doc * Removed unnecessery deps * DealWithFees + ToAuthor->ToStakingPot for BH according to the other runtimes * Update parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Update parachains/runtimes/bridge-hubs/bridge-hub-polkadot/src/xcm_config.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Update parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/xcm_config.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Align all desc * Extract runtime_para_id for test * Fix test --------- Co-authored-by: parity-processbot <> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
This commit is contained in:
@@ -22,9 +22,7 @@ use cumulus_primitives_core::{
|
||||
};
|
||||
use cumulus_primitives_parachain_inherent::ParachainInherentData;
|
||||
|
||||
use polkadot_parachain::primitives::{
|
||||
HeadData, RelayChainBlockNumber, ValidationParams, ValidationResult,
|
||||
};
|
||||
use polkadot_parachain::primitives::{HeadData, RelayChainBlockNumber, ValidationResult};
|
||||
|
||||
use codec::Encode;
|
||||
|
||||
@@ -238,7 +236,7 @@ where
|
||||
.expect("Could not find `set_validation_data` inherent")
|
||||
}
|
||||
|
||||
/// Validate the given [`PersistedValidationData`] against the [`ValidationParams`].
|
||||
/// Validate the given [`PersistedValidationData`] against the [`MemoryOptimizedValidationParams`].
|
||||
fn validate_validation_data(
|
||||
validation_data: &PersistedValidationData,
|
||||
relay_parent_number: RelayChainBlockNumber,
|
||||
|
||||
Reference in New Issue
Block a user