diff --git a/crates/katana/executor/src/implementation/blockifier/mod.rs b/crates/katana/executor/src/implementation/blockifier/mod.rs index e14586d996..ed15ffe030 100644 --- a/crates/katana/executor/src/implementation/blockifier/mod.rs +++ b/crates/katana/executor/src/implementation/blockifier/mod.rs @@ -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 } => { diff --git a/crates/katana/executor/src/implementation/blockifier/utils.rs b/crates/katana/executor/src/implementation/blockifier/utils.rs index 86dfbec209..e46af78da0 100644 --- a/crates/katana/executor/src/implementation/blockifier/utils.rs +++ b/crates/katana/executor/src/implementation/blockifier/utils.rs @@ -87,8 +87,8 @@ pub(super) fn transact( } }?; - // 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) {