chore: Remove unused imports

This commit is contained in:
sprites0
2025-06-23 22:47:52 +00:00
parent 66382f6f03
commit fa66c97f57
2 changed files with 3 additions and 8 deletions

View File

@ -1,10 +1,6 @@
use alloy_primitives::{address, b256, Address, B256, U256};
use alloy_primitives::{address, Address};
use reth_evm::block::BlockExecutionError;
use reth_primitives_traits::SignedTransaction;
use reth_revm::{db::states::StorageSlot, State};
use revm::{primitives::HashMap, state::Account, Database};
use std::{str::FromStr, sync::LazyLock};
use tracing::trace;
use revm::{primitives::HashMap, state::Account};
/// Applies storage patches to the state after a transaction is executed.
/// See https://github.com/hyperliquid-dex/hyper-evm-sync/commit/39047242b6260f7764527a2f5057dd9c3a75aa89 for more details.

View File

@ -9,7 +9,7 @@ use std::sync::{Arc, LazyLock, Mutex};
use tokio::runtime::Handle;
use tracing::info;
use crate::node::spot_meta::{self, erc20_contract_to_spot_token, SpotId};
use crate::node::spot_meta::{erc20_contract_to_spot_token, SpotId};
use crate::{
node::types::{ReadPrecompileCalls, SystemTx},
HlBlock, HlBlockBody,
@ -103,7 +103,6 @@ fn system_tx_to_reth_transaction(
"Contract not found: {:?} from spot mapping, fetching again...",
to
);
let rt = Handle::current();
*EVM_MAP.lock().unwrap() = erc20_contract_to_spot_token(chain_id).unwrap();
}
};