mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 00:01:09 +00:00
add substrate-rpc-primitives to use NubmerOrHex in rpc.rs (#19)
This commit is contained in:
committed by
Andrew Jones
parent
e9070e2786
commit
f9ae14bdb9
+2
-4
@@ -44,12 +44,10 @@ use std::convert::TryInto;
|
||||
use substrate_primitives::storage::StorageKey;
|
||||
use substrate_rpc_api::{
|
||||
author::AuthorClient,
|
||||
chain::{
|
||||
number::NumberOrHex,
|
||||
ChainClient,
|
||||
},
|
||||
chain::ChainClient,
|
||||
state::StateClient,
|
||||
};
|
||||
use substrate_rpc_primitives::number::NumberOrHex;
|
||||
|
||||
pub type ChainBlock<T> = SignedBlock<Block<<T as System>::Header, OpaqueExtrinsic>>;
|
||||
pub type BlockNumber<T> = NumberOrHex<<T as System>::BlockNumber>;
|
||||
|
||||
Reference in New Issue
Block a user