Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chain): Upgradability functionality (#2701)
* Adding nightly test for upgradability: checks that after proper number of epochs active protocol versoins match * Pipe protocol version via epoch manager/runtime * Working on weaving upgradable block headers * Make updatable BlockHeader compile. * Adding support for legacy communication protocl * Fix up networking to use oldest backward compatible version * Update sample genesis to use latest protocol, while adding marker for first backward compatible one * Remove backward compatibility. Bring protocol version from epoch manager to client * Adding database version for future migrations * Update rocksdb to 0.14 * Adding migration and update sample json * Fix merge conflict * Make Block data structure upgradable * Version tracking in the epoch manager * Bump protocol version after merge * Current protocol version in status request * Bump 0.6.2 & use Box * Move migration to the right place * Fix up merge conflicts * Fix comments * Reset Cargo.lock to master Co-authored-by: Alexander Skidanov <[email protected]>
- Loading branch information