diff --git a/core/client/src/call_executor.rs b/core/client/src/call_executor.rs
index e25b9e36bb5c4..f66ae25476b0e 100644
--- a/core/client/src/call_executor.rs
+++ b/core/client/src/call_executor.rs
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see .
-use std::{sync::Arc, cmp::Ord, panic::UnwindSafe, result, cell::RefCell, rc::Rc};
+use std::{sync::Arc, cmp::Ord, panic::UnwindSafe, result, cell::RefCell};
use codec::{Encode, Decode};
use sr_primitives::{
generic::BlockId, traits::Block as BlockT, traits::NumberFor,
@@ -81,7 +81,7 @@ where
execution_manager: ExecutionManager,
native_call: Option,
side_effects_handler: Option,
- proof_recorder: &Option>>>,
+ proof_recorder: &Option>,
enable_keystore: bool,
) -> error::Result> where ExecutionManager: Clone;
@@ -241,7 +241,7 @@ where
execution_manager: ExecutionManager,
native_call: Option,
side_effects_handler: Option,
- recorder: &Option>>>,
+ recorder: &Option>,
enable_keystore: bool,
) -> Result, error::Error> where ExecutionManager: Clone {
match initialize_block {
diff --git a/core/client/src/client.rs b/core/client/src/client.rs
index aef16434d5382..c7d0dffd7b261 100644
--- a/core/client/src/client.rs
+++ b/core/client/src/client.rs
@@ -18,7 +18,7 @@
use std::{
marker::PhantomData, collections::{HashSet, BTreeMap, HashMap}, sync::Arc,
- panic::UnwindSafe, result, cell::RefCell, rc::Rc,
+ panic::UnwindSafe, result, cell::RefCell,
};
use log::{info, trace, warn};
use futures03::channel::mpsc;
@@ -1494,7 +1494,7 @@ impl CallRuntimeAt for Client where
initialize_block: InitializeBlock<'a, Block>,
native_call: Option,
context: ExecutionContext,
- recorder: &Option>>>,
+ recorder: &Option>,
) -> error::Result> {
let manager = match context {
ExecutionContext::BlockConstruction =>
diff --git a/core/client/src/light/call_executor.rs b/core/client/src/light/call_executor.rs
index 5544e88e224fa..d951bf3f93d98 100644
--- a/core/client/src/light/call_executor.rs
+++ b/core/client/src/light/call_executor.rs
@@ -16,7 +16,9 @@
//! Methods that light client could use to execute runtime calls.
-use std::{sync::Arc, panic::UnwindSafe, result, cell::RefCell, rc::Rc};
+use std::{
+ sync::Arc, panic::UnwindSafe, result, cell::RefCell,
+};
use codec::{Encode, Decode};
use primitives::{
@@ -108,7 +110,7 @@ impl CallExecutor for
_manager: ExecutionManager,
native_call: Option,
side_effects_handler: Option,
- recorder: &Option>>>,
+ recorder: &Option>,
enable_keystore: bool,
) -> ClientResult> where ExecutionManager: Clone {
// there's no actual way/need to specify native/wasm execution strategy on light node
@@ -334,7 +336,7 @@ mod tests {
_execution_manager: ExecutionManager,
_native_call: Option,
_side_effects_handler: Option,
- _proof_recorder: &Option>>>,
+ _proof_recorder: &Option>,
_enable_keystore: bool,
) -> ClientResult> where ExecutionManager: Clone {
unreachable!()
diff --git a/core/sr-api/proc-macro/src/decl_runtime_apis.rs b/core/sr-api/proc-macro/src/decl_runtime_apis.rs
index bec64b1d9b192..b57cc739975c4 100644
--- a/core/sr-api/proc-macro/src/decl_runtime_apis.rs
+++ b/core/sr-api/proc-macro/src/decl_runtime_apis.rs
@@ -410,7 +410,7 @@ fn generate_call_api_at_calls(decl: &ItemTrait) -> Result {
initialized_block: &std::cell::RefCell