Skip to content

Incorrect Untrusted Header height validation #1496

Closed

Description

@oxnr

Finding 036 - Incorrect Untrusted Header height validation

ID 036
Finding Incorrect Untrusted Header height validation
Severity 0 - Informational
Description Untrusted header height is expected to be >= the trusted header but in reality it should just be == to trusted header +1.
Recommendation Fix the validation step to do an equality check.
Code References https://github.com/rollkit/rollkit/blob/eccdd0f1793a5ac532011ef4d896de9e0d8bcb9d/types/signed_header.go#L54


Activity

  1. Manav-Aggarwal commented on Jan 18, 2024

    @Manav-Aggarwal
    Member

    Making the change from >= the trusted header to == trusted header +1 causes issues with https://github.com/celestiaorg/go-header. Needs more investigation.

  2. self-assigned this
    on Jun 27, 2024
  3. moved this from Todo to In Progress in Evolveon Jun 27, 2024
  4. added
    T:code-hygiene
    and removed on Jun 27, 2024
  5. added 3 commits that reference this issue on Jun 28, 2024
    66e9b98
    41e24a5
    a7219bf
  6. moved this from In Progress to For Review in Evolveon Jun 28, 2024
  7. added 3 commits that reference this issue on Jun 28, 2024
    5afc0ab
    ba51215
    96e12b2
  8. added 3 commits that reference this issue on Jul 2, 2024
    fc2c546
    b4e2965
    18e8cc4
  9. added a commit that references this issue on Jul 3, 2024
    47a3413
  10. added a commit that references this issue on Jul 3, 2024
    196c419
  11. moved this from For Review to Done in Evolveon Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

T:code-hygiene

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions