You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CometBFT has a couple of options (create_empty_blocks and create_empty_blocks_interval) that allow blockchains to pause block production if there are no txs in the mempool and if the apphash doesn't change (meaning, there are no changes made to store by the app whenever there is no txs).
In Cosmos SDK we have some modules that will write to store on every block, either in BeginBlock or EndBlock, making the apphash change at every height.
Summary
Related to: #12356
CometBFT has a couple of options (
create_empty_blocks
andcreate_empty_blocks_interval
) that allow blockchains to pause block production if there are no txs in the mempool and if the apphash doesn't change (meaning, there are no changes made to store by the app whenever there is no txs).In Cosmos SDK we have some modules that will write to store on every block, either in BeginBlock or EndBlock, making the apphash change at every height.
Did some experimentation on this branch: https://github.com/cosmos/cosmos-sdk/compare/facu/avoid-mt-blocks?expand=1
Summary of required changes:
Doable:
Yet to figure out:
Some ideas:
Problem Definition
Proposed Feature
The text was updated successfully, but these errors were encountered: