From 002d640aa44488181b22bf1e31afa8ccd4725b74 Mon Sep 17 00:00:00 2001 From: Tomas Fabrizio Orsi Date: Wed, 29 Jan 2025 15:29:47 -0300 Subject: [PATCH] Fix linter errors --- crates/vm/levm/src/execution_handlers.rs | 5 +---- crates/vm/levm/src/opcode_handlers/system.rs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/crates/vm/levm/src/execution_handlers.rs b/crates/vm/levm/src/execution_handlers.rs index 17e702f39c..17f148948b 100644 --- a/crates/vm/levm/src/execution_handlers.rs +++ b/crates/vm/levm/src/execution_handlers.rs @@ -2,10 +2,7 @@ use crate::{ call_frame::CallFrame, constants::*, db::CacheDB, - errors::{ - HaltReason, InternalError, OpcodeResult, OutOfGasError, TransactionReport, TxResult, - VMError, - }, + errors::{InternalError, OpcodeResult, OutOfGasError, TransactionReport, TxResult, VMError}, gas_cost::CODE_DEPOSIT_COST, opcodes::Opcode, utils::*, diff --git a/crates/vm/levm/src/opcode_handlers/system.rs b/crates/vm/levm/src/opcode_handlers/system.rs index 76b662f8c0..cdba7c5ad9 100644 --- a/crates/vm/levm/src/opcode_handlers/system.rs +++ b/crates/vm/levm/src/opcode_handlers/system.rs @@ -2,7 +2,7 @@ use crate::{ call_frame::CallFrame, constants::{CREATE_DEPLOYMENT_FAIL, INIT_CODE_MAX_SIZE, REVERT_FOR_CALL, SUCCESS_FOR_CALL}, db::cache, - errors::{HaltReason, InternalError, OpcodeResult, OutOfGasError, TxResult, VMError}, + errors::{InternalError, OpcodeResult, OutOfGasError, TxResult, VMError}, gas_cost::{self, max_message_call_gas}, memory::{self, calculate_memory_size}, utils::*,