referrerpolicy=no-referrer-when-downgrade
cumulus_zombienet_sdk_helpers

Function wait_for_first_session_change

Source
pub async fn wait_for_first_session_change(
    blocks_sub: &mut StreamOfResults<Block<PolkadotConfig, OnlineClient<PolkadotConfig>>>,
) -> Result<(), Error>
Expand description

Wait for the first block with a session change.

The session change is detected by inspecting the events in the block.