Skip to content

Commit

Permalink
fmt + clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed May 15, 2024
1 parent 4bb246c commit 55905e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ impl<'a> BlockExecutor<'a> for StarknetVMProcessor<'a> {
}

crate::utils::log_resources(&trace.actual_resources);
crate::utils::log_events(&receipt.events());
crate::utils::log_events(receipt.events());
}

ExecutionResult::Failed { error } => {
Expand Down
4 changes: 2 additions & 2 deletions crates/katana/executor/src/implementation/blockifier/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ pub(super) fn transact<S: StateReader>(
}
}?;

// There are a few case where the `actual_fee` field of the transaction info is not set where
// the fee is skipped and thus not charged for the transaction (e.g. when the
// There are a few case where the `actual_fee` field of the transaction info is not set
// where the fee is skipped and thus not charged for the transaction (e.g. when the
// `skip_fee_transfer` is explicitly set, or when the transaction `max_fee` is set to 0). In
// these cases, we still want to calculate the fee.
let overall_fee = if info.actual_fee == Fee(0) {
Expand Down

0 comments on commit 55905e7

Please sign in to comment.