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
+3
View File
@@ -3477,6 +3477,7 @@ dependencies = [
"sc-keystore",
"sc-rpc-api",
"sp-api",
"sp-block-builder",
"sp-blockchain",
"sp-consensus",
"sp-consensus-babe",
@@ -8116,9 +8117,11 @@ dependencies = [
"log",
"parity-scale-codec",
"sc-client-api",
"sc-rpc-api",
"sc-transaction-pool",
"serde",
"sp-api",
"sp-block-builder",
"sp-blockchain",
"sp-core",
"sp-runtime",