-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Archiver getBlocksForEpoch and EpochProvingJob on block 1 (#9016)
Fixes a few issues around proving: - Archiver was returning block headers in reverse order when filtering by epoch. This hadn't popped up in e2e tests before because we were testing with single-block epochs. We now changed the e2e_prover test to have two blocks in the epoch. - Epoch proving job would fail to prove an epoch that started in block one because it requested the header of the previous block to begin, which was undefined. That edge case is now handled. - Bond manager would trigger a top up when the amount to top up was exactly zero.
- Loading branch information
1 parent
931c59b
commit 9669db0
Showing
5 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters