Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
fix(concurrency): fix test_concurrent_fee_transfer_when_sender_is_seq…
Browse files Browse the repository at this point in the history
…uencer to run concurrency mode (#2051)
  • Loading branch information
meship-starkware authored Jul 10, 2024
1 parent dde2eab commit 70fe33a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1332,10 +1332,10 @@ fn test_concurrent_fee_transfer_when_sender_is_sequencer(
let fee_token_address = block_context.chain_info.fee_token_address(fee_type);

let mut transactional_state = TransactionalState::create_transactional(state);
let charge_fee = true;
let validate = true;
let execution_flags =
ExecutionFlags { charge_fee: true, validate: true, concurrency_mode: true };
let result =
account_tx.execute(&mut transactional_state, &block_context, charge_fee, validate).unwrap();
account_tx.execute_raw(&mut transactional_state, &block_context, execution_flags).unwrap();
assert!(!result.is_reverted());
// Check that the sequencer balance was updated (in this case, was not changed).
for (seq_key, seq_value) in
Expand Down

0 comments on commit 70fe33a

Please sign in to comment.