-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(resharding) - fix loading shards when no resharding is scheduled (#…
…12808) The issue was that since `STABLE_PROTOCOL_VERSION` was higher than what's in mainnet the implementation was including the current shard layout in the calculation. Additionally the current shard layout is V1 and it has non-unique shard ids which made it seem like there is a resharding pending. The fix is to exclude the head shard layout from the calculation.
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 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