mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-10 07:48:19 -05:00
chore: exhaustive match for builtin tracer (#19105)
This commit is contained in:
@@ -420,6 +420,11 @@ where
|
||||
|
||||
Ok(frame.into())
|
||||
}
|
||||
_ => {
|
||||
// Note: this match is non-exhaustive in case we need to add support for
|
||||
// additional tracers
|
||||
Err(EthApiError::Unsupported("unsupported tracer").into())
|
||||
}
|
||||
},
|
||||
#[cfg(not(feature = "js-tracer"))]
|
||||
GethDebugTracerType::JsTracer(_) => {
|
||||
@@ -839,6 +844,11 @@ where
|
||||
|
||||
return Ok((frame.into(), res.state));
|
||||
}
|
||||
_ => {
|
||||
// Note: this match is non-exhaustive in case we need to add support for
|
||||
// additional tracers
|
||||
Err(EthApiError::Unsupported("unsupported tracer").into())
|
||||
}
|
||||
},
|
||||
#[cfg(not(feature = "js-tracer"))]
|
||||
GethDebugTracerType::JsTracer(_) => {
|
||||
|
||||
Reference in New Issue
Block a user