mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 09:51:02 +00:00
Update Substrate to latest master (rc3) (#129)
* Substrate 606c56d2e2f69f68f3947551224be6a3515dff60 * update jsonrpsee
This commit is contained in:
committed by
Bastian Köcher
parent
643075f7fa
commit
b701c2be8d
@@ -18,7 +18,7 @@ use jsonrpsee::{
|
||||
raw::client::{RawClient, RawClientError},
|
||||
transport::TransportClient,
|
||||
};
|
||||
use node_primitives::{BlockNumber, Hash, Header};
|
||||
use node_primitives::{Hash, Header};
|
||||
use sp_core::Bytes;
|
||||
use sp_rpc::number::NumberOrHex;
|
||||
|
||||
@@ -31,7 +31,7 @@ jsonrpsee::rpc_api! {
|
||||
fn chain_finalized_head() -> Hash;
|
||||
|
||||
#[rpc(method = "chain_getBlockHash", positional_params)]
|
||||
fn chain_block_hash(id: Option<NumberOrHex<BlockNumber>>) -> Option<Hash>;
|
||||
fn chain_block_hash(id: Option<NumberOrHex>) -> Option<Hash>;
|
||||
|
||||
#[rpc(method = "chain_getHeader", positional_params)]
|
||||
fn chain_header(hash: Option<Hash>) -> Option<Header>;
|
||||
|
||||
Reference in New Issue
Block a user