fn trigger_exodus(
    test_setup: &TestSetup,
    eth_account: ETHAccountId,
    expire_count_start_block: u64,
) {
    info!("Triggering exodus");
    let is_exodus = test_setup.is_exodus();
    assert!(!is_exodus, "Exodus should be triggered later");

    while test_setup.eth_block_number() - expire_count_start_block < PRIORITY_EXPIRATION {
        test_setup.trigger_exodus_if_needed(eth_account);
    }

    test_setup.trigger_exodus_if_needed(eth_account);

    let is_exodus = test_setup.is_exodus();
    assert!(is_exodus, "Exodus should be triggered after expiration");
    info!("Done triggering exodus");
}
// Trigger exodus mode using `eth_account`, it is preferred to use not operator account for this
Trigger exodus mode using `eth_account`, it is preferred to use not operator account for this
Trigger exodus mode using ` eth_account ` it is preferred to use not operator account for this
fn trigger_exodus(
    test_setup: &TestSetup,
    eth_account: ETHAccountId,
    expire_count_start_block: u64,
) {
    info!("Triggering exodus");
    let is_exodus = test_setup.is_exodus();
    assert!(!is_exodus, "Exodus should be triggered later");
    while test_setup.eth_block_number() - expire_count_start_block < PRIORITY_EXPIRATION {
        test_setup.trigger_exodus_if_needed(eth_account);
    }
    test_setup.trigger_exodus_if_needed(eth_account);
    let is_exodus = test_setup.is_exodus();
    assert!(is_exodus, "Exodus should be triggered after expiration");
    info!("Done triggering exodus");
}
fn trigger_exodus ( test_setup : & TestSetup , eth_account : ETHAccountId , expire_count_start_block : u64 , ) { info ! ( " " ) ; let is_exodus = test_setup . is_exodus ( ) ; assert ! ( is_exodus " " ) ; while test_setup . eth_block_number ( ) - expire_count_start_block < PRIORITY_EXPIRATION { test_setup . trigger_exodus_if_needed ( eth_account ) ; } test_setup . trigger_exodus_if_needed ( eth_account ) ; let is_exodus = test_setup . is_exodus ( ) ; assert ! ( is_exodus " " ) ; info ! ( " " ) ; }
Trigger exodus mode using `eth_account`, it is preferred to use not operator account for this
Trigger exodus mode using ` eth_account ` it is preferred to use not operator account for this
test_setup
&TestSetup
eth_account
ETHAccountId
expire_count_start_block
u64