filecoin-project / filecoin-project/builtin-actors

Unify invariants checking with version in go-state-types

Open
#1,550 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
96
Forks
94
Avg merge
6d 17h
Merged PRs (30d)
3

Description

@rvagg identified a big issue here: https://github.com/filecoin-project/builtin-actors/pull/1540#discussion_r1618121222

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.