Closed bowenwang1996 closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 71.47%. Comparing base (
60480be
) to head (cfb38ba
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Make
TestnetFewerBlockProducers
only apply to testnet to avoid breaking other testing network due to the hardcoded change of block producers. Specifically, increasing the number of block producers will make things break due tonum_total_parts
computation that only looks at what is in genesis and if genesis protocol version is between the protocol version ofTestnetFewerBlockProducers
andNoChunkOnlyProducers
, it will forcefully set the number of block producer seats to 20, regardless of what is set in genesis. Even worse, any attempt to increase that later in the code won't work.