Update default configs for consenssus TM and bump version for new defaults #480
Merged
BrandonWeng merged 11 commits intomasterfrom Jan 6, 2023
Merged
Update default configs for consenssus TM and bump version for new defaults #480BrandonWeng merged 11 commits intomasterfrom
BrandonWeng merged 11 commits intomasterfrom
Conversation
BrandonWeng
commented
Jan 5, 2023
| config.Consensus.UnsafeProposeTimeoutOverride = 250 * time.Millisecond | ||
| config.Consensus.UnsafeVoteTimeoutOverride = 250 * time.Millisecond | ||
| config.Consensus.UnsafeCommitTimeoutOverride = 250 * time.Millisecond | ||
| config.Consensus.GossipTransactionKeyOnly = true |
Contributor
Author
There was a problem hiding this comment.
This overrides the default in TM
BrandonWeng
commented
Jan 5, 2023
| override_genesis '.app_state["slashing"]["params"]["signed_blocks_window"]="10000"' | ||
| override_genesis '.app_state["slashing"]["params"]["min_signed_per_window"]="0.050000000000000000"' | ||
| override_genesis '.app_state["staking"]["params"]["max_validators"]="50"' | ||
| override_genesis '.consensus_params["block"]["time_iota_ms"]="1"' |
Contributor
Author
There was a problem hiding this comment.
this field was removed in our version of TM actually
BrandonWeng
commented
Jan 5, 2023
Comment on lines
-60
to
-79
| if [[ "$OSTYPE" == "linux-gnu"* ]]; then | ||
| sed -i 's/timeout_prevote =.*/timeout_prevote = "2000ms"/g' $CONFIG_PATH | ||
| sed -i 's/timeout_precommit =.*/timeout_precommit = "2000ms"/g' $CONFIG_PATH | ||
| sed -i 's/timeout_commit =.*/timeout_commit = "2000ms"/g' $CONFIG_PATH | ||
| sed -i 's/skip_timeout_commit =.*/skip_timeout_commit = false/g' $CONFIG_PATH | ||
| elif [[ "$OSTYPE" == "darwin"* ]]; then | ||
| sed -i '' 's/# unsafe-propose-timeout-override = 0s =.*/unsafe-propose-timeout-override = "10s"/g' $CONFIG_PATH | ||
| sed -i '' 's/# unsafe-propose-timeout-delta-override = 0s =.*/unsafe-propose-timeout-delta-override = "10s"/g' $CONFIG_PATH | ||
| sed -i '' 's/# unsafe-vote-timeout-override = 0s =.*/unsafe-vote-timeout-override = "10s"/g' $CONFIG_PATH | ||
| sed -i '' 's/# unsafe-vote-timeout-delta-override = 0s =.*/unsafe-vote-timeout-delta-override = "10s"/g' $CONFIG_PATH | ||
| sed -i '' 's/# unsafe-commit-timeout-override = 0s =.*/unsafe-commit-timeout-override = "10s"/g' $CONFIG_PATH | ||
| else | ||
| printf "Platform not supported, please ensure that the following values are set in your config.toml:\n" | ||
| printf "### Consensus Configuration Options ###\n" | ||
| printf "\t timeout_prevote = \"2000ms\"\n" | ||
| printf "\t timeout_precommit = \"2000ms\"\n" | ||
| printf "\t timeout_commit = \"2000ms\"\n" | ||
| printf "\t skip_timeout_commit = false\n" | ||
| exit 1 | ||
| fi |
Contributor
Author
There was a problem hiding this comment.
This hasn't been working
philipsu522
approved these changes
Jan 5, 2023
|
masih
pushed a commit
that referenced
this pull request
Sep 29, 2025
## Describe your changes and provide context - adds new error ## Testing performed to validate your change - unit on sei-chain
masih
pushed a commit
that referenced
this pull request
Sep 30, 2025
## Describe your changes and provide context - adds new error ## Testing performed to validate your change - unit on sei-chain
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes and provide context
Testing performed to validate your change