mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
Use polkadot-client instead of polkadot service where possible (#489)
This commit is contained in:
@@ -16,7 +16,7 @@ sp-trie = { git = "https://github.com/paritytech/substrate", default-features =
|
||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
||||
|
||||
# Polkadot dependencies
|
||||
polkadot-service = { git = "https://github.com/paritytech/polkadot", optional = true, branch = "master" }
|
||||
polkadot-client = { git = "https://github.com/paritytech/polkadot", optional = true, branch = "master" }
|
||||
|
||||
# Cumulus dependencies
|
||||
cumulus-primitives-core = { path = "../core", default-features = false }
|
||||
@@ -41,5 +41,5 @@ std = [
|
||||
"sp-runtime",
|
||||
"sc-client-api",
|
||||
"sp-api",
|
||||
"polkadot-service",
|
||||
"polkadot-client",
|
||||
]
|
||||
|
||||
@@ -26,7 +26,7 @@ use cumulus_primitives_core::{
|
||||
},
|
||||
InboundDownwardMessage, InboundHrmpMessage, ParaId, PersistedValidationData,
|
||||
};
|
||||
use polkadot_service::{Client, ClientHandle, ExecuteWithClient};
|
||||
use polkadot_client::{Client, ClientHandle, ExecuteWithClient};
|
||||
use sc_client_api::Backend;
|
||||
use sp_api::ProvideRuntimeApi;
|
||||
use sp_runtime::generic::BlockId;
|
||||
|
||||
Reference in New Issue
Block a user