mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 10:48:04 +00:00
1f7f8abb33
* grandpa: wire up basic RPC call * grandpa: make it compile against GRANDPA with expose round state * grandpa: use shared voter state to expose RPC endpoint * grandpa: restructure into nested structs * grandpa: return background rounds too * grandpa: return error when endpoint not ready * grandpa: collect grandpa rpc deps * grandpa: decide to use concrete AuthorityId in finality-grandpa-rpc * grandpa: remove unncessary type annotation * grandpa: move error code to const * grandpa: remove unnecessary WIP comment * grandpa: remove Id type parameter for SharedVoterState * grandpa: update tests to add shared_voter_state in parameters * grandpa: remove old deprecated test * grandpa: fix getting the correct set_id * grandpa: make SharedVoterState a struct * grandpa: wrap shared_voter_state in rpc_setup * grandpa: replace spaces with tabs * grandpa: limit RwLock write attempt to 1 sec * grandpa: add missing doc comments and remove some pub * Apply suggestions from code review Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com> Co-Authored-By: Hernando Castano <HCastano@users.noreply.github.com> * grandpa: update function name call after change in finality-grandpa * grandpa: group pub use and only export voter::report * grandpa: add missing docs * grandpa: extract out structs used for json serialization * grandpa: stick to u32 for fields intended for js * grandpa: move Error type to its own file * grandpa: group pub use better * Apply code review suggestion Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * grandpa: use correct version of finality-granpda in rpc crate * grandpa: add back basic rpc unit test * grandpa: replace SharedVoterState::new() with empty() * node: cleanup grandpa::SharedVoterState usage in macro * grandpa: remove VoterState error variant * grandpa: enable missing futures compat feature * grandpa: fix typo in error variant * grandpa: remove test_utils * grandpa: allow mocking rpc handler components * grandpa: rename serialized to report in rpc module * grandpa: add proper test for RPC * grandpa: update to finality-grandpa v0.12.1 Co-authored-by: André Silva <andre.beat@gmail.com> Co-authored-by: Demi Obenour <demi@parity.io> Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com> Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
46 lines
2.0 KiB
TOML
46 lines
2.0 KiB
TOML
[package]
|
|
name = "node-template"
|
|
version = "2.0.0-dev"
|
|
authors = ["Anonymous"]
|
|
description = "Substrate Node template"
|
|
edition = "2018"
|
|
license = "Unlicense"
|
|
build = "build.rs"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[[bin]]
|
|
name = "node-template"
|
|
|
|
[dependencies]
|
|
futures = "0.3.4"
|
|
log = "0.4.8"
|
|
structopt = "0.3.8"
|
|
parking_lot = "0.10.0"
|
|
|
|
sc-cli = { version = "0.8.0-dev", path = "../../../client/cli" }
|
|
sp-core = { version = "2.0.0-dev", path = "../../../primitives/core" }
|
|
sc-executor = { version = "0.8.0-dev", path = "../../../client/executor" }
|
|
sc-service = { version = "0.8.0-dev", path = "../../../client/service" }
|
|
sp-inherents = { version = "2.0.0-dev", path = "../../../primitives/inherents" }
|
|
sc-transaction-pool = { version = "2.0.0-dev", path = "../../../client/transaction-pool" }
|
|
sp-transaction-pool = { version = "2.0.0-dev", path = "../../../primitives/transaction-pool" }
|
|
sc-network = { version = "0.8.0-dev", path = "../../../client/network" }
|
|
sc-consensus-aura = { version = "0.8.0-dev", path = "../../../client/consensus/aura" }
|
|
sp-consensus-aura = { version = "0.8.0-dev", path = "../../../primitives/consensus/aura" }
|
|
sp-consensus = { version = "0.8.0-dev", path = "../../../primitives/consensus/common" }
|
|
sc-consensus = { version = "0.8.0-dev", path = "../../../client/consensus/common" }
|
|
sc-finality-grandpa = { version = "0.8.0-dev", path = "../../../client/finality-grandpa" }
|
|
sp-finality-grandpa = { version = "2.0.0-dev", path = "../../../primitives/finality-grandpa" }
|
|
sc-client-api = { version = "2.0.0-dev", path = "../../../client/api" }
|
|
sp-runtime = { version = "2.0.0-dev", path = "../../../primitives/runtime" }
|
|
sc-basic-authorship = { path = "../../../client/basic-authorship", version = "0.8.0-dev"}
|
|
|
|
node-template-runtime = { version = "2.0.0-dev", path = "../runtime" }
|
|
|
|
[build-dependencies]
|
|
substrate-build-script-utils = { version = "2.0.0-dev", path = "../../../utils/build-script-utils" }
|