mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
a1e15ae55a
* core: grandpa: migrate to grandpa 0.7 * core: grandpa: store current round votes and load them on startup * core: grandpa: resend old persisted votes for the current round * core: grandpa: store base and votes for last completed round * core: grandpa: fix latest grandpa 0.7 changes * core: grandpa: update to grandpa 0.7.1 * core: grandpa: persist votes for last two completed rounds * core: grandpa: simplify VoterSetState usage * core: grandpa: use Environment::update_voter_set_state * core: grandpa: fix aux_schema test * core: grandpa: add docs * core: grandpa: add note about environment assumption * core: grandpa: don't update voter set state on ignored votes * core: grandpa: add test for v1 -> v2 aux_schema migration * core: grandpa: add test for voter vote persistence * core: grandpa: use grandpa 0.7.1 from crates.io * core: grandpa: use try_init in test * core: grandpa: add comment about block_import in test * core: grandpa: avoid cloning HasVoted * core: grandpa: add missing docs * core: grandpa: cleanup up can_propose/prevote/precommit
36 lines
1.5 KiB
TOML
36 lines
1.5 KiB
TOML
[package]
|
|
name = "substrate-finality-grandpa"
|
|
version = "1.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
fork-tree = { path = "../../core/util/fork-tree" }
|
|
futures = "0.1"
|
|
log = "0.4"
|
|
parking_lot = "0.7.1"
|
|
tokio = "0.1.7"
|
|
rand = "0.6"
|
|
parity-codec = { version = "3.3", features = ["derive"] }
|
|
runtime_primitives = { package = "sr-primitives", path = "../sr-primitives" }
|
|
consensus_common = { package = "substrate-consensus-common", path = "../consensus/common" }
|
|
substrate-primitives = { path = "../primitives" }
|
|
substrate-telemetry = { path = "../telemetry" }
|
|
client = { package = "substrate-client", path = "../client" }
|
|
inherents = { package = "substrate-inherents", path = "../../core/inherents" }
|
|
network = { package = "substrate-network", path = "../network" }
|
|
service = { package = "substrate-service", path = "../service", optional = true }
|
|
srml-finality-tracker = { path = "../../srml/finality-tracker" }
|
|
fg_primitives = { package = "substrate-finality-grandpa-primitives", path = "primitives" }
|
|
grandpa = { package = "finality-grandpa", version = "0.7.1", features = ["derive-codec"] }
|
|
|
|
[dev-dependencies]
|
|
network = { package = "substrate-network", path = "../network", features = ["test-helpers"] }
|
|
keyring = { package = "substrate-keyring", path = "../keyring" }
|
|
test_client = { package = "substrate-test-client", path = "../test-client"}
|
|
env_logger = "0.6"
|
|
|
|
[features]
|
|
default = ["service-integration"]
|
|
service-integration = ["service"]
|