Skip to content
Snippets Groups Projects
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 <123550+andresilva@users.noreply.github.com>

* Fix new epochChanges version

* Fix unused imports

Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
parent a01e608d
No related merge requests found
Showing
with 300 additions and 86 deletions
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