Skip to content

Commit

Permalink
chore(blockifier_reexecution): add test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
AvivYossef-starkware committed Nov 4, 2024
1 parent ff501b0 commit 7ea3ad5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"0.13.0": 600001,
"0.13.1": 620978,
"0.13.1.1": 649367,
"0.13.2": 685878,
"0.13.2.1": 700000
}
12 changes: 12 additions & 0 deletions crates/blockifier_reexecution/src/state_reader/rpc_https_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ const EXAMPLE_L1_HANDLER_BLOCK_NUMBER: u64 = 868429;
const EXAMPLE_L1_HANDLER_TX_HASH: &str =
"0x02315145ae0290b7d49ea3f509b1084b5fcd70d0fea8bed04b83aa8af33e4d7e";

#[allow(unused)]
const EXAMPLE_INVOKE_WITH_DEPLOY_SYSCALL_BLOCK_NUMBER: u64 = 870136;
#[allow(unused)]
const EXAMPLE_INVOKE_WITH_DEPLOY_SYSCALL_TX_HASH: &str =
"0x071374b61bfa449129ab54fc67be4cc5702450aac1a5c2515f65a29836e41d3e";

#[allow(unused)]
const EXAMPLE_INVOKE_WITH_REPLACE_CLASS_SYSCALL_BLOCK_NUMBER: u64 = 780008;
#[allow(unused)]
const EXAMPLE_INVOKE_WITH_REPLACE_CLASS_SYSCALL_TX_HASH: &str =
"0x0091200616808f50f37f79f568ee08b02908b52d6e0eaca26ab98976eac31533";

#[fixture]
pub fn test_block_number() -> BlockNumber {
BlockNumber(EXAMPLE_BLOCK_NUMBER)
Expand Down

0 comments on commit 7ea3ad5

Please sign in to comment.