Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(resharding): Full forks support in flat storage (#12727)
This PR fixes the remaining issue in `FlatStorageResharder` that prevented the chain from progressing at resharding boundary in some corner cases. Two possible solutions have been considered: - Postponing the split task until the last block of the epoch becomes final - Postponing the split task until one candidate resharding block becomes final I've decided to proceed with the second option, as it was building on existing code, and the changes were limited in scope to the inner impl of `FlatStorageResharder`. In this way the resharder remains entirely decoupled from epoch manager. Also in this PR: - Minor refactoring: task scheduling became a bit more involved in order to handle multiple resharding requests that can get intertwined. - New unit test to validate the implementation Now the existing tests for forks in `resharding_v3` have been finally `unignored` 💪
- Loading branch information