Files
pezkuwi-subxt/substrate/client/consensus/babe/rpc/Cargo.toml
T
André Silva 0ddd5cc278 babe: treat epoch_authorship RPC method as unsafe (#6069)
* service: pass DenyUnsafe to rpc extensions

* node: add DenyUnsafe to rpc full node dependencies

* client: fix whitespace in rpc policy file

* babe: treat epochAuthorship rpc method as unsafe

* babe: add test for unsafe rpc method

* babe: rename babe rpc handler

* service: traitify rpc extension builder

* service: make the rpc extensions builder api non-breaking

* service: revert changes from light node rpc extensions builder

* node: remove unnecessary type in service creation

* service: cleanup with_rpc_extensions implementation

* service: add missing docs to RpcExtensionBuilder
2020-05-21 13:58:04 +02:00

39 lines
1.8 KiB
TOML

[package]
name = "sc-consensus-babe-rpc"
version = "0.8.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "RPC extensions for the BABE consensus algorithm"
edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sc-consensus-babe = { version = "0.8.0-dev", path = "../" }
sc-rpc-api = { version = "0.8.0-dev", path = "../../../rpc-api" }
jsonrpc-core = "14.0.3"
jsonrpc-core-client = "14.0.5"
jsonrpc-derive = "14.0.3"
sp-consensus-babe = { version = "0.8.0-dev", path = "../../../../primitives/consensus/babe" }
serde = { version = "1.0.104", features=["derive"] }
sp-blockchain = { version = "2.0.0-dev", path = "../../../../primitives/blockchain" }
sp-runtime = { version = "2.0.0-dev", path = "../../../../primitives/runtime" }
sc-consensus-epochs = { version = "0.8.0-dev", path = "../../epochs" }
futures = { version = "0.3.4", features = ["compat"] }
derive_more = "0.99.2"
sp-api = { version = "2.0.0-dev", path = "../../../../primitives/api" }
sp-consensus = { version = "0.8.0-dev", path = "../../../../primitives/consensus/common" }
sp-core = { version = "2.0.0-dev", path = "../../../../primitives/core" }
sc-keystore = { version = "2.0.0-dev", path = "../../../keystore" }
[dev-dependencies]
sc-consensus = { version = "0.8.0-dev", path = "../../../consensus/common" }
serde_json = "1.0.50"
sp-application-crypto = { version = "2.0.0-dev", path = "../../../../primitives/application-crypto" }
sp-keyring = { version = "2.0.0-dev", path = "../../../../primitives/keyring" }
substrate-test-runtime-client = { version = "2.0.0-dev", path = "../../../../test-utils/runtime/client" }
tempfile = "3.1.0"