-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update consensus configs to be less strict #484
Conversation
app/params/config.go
Outdated
config.Consensus.UnsafeVoteTimeoutOverride = 50 * time.Millisecond | ||
config.Consensus.UnsafeVoteTimeoutDeltaOverride = 500 * time.Millisecond | ||
config.Consensus.UnsafeCommitTimeoutOverride = 50 * time.Millisecond | ||
|
||
config.Consensus.UnsafeCommitTimeoutOverride = 100 * time.Millisecond |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we keep this as 50ms? we can bump up if needed. This will add about 50ms to consensus if we make this change, and this is on top of waiting for 2/3 votes already
app/params/config.go
Outdated
@@ -93,11 +95,9 @@ func SetTendermintConfigs(config *tmcfg.Config) { | |||
config.Consensus.GossipTransactionKeyOnly = true | |||
config.Consensus.UnsafeProposeTimeoutOverride = 1 * time.Second |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change this to 5 seconds? i have a theory that a lower value leads to a lot more rounds (more prevotes of nil) which makes consensus slow when we barely have 67%
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yessir
|
* done * done * done * Update config.go
Describe your changes and provide context
Sei-devnet-2 seeing a lot of validators miss blocks, turn off skip
UnsafeBypassCommitTimeoutOverride
and increase commit timeout to 100msDon't need to change TM as this directly overrides whatever is from the config.toml file
Testing performed to validate your change
local chain with timeout set to 5s, can see that each block height was very slow