Don't require module name in inherents (#6576)

* Start

* Cleanup `construct_runtime!`

* Add tests

* Fix after merge

* Update the docs
This commit is contained in:
Bastian Köcher
2020-07-06 12:29:17 +02:00
committed by GitHub
parent 2019f70768
commit ad2e832289
15 changed files with 279 additions and 161 deletions
+31
View File
@@ -1247,6 +1247,33 @@ dependencies = [
"libc",
]
[[package]]
name = "ethbloom"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71a6567e6fd35589fea0c63b94b4cf2e55573e413901bdbe60ab15cf0e25e5df"
dependencies = [
"crunchy",
"fixed-hash",
"impl-rlp",
"impl-serde 0.3.0",
"tiny-keccak 2.0.2",
]
[[package]]
name = "ethereum-types"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "473aecff686bd8e7b9db0165cbbb53562376b39bf35b427f0c60446a9e1634b0"
dependencies = [
"ethbloom",
"fixed-hash",
"impl-rlp",
"impl-serde 0.3.0",
"primitive-types",
"uint",
]
[[package]]
name = "evm"
version = "0.16.1"
@@ -1506,6 +1533,7 @@ dependencies = [
"log",
"once_cell",
"parity-scale-codec",
"parity-util-mem",
"paste",
"pretty_assertions",
"serde",
@@ -4915,7 +4943,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c6e2583649a3ca84894d1d71da249abcfda54d5aca24733d72ca10d0f02361c"
dependencies = [
"cfg-if",
"ethereum-types",
"hashbrown",
"impl-trait-for-tuples",
"lru",
"parity-util-mem-derive",
"parking_lot 0.10.2",
"primitive-types",