Add support for modules to require inherent to be present (#5792)

* Add support for modules to require inherent to be present

* Bump node impl version

* Allow is_inherent_required itself to return error

This handles the case if runtime fails to check the inherent data (if the
inherent data is invalid, etc).

* typo: &module -> $module

* fix: iter
This commit is contained in:
Wei Tang
2020-04-29 12:05:35 +02:00
committed by GitHub
parent ba50664fea
commit 521f8ff427
3 changed files with 43 additions and 3 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 244,
impl_version: 2,
impl_version: 3,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
};