Babe: bad epoch index with skipped epochs and warp sync (#13135)
* Detect and correct epoch-index for skipped epochs * Code refactory * Epoch index should be also be fixed for secondary claims with VRF * Fix typo * Make clippy happy * Fix typo * Trigger pipeline
Showing
- substrate/client/consensus/babe/src/authorship.rs 16 additions, 5 deletionssubstrate/client/consensus/babe/src/authorship.rs
- substrate/client/consensus/babe/src/lib.rs 45 additions, 30 deletionssubstrate/client/consensus/babe/src/lib.rs
- substrate/client/consensus/babe/src/tests.rs 111 additions, 30 deletionssubstrate/client/consensus/babe/src/tests.rs
- substrate/client/consensus/babe/src/verification.rs 15 additions, 2 deletionssubstrate/client/consensus/babe/src/verification.rs
Please register or sign in to comment