Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoGiachetta committed Jul 8, 2024
1 parent 1496d38 commit 8af175e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rpc-state-reader/src/blockifier_state_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ mod tests {
)]
fn blockifier_test_case_reverted_tx(hash: &str, block_number: u64, chain: RpcChain) {
let mut state = build_cached_state(&chain.to_string(), block_number);
let (tx_info, trace, _) = execute_tx_configurable(&mut state, hash, BlockNumber(block_number), false, false).unwrap();
let (tx_info, trace, _) =
execute_tx_configurable(&mut state, hash, BlockNumber(block_number), false, false)
.unwrap();

assert_eq!(
tx_info.revert_error,
Expand Down Expand Up @@ -478,7 +480,9 @@ mod tests {
fn blockifier_tx(hash: &str, block_number: u64, chain: RpcChain) {
// Execute using blockifier
let mut state = build_cached_state(&chain.to_string(), block_number);
let (tx_info, trace, _) = execute_tx_configurable(&mut state, hash, BlockNumber(block_number), false, false).unwrap();
let (tx_info, trace, _) =
execute_tx_configurable(&mut state, hash, BlockNumber(block_number), false, false)
.unwrap();

// We cannot currently check fee & resources

Expand Down

0 comments on commit 8af175e

Please sign in to comment.