From 6bf64651b23cb06201d93a77c3d34e569dd861e3 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Fri, 9 Jun 2023 15:24:29 +0200 Subject: [PATCH] chore: replace todo with error (#3078) --- crates/rpc/rpc/src/debug.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rpc/rpc/src/debug.rs b/crates/rpc/rpc/src/debug.rs index bc426518f2..1e41b6c5e6 100644 --- a/crates/rpc/rpc/src/debug.rs +++ b/crates/rpc/rpc/src/debug.rs @@ -529,7 +529,7 @@ fn trace_transaction( return Ok((frame.into(), res.state)) } GethDebugBuiltInTracerType::PreStateTracer => { - todo!() + Err(EthApiError::Unsupported("prestate tracer is unimplemented yet.")) } GethDebugBuiltInTracerType::NoopTracer => { Ok((NoopFrame::default().into(), Default::default()))