Utility module for doing stuff like batch calls (#3759)

* Implement and test batch

* Add files.

* Remove comments.

* Update srml/utility/src/lib.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Fixes
This commit is contained in:
Gavin Wood
2019-10-04 19:13:54 +02:00
committed by GitHub
parent 7b5843ab79
commit ac0270518c
7 changed files with 233 additions and 4 deletions
+16
View File
@@ -2486,6 +2486,7 @@ dependencies = [
"srml-system 2.0.0",
"srml-timestamp 2.0.0",
"srml-treasury 2.0.0",
"srml-utility 2.0.0",
"substrate-authority-discovery-primitives 2.0.0",
"substrate-client 2.0.0",
"substrate-consensus-babe-primitives 2.0.0",
@@ -4421,6 +4422,21 @@ dependencies = [
"substrate-primitives 2.0.0",
]
[[package]]
name = "srml-utility"
version = "2.0.0"
dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
"sr-io 2.0.0",
"sr-primitives 2.0.0",
"sr-std 2.0.0",
"srml-balances 2.0.0",
"srml-support 2.0.0",
"srml-system 2.0.0",
"substrate-primitives 2.0.0",
]
[[package]]
name = "stable_deref_trait"
version = "1.1.1"