chore(deps): bump revm inspectors, handle case where revm-inspectors js-tracer is enabled but reth's js-tracer is not (#21810)

This commit is contained in:
zerosnacks
2026-02-04 17:07:45 +01:00
committed by GitHub
parent 6680a18bc3
commit 74d4b1f2ca
2 changed files with 4 additions and 2 deletions

View File

@@ -480,7 +480,7 @@ revm-primitives = { version = "22.0.0", default-features = false }
revm-interpreter = { version = "32.0.0", default-features = false }
revm-database-interface = { version = "9.0.0", default-features = false }
op-revm = { version = "15.0.0", default-features = false }
revm-inspectors = "0.34.1"
revm-inspectors = "0.34.2"
# eth
alloy-dyn-abi = "1.5.4"

View File

@@ -202,7 +202,7 @@ pub enum EthApiError {
CallManyError {
/// Bundle index where the error occurred
bundle_index: usize,
/// Transaction index within the bundle where the error occurred
/// Transaction index within the bundle where the error occurred
tx_index: usize,
/// The underlying error object
error: jsonrpsee_types::ErrorObject<'static>,
@@ -453,6 +453,8 @@ where
DebugInspectorError::Database(err) => Self::Internal(RethError::other(err)),
#[cfg(feature = "js-tracer")]
DebugInspectorError::JsInspector(err) => err.into(),
#[allow(unreachable_patterns)]
_ => Self::Unsupported("unsupported tracer error"),
}
}
}