feat(rpc): add overrides to trace call opts (#2115)

This commit is contained in:
Matthias Seitz
2023-04-04 23:10:45 +02:00
committed by GitHub
parent 40b5201bbe
commit 59dabcdac0
4 changed files with 44 additions and 13 deletions

View File

@ -1,7 +1,10 @@
use jsonrpsee::{core::RpcResult as Result, proc_macros::rpc};
use reth_primitives::{BlockId, BlockNumberOrTag, Bytes, H256};
use reth_rpc_types::{
trace::geth::{BlockTraceResult, GethDebugTracingOptions, GethTraceFrame, TraceResult},
trace::geth::{
BlockTraceResult, GethDebugTracingCallOptions, GethDebugTracingOptions, GethTraceFrame,
TraceResult,
},
CallRequest, RichBlock,
};
@ -97,6 +100,6 @@ pub trait DebugApi {
&self,
request: CallRequest,
block_number: Option<BlockId>,
opts: GethDebugTracingOptions,
opts: GethDebugTracingCallOptions,
) -> Result<GethTraceFrame>;
}