Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Jan 23, 2025
1 parent dea3572 commit 4e6c0b2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions integration-tests/ahm/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
//! SNAP_RC="../../polkadot.snap" SNAP_AH="../../ah-polkadot.snap" RUST_LOG="info" ct polkadot-integration-tests-ahm -r on_initialize_works -- --nocapture
//! ```
use cumulus_primitives_core::ParaId;
use cumulus_primitives_core::{AggregateMessageOrigin, ParaId};
use frame_support::{pallet_prelude::*, traits::*, weights::WeightMeter};
use pallet_rc_migrator::{types::PalletMigrationChecks, MigrationStage, RcMigrationStage};
use polkadot_primitives::InboundDownwardMessage;
Expand Down Expand Up @@ -79,16 +79,14 @@ async fn account_migration_works() {
ah.execute_with(|| {
let ah_pre_check_payload =
pallet_ah_migrator::preimage::PreimageMigrationCheck::<AssetHub>::pre_check();
let mut fp = asset_hub_polkadot_runtime::MessageQueue::footprint(
cumulus_primitives_core::AggregateMessageOrigin::Parent,
);
let mut fp =
asset_hub_polkadot_runtime::MessageQueue::footprint(AggregateMessageOrigin::Parent);
enqueue_dmp(dmp_messages);

// Loop until no more DMPs are queued
loop {
let new_fp = asset_hub_polkadot_runtime::MessageQueue::footprint(
cumulus_primitives_core::AggregateMessageOrigin::Parent,
);
let new_fp =
asset_hub_polkadot_runtime::MessageQueue::footprint(AggregateMessageOrigin::Parent);
if fp == new_fp {
log::info!("AH DMP messages left: {}", fp.storage.count);
break;
Expand Down

0 comments on commit 4e6c0b2

Please sign in to comment.