"OR gate" for EnsureOrigin (#6237)

* 'OR gate' for EnsureOrigin.

* Formatting.

* More formatting.

* Add docstring; Update 'Success' type.

* Bump runtime impl_version.

* Fix successful_origin.

* Add either into std feature list.

* Update docs.
This commit is contained in:
Shaopeng Wang
2020-06-10 21:11:26 +12:00
committed by GitHub
parent 2729a48893
commit ccdac645c8
11 changed files with 91 additions and 63 deletions
+1
View File
@@ -7586,6 +7586,7 @@ dependencies = [
name = "sp-runtime"
version = "2.0.0-rc3"
dependencies = [
"either",
"hash256-std-hasher",
"impl-trait-for-tuples",
"log",