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
Showing
- substrate/bin/node/runtime/src/lib.rs 1 addition, 1 deletionsubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/support/src/inherent.rs 37 additions, 2 deletionssubstrate/frame/support/src/inherent.rs
- substrate/primitives/inherents/src/lib.rs 5 additions, 0 deletionssubstrate/primitives/inherents/src/lib.rs
Please register or sign in to comment