chore(rpc): remove redundant LoadState::cache (#12147)

This commit is contained in:
Emilia Hane
2024-10-29 02:10:30 +08:00
committed by GitHub
parent 28f8c47dc0
commit 37d9643607
3 changed files with 7 additions and 23 deletions

View File

@ -215,17 +215,12 @@ where
}
}
impl<N> LoadState for OpEthApi<N>
where
impl<N> LoadState for OpEthApi<N> where
N: RpcNodeCore<
Provider: StateProviderFactory + ChainSpecProvider<ChainSpec: EthereumHardforks>,
Pool: TransactionPool,
>,
>
{
#[inline]
fn cache(&self) -> &EthStateCache {
self.inner.cache()
}
}
impl<N> EthState for OpEthApi<N>