From e434f90893d7ac309c771fff1fe426d1c8657bdc Mon Sep 17 00:00:00 2001 From: Daniyar Itegulov Date: Thu, 28 Nov 2024 12:47:21 +1100 Subject: [PATCH] uncomment tests --- src/node/in_memory_ext.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/node/in_memory_ext.rs b/src/node/in_memory_ext.rs index 9ec94048..fc5733eb 100644 --- a/src/node/in_memory_ext.rs +++ b/src/node/in_memory_ext.rs @@ -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]