chore(rpc): inline trait methods of RpcNodeCore impl (#12144)

This commit is contained in:
Emilia Hane
2024-10-29 00:35:26 +08:00
committed by GitHub
parent b36b021aa2
commit 06d73eec8a
2 changed files with 8 additions and 0 deletions

View File

@ -123,18 +123,22 @@ where
type Network = <N as RpcNodeCore>::Network;
type Evm = <N as RpcNodeCore>::Evm;
#[inline]
fn pool(&self) -> &Self::Pool {
self.inner.pool()
}
#[inline]
fn evm_config(&self) -> &Self::Evm {
self.inner.evm_config()
}
#[inline]
fn network(&self) -> &Self::Network {
self.inner.network()
}
#[inline]
fn provider(&self) -> &Self::Provider {
self.inner.provider()
}