Skip to content

Add leanSpec test vector for zero hash in justifications_roots #227

@pablodeymo

Description

@pablodeymo

PR #216 added a precondition check in process_attestations that rejects blocks when justifications_roots contains H256::ZERO, matching the spec assertion at state.py L389-391.

A test vector in leanSpec should be added to exercise this path — a fixture with a zero hash in justifications_roots that expects the block to be rejected.

Reference: #216

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions