-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inherents and empty block production overhaul (#86)
A pre-requisite to producing empty blocks for MBMs is fixing inherents for relay and parachains, and moving block production logic from being tied to `fast_forward` to common logic. It will also be very beneficial to allow producing blocks based on a snapshot, without any live node (`--block-ws-uri`). Based on the changes in this PR, I'll add MBM support to the `on-runtime-upgrade` subcommand. - Fixes inherent providers for relay and parachains - Introduces a SMART inherent provider designed to work across different chains, removing the requirement for a cli arg to specify which inherents to use - Moves inherent and block production to a common utils dir - Removes requirement for a remote node to produce empty blocks - Closes #32 (no longer compiles kitchensink runtime) --------- Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
- Loading branch information
1 parent
c8ab2fd
commit 251438f
Showing
41 changed files
with
3,921 additions
and
1,983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.