• André Silva's avatar
    im-online: use EstimateNextSessionRotation to get better estimates of session progress (#8242) · 51822097
    André Silva authored
    * frame-support: add method to estimate current session progress
    
    * im-online: use EstimateNextSessionRotation trait to delay heartbeats
    
    * node: fix im-online pallet instantiation
    
    * frame-support: fix docs
    
    * frame: fix tests
    
    * pallet-session: last block of periodic session means 100% session progress
    
    * pallet-session: add test for periodic session progress
    
    * pallet-babe: fix epoch progress and add test
    
    * frame-support: return weight with session estimates
    
    * pallet-im-online: add test for session progress logic
    51822097