add system_dryRun (#6300)

* add system_dryRun

* fix build error

* delete unneeded code

* return ApplyExtrinsicResult directly

* line width

* mark dry run unsafe

* line width

* fix test

* add test

* update comment
This commit is contained in:
Xiliang Chen
2020-06-17 08:51:03 +12:00
committed by GitHub
parent 0787b189fa
commit 7d30ae7ba8
6 changed files with 180 additions and 20 deletions
+1
View File
@@ -31,3 +31,4 @@ sp-blockchain = { version = "2.0.0-rc3", path = "../../../primitives/blockchain"
sc-finality-grandpa = { version = "0.8.0-rc3", path = "../../../client/finality-grandpa" }
sc-finality-grandpa-rpc = { version = "0.8.0-rc3", path = "../../../client/finality-grandpa/rpc" }
sc-rpc-api = { version = "0.8.0-rc3", path = "../../../client/rpc-api" }
sp-block-builder = { version = "2.0.0-rc3", path = "../../../primitives/block-builder" }