fn commit_deposit_to_expire(
    test_setup: &mut TestSetup,
    from: ETHAccountId,
    to: ZKSyncAccountId,
    token: Token,
    deposit_amount: &BigUint,
) -> u64 {
    info!("Commit deposit to expire");
    test_setup.start_block();
    test_setup.deposit(from, to, token, deposit_amount.clone());
    test_setup.execute_commit_block().expect_success();

    info!("Done commit deposit to expire");
    test_setup.eth_block_number()
}
// Commits deposit that has to fail, returns block close to the block where deposit was committed.
Commits deposit that has to fail, returns block close to the block where deposit was committed.
Commits deposit that has to fail returns block close to the block where deposit was committed .
fn commit_deposit_to_expire(
    test_setup: &mut TestSetup,
    from: ETHAccountId,
    to: ZKSyncAccountId,
    token: Token,
    deposit_amount: &BigUint,
) -> u64 {
    info!("Commit deposit to expire");
    test_setup.start_block();
    test_setup.deposit(from, to, token, deposit_amount.clone());
    test_setup.execute_commit_block().expect_success();
    info!("Done commit deposit to expire");
    test_setup.eth_block_number()
}
fn commit_deposit_to_expire ( test_setup : & mut TestSetup , from : ETHAccountId , to : ZKSyncAccountId , token : Token , deposit_amount : & BigUint , ) -> u64 { info ! ( " " ) ; test_setup . start_block ( ) ; test_setup . deposit ( from , to , token , deposit_amount . clone ( ) ) ; test_setup . execute_commit_block ( ) . expect_success ( ) ; info ! ( " " ) ; test_setup . eth_block_number ( ) }
Commits deposit that has to fail, returns block close to the block where deposit was committed.
Commits deposit that has to fail returns block close to the block where deposit was committed .
test_setup
&mut TestSetup
from
ETHAccountId
to
ZKSyncAccountId
token
Token
deposit_amount
&BigUint