Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
fix (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstam1 authored Sep 1, 2023
1 parent 99a73e5 commit 0e4a5fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/src/simple_test_net/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ pub fn print_relay_events() {
pub fn relay_successful_execution() -> bool {
use relay_chain::System;
System::events().iter().any(|e| match &e.event {
relay_chain::RuntimeEvent::ParasUmp(
polkadot_runtime_parachains::ump::Event::ExecutedUpward(_, outcome),
) => outcome.clone().ensure_complete().is_ok(),
relay_chain::RuntimeEvent::MessageQueue(
pallet_message_queue::Event::Processed{id: _, origin: _, weight_used: _, success: true},
) => true,
_ => false,
})
}
Expand Down

0 comments on commit 0e4a5fb

Please sign in to comment.