Skip to content

Unify invariants checking with version in go-state-typesΒ #1550

@ZenGround0

Description

@ZenGround0

@rvagg identified a big issue here: #1540 (comment)

We should have one version of state invariants in rust maintainted here. There are two steps to this work

  1. Go through go-state-types go invariants and make sure all invariants in go are reflected in rust code. I expect they have differed fairly significantly in the last two years.
  2. In a lotus-shed or other utility (maybe even a lotus developer cli command?) hook up the rust invariants on an ffi blockstore and run them.

Running go invariants and comparing with step 2 will probably be helpful for identifying diff in the invariants implemented in both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    πŸ‘Š Needs Commitment

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions