[package] name = "sc-consensus-grandpa" version = "0.30.0" authors.workspace = true edition.workspace = true license = "GPL-3.0-or-later WITH Classpath-exception-2.0" homepage.workspace = true repository.workspace = true description = "Integration of the GRANDPA finality gadget into substrate." documentation = "https://docs.rs/sc-consensus-grandpa" readme = "README.md" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] ahash = { workspace = true } array-bytes = { workspace = true, default-features = true } async-trait = { workspace = true } dyn-clone = { workspace = true } finality-grandpa = { features = ["derive-codec"], workspace = true, default-features = true } futures = { workspace = true } futures-timer = { workspace = true } log = { workspace = true, default-features = true } codec = { features = ["derive"], workspace = true, default-features = true } parking_lot = { workspace = true, default-features = true } rand = { workspace = true, default-features = true } serde_json = { workspace = true, default-features = true } thiserror = { workspace = true } fork-tree.workspace = true fork-tree.default-features = true prometheus-endpoint.workspace = true prometheus-endpoint.default-features = true sc-block-builder.workspace = true sc-block-builder.default-features = true sc-chain-spec.workspace = true sc-chain-spec.default-features = true sc-client-api.workspace = true sc-client-api.default-features = true sc-transaction-pool-api.workspace = true sc-transaction-pool-api.default-features = true sc-consensus.workspace = true sc-consensus.default-features = true sc-network.workspace = true sc-network.default-features = true sc-network-gossip.workspace = true sc-network-gossip.default-features = true sc-network-common.workspace = true sc-network-common.default-features = true sc-network-sync.workspace = true sc-network-sync.default-features = true sc-network-types.workspace = true sc-network-types.default-features = true sc-telemetry.workspace = true sc-telemetry.default-features = true sc-utils.workspace = true sc-utils.default-features = true sp-api.workspace = true sp-api.default-features = true sp-application-crypto.workspace = true sp-application-crypto.default-features = true sp-arithmetic.workspace = true sp-arithmetic.default-features = true sp-blockchain.workspace = true sp-blockchain.default-features = true sp-consensus.workspace = true sp-consensus.default-features = true sp-core.workspace = true sp-core.default-features = true sp-crypto-hashing.workspace = true sp-crypto-hashing.default-features = true sp-consensus-grandpa.workspace = true sp-consensus-grandpa.default-features = true sp-keystore.workspace = true sp-keystore.default-features = true sp-runtime.workspace = true sp-runtime.default-features = true [dev-dependencies] assert_matches = { workspace = true } finality-grandpa = { features = ["derive-codec", "test-helpers"], workspace = true, default-features = true } serde = { workspace = true, default-features = true } tokio = { workspace = true, default-features = true } sc-network = { default-features = true, path = "../../network" } sc-network-test = { path = "../../network/test" } sp-keyring = { default-features = true, path = "../../../primitives/keyring" } sp-tracing = { default-features = true, path = "../../../primitives/tracing" } substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" }