From c767f519274fea603b3e0fb6a8fe145275041ee2 Mon Sep 17 00:00:00 2001 From: Sergey Melnychuk Date: Mon, 4 Nov 2024 10:17:22 +0100 Subject: [PATCH] chore(exe/cache): remove marker --- src/exe/cache.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/exe/cache.rs b/src/exe/cache.rs index 4b5c9161..a9ff4555 100644 --- a/src/exe/cache.rs +++ b/src/exe/cache.rs @@ -3,7 +3,6 @@ use ethers::types::U256; use lru::LruCache; use starknet_api::{core::ContractAddress, state::StorageKey}; use starknet_types_core::felt::Felt as StarkFelt; -use std::marker::PhantomData; use std::num::NonZeroUsize; use std::sync::{LazyLock, Mutex}; @@ -116,12 +115,11 @@ pub trait HasBlockHash { pub struct CachedState { inner: T, - _marker: PhantomData, } impl CachedState { pub fn new(inner: T) -> Self { - Self { inner, _marker: PhantomData } + Self { inner } } }