Skip to content

[RFC] Engine API: remove INVALID_BLOCK_HASH #270

Closed
@mkalinin

Description

@mkalinin

PR #254 introduces null value for latestValidHash in the case when latest VALID ancestor is unknown.

This change makes {status: INVALID_BLOCK_HASH, latestValidHash: null} semantically equal to {status: "INVALID", latestValidHash: null}. Thus, INVALID_BLOCK_HASH becomes redundant.

If all CL clients support latestValidHash: null, this change doesn't introduce backward compatibility issues but would require corresponding change in Hive tests that are checking INVALID_BLOCK_HASH.

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