Skip to content

Commit

Permalink
uncomment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
itegulov committed Nov 28, 2024
1 parent 4a564a5 commit e434f90
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/node/in_memory_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,14 +436,14 @@ mod tests {
assert_eq!(start_block.timestamp + 1, current_block.timestamp);
node.mine_blocks(None, None).expect("mine_blocks");

// let current_block = node
// .get_block_by_number(zksync_types::api::BlockNumber::Latest, false)
// .await
// .unwrap()
// .expect("block exists");
//
// assert_eq!(start_block.number + 2, current_block.number);
// assert_eq!(start_block.timestamp + 2, current_block.timestamp);
let current_block = node
.get_block_by_number(zksync_types::api::BlockNumber::Latest, false)
.await
.unwrap()
.expect("block exists");

assert_eq!(start_block.number + 2, current_block.number);
assert_eq!(start_block.timestamp + 2, current_block.timestamp);
}

#[tokio::test]
Expand Down

0 comments on commit e434f90

Please sign in to comment.