Skip to content

Handling config mismatches across networks #1617

Closed

Description

@thanethomson

While we have +2/3rds agreement on consensus parameters, there's no real way to know whether one's node is misconfigured in a meaningful way (by way of its config.toml) relative to the rest of the network.

Mismatches in the following kinds of parameters, for example, can result in unexpected behaviour across networks:

  • Consensus timeouts
  • Mempool configuration

Without resorting to turning those config parameters into consensus parameters, what other approaches are there to dealing with this problem?

One option is to share certain config options across the network and simply emit a warning log for operators if a discrepancy is found.

Activity

  1. added
    enhancement
    on Nov 15, 2023
  2. melekes commented on Nov 15, 2023

    @melekes
    Collaborator

    https://github.com/cometbft/cometbft/discussions/1093 "How to speed up diagnosis of chain execution problems when the root cause is inconsistent config"

  3. lasarojc commented on Nov 15, 2023

    @lasarojc
    Contributor

    Another option would be to include CometBFT transactions, which operate on the CometBFT state machine itself. That is, a block would include Comet transactions and app transactions. Consensus parameters and validator set changes are a form of Comet transactions, but they are not flexible and including more types of Comet transactions is a hard thing today.

  4. melekes commented on Jun 13, 2024

    @melekes
    Collaborator

    Closing in favor of #2829

  5. added this to the 2024-Q2 milestone on Jul 2, 2024
  6. moved this from Todo to Done in CometBFTon Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    configenhancement

    Type

    No type

    Projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions