mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 23:31:04 +00:00
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
This commit is contained in:
@@ -13,6 +13,7 @@ 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"
|
||||
@@ -29,7 +30,9 @@ sp-core = { version = "2.0.0-dev", path = "../../../../primitives/core" }
|
||||
sc-keystore = { version = "2.0.0-dev", path = "../../../keystore" }
|
||||
|
||||
[dev-dependencies]
|
||||
substrate-test-runtime-client = { version = "2.0.0-dev", path = "../../../../test-utils/runtime/client" }
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user