Skip to content

cometbft: block::Size::max_bytes should be i64 #85

Description

@melekes

The documentation for the 'max_bytes' field states that its value must be >= -1; however, since the field is of type u64, it cannot represent negative values. Consider revising the comment to reflect the valid range (e.g. 0 or a specific special value) or adjust the field type accordingly.

Originally posted by @Copilot in #82 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions