From 74d4b1f2ca4035b0f141e546282f2fbcaec5900d Mon Sep 17 00:00:00 2001 From: zerosnacks <95942363+zerosnacks@users.noreply.github.com> Date: Wed, 4 Feb 2026 17:07:45 +0100 Subject: [PATCH] chore(deps): bump revm inspectors, handle case where revm-inspectors js-tracer is enabled but reth's js-tracer is not (#21810) --- Cargo.toml | 2 +- crates/rpc/rpc-eth-types/src/error/mod.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 29a8d77e75..593dd81b7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/crates/rpc/rpc-eth-types/src/error/mod.rs b/crates/rpc/rpc-eth-types/src/error/mod.rs index 8c738f87a9..0ea183384b 100644 --- a/crates/rpc/rpc-eth-types/src/error/mod.rs +++ b/crates/rpc/rpc-eth-types/src/error/mod.rs @@ -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"), } } }