diff --git a/crates/rpc/rpc/src/eth/api/call.rs b/crates/rpc/rpc/src/eth/api/call.rs index cca5d4b26e6e..29cbdcfc4460 100644 --- a/crates/rpc/rpc/src/eth/api/call.rs +++ b/crates/rpc/rpc/src/eth/api/call.rs @@ -38,18 +38,14 @@ where Network: NetworkInfo + Send + Sync + 'static, { /// Estimate gas needed for execution of the `request` at the [BlockId]. - pub(crate) async fn estimate_gas_at( - &self, - request: CallRequest, - at: BlockId, - ) -> EthResult { + pub async fn estimate_gas_at(&self, request: CallRequest, at: BlockId) -> EthResult { let (cfg, block_env, at) = self.evm_env_at(at).await?; let state = self.state_at(at)?; self.estimate_gas_with(cfg, block_env, request, state) } /// Executes the call request (`eth_call`) and returns the output - pub(crate) async fn call( + pub async fn call( &self, request: CallRequest, block_number: Option,