Adds author_rotateKeys RPC (#3337)

* Adds `author_rotateKeys` RPC

`author_rotateKeys` will rotate all session keys, store them into the
keystore and returns their encoded public keys as result. These encoded
public keys can be used directly to send the transaction to the chain.

* Review comments
This commit is contained in:
Bastian Köcher
2019-08-08 11:00:04 +02:00
committed by Tomasz Drwięga
parent 6565e1f8aa
commit 0de7d9bb64
11 changed files with 100 additions and 26 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ sr-primitives = { path = "../../core/sr-primitives", default-features = false }
[dev-dependencies]
substrate-serializer = { path = "../../core/serializer" }
pretty_assertions = "0.5"
pretty_assertions = "0.6.1"
[features]
default = ["std"]