Skip to content

chore(chart)!: update default cometbft config vals#1173

Closed
joroshiba wants to merge 1 commit intomainfrom
joroshiba/updated-cometbft-defaults
Closed

chore(chart)!: update default cometbft config vals#1173
joroshiba wants to merge 1 commit intomainfrom
joroshiba/updated-cometbft-defaults

Conversation

@joroshiba
Copy link
Member

Summary

Updates default CometBFT configuration, and genesis.

Background

We have been running on mostly defaults without much thought to it, gave a more thorough review.

Breaking Changelist

  • Changes genesis parameters and thus cannot be used with existing networks without adding ability to make more configurable w/ these as defaults.

@joroshiba joroshiba requested a review from a team as a code owner June 10, 2024 18:20
@joroshiba joroshiba requested a review from quasystaty1 June 10, 2024 18:20
@github-actions github-actions bot added the cd label Jun 10, 2024
# This only accounts for raw transactions (e.g. given 1MB transactions and
# max_txs_bytes=5MB, mempool will only accept 5 transactions).
max_txs_bytes = 1073741824
max_txs_bytes = 100_000_000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the change here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decreasing mempool size from 1GB to 100 MB, better default configs, same for other values.

Comment on lines +53 to +54
"max_age_duration": "1209600000000000",
"max_age_num_blocks": "4000000",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@joroshiba
Copy link
Member Author

Fixed as a part of #1193

@joroshiba joroshiba closed this Jul 1, 2024
@Fraser999 Fraser999 deleted the joroshiba/updated-cometbft-defaults branch November 19, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants