mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-19 03:04:27 -05:00
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:
@@ -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"
|
||||
|
||||
@@ -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"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user