From 5351545a30924f55db0a729d990410fc2b293eac Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Mon, 20 May 2024 13:48:21 +0100 Subject: [PATCH] fix DebugRuntimeApi version 6 --- tracing/shared/primitives/rpc/debug/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tracing/shared/primitives/rpc/debug/src/lib.rs b/tracing/shared/primitives/rpc/debug/src/lib.rs index 6deb736..508260c 100644 --- a/tracing/shared/primitives/rpc/debug/src/lib.rs +++ b/tracing/shared/primitives/rpc/debug/src/lib.rs @@ -30,7 +30,7 @@ use sp_std::vec::Vec; #[cfg(feature = "runtime-3000")] sp_api::decl_runtime_apis! { - #[api_version(5)] + #[api_version(6)] pub trait DebugRuntimeApi { fn trace_transaction( extrinsics: Vec, @@ -45,6 +45,7 @@ sp_api::decl_runtime_apis! { ) -> Result<(), sp_runtime::DispatchError>; fn trace_call( + header: &Block::Header, from: H160, to: H160, data: Vec,