-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cometbft): mitigate slow blocks due to inactive validators (#1818)
Decreases default cometBFT consensus config param `timeout_propose` from 3s to 1s. This aim to mitigate slow blocks when the proposing validator is offline/inactive. Currently, when 1 of 3 validators are offline, the block times on staging decreases from 1s to 4s. I had a look at some other cosmos chains and aligning timeout_commit and timeout_propose seems to be common practice: - [Sei](https://github.com/sei-protocol/sei-chain/blob/main/app/params/config.go#L98-L103): `timeout_commit=200ms, timeout_propose=300s` - [Moonbridge](https://services.moonbridge.team/testnet/kopi/install/) and [kopi](https://docs.kopi.money/nodes.html#setting-up-a-node): `timeout_commit=1s, timeout_propose=1s` This change aims to mitigate the affect of offline validators on block times. issue: #1812
- Loading branch information
1 parent
dc86268
commit eb00f04
Showing
5 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters