Commit 770cc24c authored by Wei Tang's avatar Wei Tang Committed by GitHub
Browse files

babe: support online configuration upgrades (#5514)



* babe: support online configuration upgrades

* Switch to use NextConfigDescriptor instead of changing runtime interface

* Fix tests

* epoch-changes: map function that allows converting with different epoch types

* Add migration script for the epoch config change

* Fix migration tests

* Fix migration: Epoch should be EpochV0

* Update client/consensus/babe/src/lib.rs

Co-Authored-By: default avatarAndré Silva <[email protected]>

* Fix new epochChanges version

* Fix unused imports

Co-authored-by: default avatarAndré Silva <[email protected]>
parent a01e608d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment