chore: exhaustive match for builtin tracer

This commit is contained in:
Matthias Seitz
2025-10-17 10:53:57 +02:00
parent c59c327928
commit 81bb0a3398

View File

@@ -420,6 +420,10 @@ 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 +843,10 @@ 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(_) => {