mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 05:05:41 +00:00
Final fixes.
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
//! Substrate Client
|
//! Substrate Client
|
||||||
|
|
||||||
use primitives::{block, AuthorityId};
|
use primitives::{self, block, AuthorityId};
|
||||||
use primitives::block::Id as BlockId;
|
use primitives::block::Id as BlockId;
|
||||||
use primitives::storage::{StorageKey, StorageData};
|
use primitives::storage::{StorageKey, StorageData};
|
||||||
use runtime_support::Hashable;
|
use runtime_support::Hashable;
|
||||||
@@ -24,8 +24,8 @@ use codec::{KeyedVec, Slicable};
|
|||||||
use state_machine::{self, Ext, OverlayedChanges, Backend as StateBackend, CodeExecutor};
|
use state_machine::{self, Ext, OverlayedChanges, Backend as StateBackend, CodeExecutor};
|
||||||
|
|
||||||
use backend::{self, BlockImportOperation};
|
use backend::{self, BlockImportOperation};
|
||||||
use blockchain::{self, Info as ChainInfo, BlockId, Backend as ChainBackend};
|
use blockchain::{self, Info as ChainInfo, Backend as ChainBackend};
|
||||||
use {error, in_mem, block_builder, runtime_io};
|
use {error, in_mem, block_builder, runtime_io, bft};
|
||||||
|
|
||||||
/// Polkadot Client
|
/// Polkadot Client
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
use std;
|
use std;
|
||||||
use state_machine;
|
use state_machine;
|
||||||
use blockchain;
|
|
||||||
use primitives::hexdisplay::HexDisplay;
|
use primitives::hexdisplay::HexDisplay;
|
||||||
|
|
||||||
error_chain! {
|
error_chain! {
|
||||||
|
|||||||
@@ -44,4 +44,4 @@ pub mod block_builder;
|
|||||||
mod client;
|
mod client;
|
||||||
|
|
||||||
pub use client::{Client, ClientInfo, CallResult, ImportResult, BlockStatus, new_in_mem};
|
pub use client::{Client, ClientInfo, CallResult, ImportResult, BlockStatus, new_in_mem};
|
||||||
pub use blockchain::{Info as ChainInfo, BlockId};
|
pub use blockchain::Info as ChainInfo;
|
||||||
|
|||||||
Reference in New Issue
Block a user