Forward the result in a sudo call (#2594)

* Forward the result in a sudo call

* Print the error of the wrapped call in `sudo`
This commit is contained in:
Bastian Köcher
2019-05-15 18:14:33 +02:00
committed by Gavin Wood
parent 4eb18ef2ac
commit fcf9a46bcc
3 changed files with 16 additions and 3 deletions
+2
View File
@@ -8,6 +8,7 @@ edition = "2018"
serde = { version = "1.0", optional = true }
parity-codec = { version = "3.3", default-features = false, features = ["derive"] }
sr-std = { path = "../../core/sr-std", default-features = false }
sr-io = { path = "../../core/sr-io", default-features = false }
sr-primitives = { path = "../../core/sr-primitives", default-features = false }
srml-support = { path = "../support", default-features = false }
srml-support-procedural = { path = "../support/procedural" }
@@ -23,6 +24,7 @@ std = [
"serde",
"parity-codec/std",
"sr-std/std",
"sr-io/std",
"sr-primitives/std",
"srml-support/std",
"system/std",