Closed tayfunelmas closed 2 weeks ago
btw if you are close to fixing that genesis congestion info bootstrapping it may be easier to just patch that
btw if you are close to fixing that genesis congestion info bootstrapping it may be easier to just patch that
I do not think that will help because it will only work if the bootstrapping happens and saved to DB at the very beginning. For statelessnet, we already passed that point (state roots are already garbage collected).
I am closing this since the failing integration tests are complicating the situation and it is risky to merge this. Instead I will send a simpler PR.
This is on top of the stabilization PR https://github.com/near/nearcore/pull/11701/.
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 bootstap congestion info (again) and hitting missing state roots.
This change moves the version numbers for congestion control and stateless validation back to 80 and 81 to mitigate the problem. Only merging to statelessnet_master. This should not be merged to mainnet/testnet.