mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
introduce standalone estimate gas type (#12344)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -4,7 +4,7 @@ use alloy_rpc_types_eth::transaction::TransactionRequest;
|
||||
use reth_evm::ConfigureEvm;
|
||||
use reth_primitives::revm_primitives::{BlockEnv, OptimismFields, TxEnv};
|
||||
use reth_rpc_eth_api::{
|
||||
helpers::{Call, EthCall, LoadPendingBlock, LoadState, SpawnBlocking},
|
||||
helpers::{estimate::EstimateCall, Call, EthCall, LoadPendingBlock, LoadState, SpawnBlocking},
|
||||
FromEthApiError, IntoEthApiError, RpcNodeCore,
|
||||
};
|
||||
use reth_rpc_eth_types::{revm_utils::CallFees, RpcInvalidTransactionError};
|
||||
@ -13,7 +13,15 @@ use crate::{OpEthApi, OpEthApiError};
|
||||
|
||||
impl<N> EthCall for OpEthApi<N>
|
||||
where
|
||||
Self: Call + LoadPendingBlock,
|
||||
Self: EstimateCall + LoadPendingBlock,
|
||||
N: RpcNodeCore,
|
||||
{
|
||||
}
|
||||
|
||||
impl<N> EstimateCall for OpEthApi<N>
|
||||
where
|
||||
Self: Call,
|
||||
Self::Error: From<OpEthApiError>,
|
||||
N: RpcNodeCore,
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user