chore: replace todo with error (#3078)

This commit is contained in:
Matthias Seitz
2023-06-09 15:24:29 +02:00
committed by GitHub
parent 6da3290a3e
commit 6bf64651b2

View File

@ -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()))