mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(rpc): inline trait methods of RpcNodeCore impl (#12144)
This commit is contained in:
@ -41,18 +41,22 @@ where
|
||||
type Network = <T as FullNodeComponents>::Network;
|
||||
type Evm = <T as FullNodeComponents>::Evm;
|
||||
|
||||
#[inline]
|
||||
fn pool(&self) -> &Self::Pool {
|
||||
FullNodeComponents::pool(self)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn evm_config(&self) -> &Self::Evm {
|
||||
FullNodeComponents::evm_config(self)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn network(&self) -> &Self::Network {
|
||||
FullNodeComponents::network(self)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn provider(&self) -> &Self::Provider {
|
||||
FullNodeComponents::provider(self)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user