Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Sep 17, 2024
1 parent df1de7f commit b239149
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions crates/evm/src/interpreter.cairo
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use core::ops::SnapshotDeref;
use contracts::kakarot_core::KakarotCore;
use contracts::kakarot_core::interface::IKakarotCore;
use core::num::traits::Zero;
use core::starknet::storage::{StoragePointerReadAccess};
use core::ops::SnapshotDeref;
use core::starknet::EthAddress;
use core::starknet::get_tx_info;
use core::starknet::storage::{StoragePointerReadAccess};
use evm::backend::starknet_backend;
use evm::create_helpers::CreateHelpers;
use evm::errors::{EVMError, EVMErrorTrait, CONTRACT_ACCOUNT_EXISTS};
Expand Down Expand Up @@ -36,10 +36,7 @@ use utils::set::{Set, SetTrait};
#[generate_trait]
pub impl EVMImpl of EVMTrait {
fn process_transaction(
ref self: KakarotCore::ContractState,
origin: Address,
tx: Transaction,
intrinsic_gas: u64
ref self: KakarotCore::ContractState, origin: Address, tx: Transaction, intrinsic_gas: u64
) -> TransactionResult {
// Charge the cost of intrinsic gas - which has been verified to be <= gas_limit.
let block_base_fee = self.snapshot_deref().Kakarot_base_fee.read();
Expand Down

0 comments on commit b239149

Please sign in to comment.