mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-11 15:15:43 +00:00
fix for latest substrate crate renaming (#641)
* rename crates as appropriate * Rename to use master - easy to revert, but shows it's working * Bump runtime version * Bump version * Bump Substrate again
This commit is contained in:
committed by
Gavin Wood
parent
0c1ef33541
commit
7832ad93cd
@@ -26,9 +26,9 @@ use polkadot_primitives::parachain::{
|
||||
CandidateReceipt, HeadData, PoVBlock, BlockData, CollatorId, ValidatorId,
|
||||
StructuredUnroutedIngress
|
||||
};
|
||||
use substrate_primitives::crypto::UncheckedInto;
|
||||
use sp_core::crypto::UncheckedInto;
|
||||
use codec::Encode;
|
||||
use substrate_network::{
|
||||
use sc_network::{
|
||||
PeerId, Context, config::Roles, message::generic::ConsensusMessage,
|
||||
specialization::NetworkSpecialization,
|
||||
};
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
#![allow(unused)]
|
||||
|
||||
use crate::gossip::GossipMessage;
|
||||
use substrate_network::Context as NetContext;
|
||||
use substrate_network::consensus_gossip::TopicNotification;
|
||||
use substrate_primitives::{NativeOrEncoded, ExecutionContext};
|
||||
use substrate_keyring::Sr25519Keyring;
|
||||
use sc_network::Context as NetContext;
|
||||
use sc_network::consensus_gossip::TopicNotification;
|
||||
use sp_core::{NativeOrEncoded, ExecutionContext};
|
||||
use sp_keyring::Sr25519Keyring;
|
||||
use crate::{GossipService, PolkadotProtocol, NetworkService, GossipMessageStream};
|
||||
|
||||
use polkadot_validation::{SharedTable, Network};
|
||||
@@ -34,8 +34,8 @@ use polkadot_primitives::parachain::{
|
||||
};
|
||||
use parking_lot::Mutex;
|
||||
use sp_blockchain::Result as ClientResult;
|
||||
use sr_api::{Core, RuntimeVersion, StorageProof, ApiExt};
|
||||
use sr_primitives::traits::{ApiRef, ProvideRuntimeApi};
|
||||
use sp_api::{Core, RuntimeVersion, StorageProof, ApiExt};
|
||||
use sp_runtime::traits::{ApiRef, ProvideRuntimeApi};
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::sync::Arc;
|
||||
@@ -401,7 +401,7 @@ impl IngressBuilder {
|
||||
|
||||
fn make_table(data: &ApiData, local_key: &Sr25519Keyring, parent_hash: Hash) -> Arc<SharedTable> {
|
||||
use av_store::Store;
|
||||
use substrate_primitives::crypto::Pair;
|
||||
use sp_core::crypto::Pair;
|
||||
|
||||
let sr_pair = local_key.pair();
|
||||
let local_key = polkadot_primitives::parachain::ValidatorPair::from(local_key.pair());
|
||||
|
||||
Reference in New Issue
Block a user