mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01: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
@@ -33,36 +33,36 @@ web3 = { git = "https://github.com/tomusdrw/rust-web3" }
|
||||
|
||||
# Substrate Based Dependencies
|
||||
[dependencies.frame-system]
|
||||
version = "2.0.0-rc1"
|
||||
rev = "599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee"
|
||||
version = "2.0.0-rc3"
|
||||
rev = "606c56d2e2f69f68f3947551224be6a3515dff60"
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.pallet-transaction-payment]
|
||||
version = "2.0.0-rc1"
|
||||
rev = "599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee"
|
||||
version = "2.0.0-rc3"
|
||||
rev = "606c56d2e2f69f68f3947551224be6a3515dff60"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
# I think this is used for sr-io and stuff
|
||||
[dependencies.node-primitives]
|
||||
version = "2.0.0-rc1"
|
||||
rev = "599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee"
|
||||
version = "2.0.0-rc3"
|
||||
rev = "606c56d2e2f69f68f3947551224be6a3515dff60"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
# Branch used for keccack256 hasher code
|
||||
# Could probably move the keccack hasher stuff to our own primitives
|
||||
[dependencies.sp-core]
|
||||
version = "2.0.0-rc1"
|
||||
rev = "599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee"
|
||||
version = "2.0.0-rc3"
|
||||
rev = "606c56d2e2f69f68f3947551224be6a3515dff60"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-keyring]
|
||||
version = "2.0.0-rc1"
|
||||
rev = "599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee"
|
||||
version = "2.0.0-rc3"
|
||||
rev = "606c56d2e2f69f68f3947551224be6a3515dff60"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
[dependencies.sp-runtime]
|
||||
version = "2.0.0-rc1"
|
||||
rev = "599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee"
|
||||
version = "2.0.0-rc3"
|
||||
rev = "606c56d2e2f69f68f3947551224be6a3515dff60"
|
||||
git = "https://github.com/paritytech/substrate.git"
|
||||
|
||||
# This should get moved to our `bin` folder
|
||||
|
||||
@@ -17,16 +17,16 @@ serde_json = "1.0.53"
|
||||
url = "2.1.0"
|
||||
|
||||
[dependencies.sp-core]
|
||||
version = "2.0.0-rc1"
|
||||
rev = "599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee"
|
||||
version = "2.0.0-rc3"
|
||||
rev = "606c56d2e2f69f68f3947551224be6a3515dff60"
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-rpc]
|
||||
version = "2.0.0-rc1"
|
||||
rev = "599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee"
|
||||
version = "2.0.0-rc3"
|
||||
rev = "606c56d2e2f69f68f3947551224be6a3515dff60"
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.node-primitives]
|
||||
version = "2.0.0-rc1"
|
||||
rev = "599ba75bc2b5acd238c21c5c7efe8e2ad8d401ee"
|
||||
version = "2.0.0-rc3"
|
||||
rev = "606c56d2e2f69f68f3947551224be6a3515dff60"
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
@@ -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