Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(temporary mitigation): Skip genesis bootstrapping for statelessnet (
#11727) This is a mitigation for the failure that is caused by the stabilization PR #11701. [Zulip thread](https://near.zulipchat.com/#narrow/stream/308695-nearone.2Fprivate/topic/Cherrypicks.20to.20statelessnet.20branch/near/449016937) Context: In statelessnet, the genesis version is above 68, so it assumes that genesis has the congestion control is enabled and hitting an issue that attempts to bootstrap congestion info (again) and hitting missing state roots. We attempted to move the version numbers for congestion control and stateless validation back to 80 and 81 to mitigate the problem, [in this PR](#11719) but it became unnecessarily complex and risky. Thus, in this PR, we simply bypass the problematic bootstrap for statelessnet only. We moved the check for the chain id after the genesis protocol version check so we will not run it for testnet and mainnet.
- Loading branch information