Skip to content

Check the validity and update the specs for the core types #1014

Open

Description

@cason

We have section of our specification spec/core describing the core types adopted in CometBFT. While some minor changes have been made recently, the documentation itself appears to need a thorough review, for the sake of accuracy and possibly also completeness.

In particular, some validity predicates appear to be imprecise, for instance the restrictions regarding round numbers (tendermint/tendermint#10041), that probably also apply to other int fields (e.g., validator index) that are mistakenly restricted to be >0 when the 0 value is valid.

I also wonder whether there is a better way to keep this documentation consistent with the implementation (namely, the referenced data types) without manually editing Markdown tables.

Activity

  1. added
    documentation
    spec
    P:tech-debt
    on Jun 22, 2023
  2. sergio-mena commented on Jun 22, 2023

    @sergio-mena
    Collaborator

    Could you hook this issue into #23 ?

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

    P:tech-debtdocumentationspec

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions