-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Move shard-assignment for chunk producers to nightly (#11203)
Per #11190, move the shard-assignment shuffling feature for chunk producers to nightly. Also enable this feature for mocknet together with stateless validation to exercise the state sync code path more often. Note that the guarding for the feature in nightly/prod is different from mocknet, as we use mocknet to exercise (stateless validation) features in between prod and nightly. After this change, shard shuffling will be activated in the following cases: 1) In "nightly", it will be active by default, since we move the feature among the set of nightly features and update the protocol version accordingly (143). 2) In "mocknet", it will be active by default, as we enable it directly when chain id == "mocknet". 3) In all other networks (including "mainnet", "testnet", and "statelessnet"), it will be disabled by default and will only be enabled (later) explicitly by moving the feature from nightly to stable protocol version. Compiling the binary with or without "statelessnet_protocol" will not have any effect on the enablement of the feature (instead need to compile with "nightly").
- Loading branch information
1 parent
92ee5d2
commit d4eb66f
Showing
4 changed files
with
48 additions
and
29 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