• Wei Tang's avatar
    babe: support online configuration upgrades (#5514) · 8c755a26
    Wei Tang authored
    
    
    * 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]>
    8c755a26