Skip to content

Commit

Permalink
fix: remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Created-for-a-purpose committed May 19, 2024
1 parent 81ebb9b commit c6a10c2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions node/tests/integration/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1109,17 +1109,9 @@ async fn fund_account(client: &mut AzeClient, account_id: AccountId, faucet_acco
consume_notes(client, account_id, &[note]).await;
}

async fn log_slots(client: &AzeClient, account_id: AccountId) {
let (regular_account, _seed) = client.get_account(account_id).unwrap();
for i in 1..117 {
println!("Account slot {:?} --> {:?}", i, regular_account.storage().get_item(i));
}
}

async fn assert_next_turn(client: &AzeClient, account_id: AccountId, player_index: u8, last_raiser_index: RpoDigest, last_phase_digest: RpoDigest) {
let (account, _) = client.get_account(account_id).unwrap();
let game_account_storage = account.storage();
log_slots(client, account_id).await;

let mut next_player_index = if player_index == LAST_PLAYER_INDEX {
FIRST_PLAYER_INDEX
Expand Down

0 comments on commit c6a10c2

Please sign in to comment.