Add trie migration rpc to polkadot-parachain (#1424)

* add trie migration rpc to polkadot-parachain

* pass backend

* fix
This commit is contained in:
cheme
2022-11-07 11:41:45 +01:00
committed by GitHub
parent 368cef5fea
commit 167eb516d8
4 changed files with 11 additions and 3 deletions
+2 -1
View File
@@ -560,6 +560,7 @@ where
let client = client.clone();
let transaction_pool = transaction_pool.clone();
let backend_for_rpc = backend.clone();
Box::new(move |deny_unsafe, _| {
let deps = rpc::FullDeps {
client: client.clone(),
@@ -567,7 +568,7 @@ where
deny_unsafe,
};
rpc::create_full(deps).map_err(Into::into)
rpc::create_full(deps, backend_for_rpc.clone()).map_err(Into::into)
})
};