Skip to content

Commit

Permalink
Fix skip fee check flag not being honored
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Sep 11, 2024
1 parent ab1ac02 commit 290338e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/blockifier/src/blockifier/stateful_validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ impl<S: StateReader> StatefulValidator<S> {
}

let tx_context = self.tx_executor.block_context.to_tx_context(&tx);
self.perform_pre_validation_stage(&tx, &tx_context, skip_fee_check)?;
let fee_check = !skip_fee_check;
self.perform_pre_validation_stage(&tx, &tx_context, fee_check)?;

if !skip_validate {
// `__validate__` call.
Expand Down

0 comments on commit 290338e

Please sign in to comment.