besu
besu copied to clipboard
Besu allows QBFT changes in the Genesis block, outside of transitions element.
Not sure if this is a bug or a desired feature, but using QBFT I can simply change the value of the "requesttimeoutseconds" parameter in the "config" -> "qbft" section. Of course the change was applied to all of the nodes. I'd expect the allowed change to be trough transitions, just like the documentation desribes the change for the "blockperiodseconds" value.
Besu version: 24.3
Transitions support a few items.
For example, you can update the block time, block reward, validator management method, or mining beneficiary.
Seems this is not specified in a transition and can be completed in config.
@jframe @siladu - is this a correct behavior? I know we have made some of these changes to clique consensus.
The point is that:
- the impelementation of "requesttimeoutseconds" change vs "blockperiodseconds" change is incostistent.
- changing "requesttimeoutseconds" this way does not trigger warning (halt) that the Genesis Block has been changed.
@IvanovVenko
-
This is expected as not all the QBFT configuration properties can be modified using transitions. We have only added transition support for some of the QBFT config. If you want support for "requesttimeoutseconds" in QBFT using transitions feel free to raise an issue for this.
-
This is the expected behaviour as the values in the config section of the genesis file are not included in the genesis block. And so changing any of these values in the config section will not give a warning.