filecoin-project / lily

capturing on-chain state for the filecoin network
Other
48 stars 45 forks source link

These two variable names in the source code need to be swapped. ChainStateComputeRange and ChainStateCompute. #1223

Closed Brownjy closed 1 year ago

Brownjy commented 1 year ago

Describe the bug:

I found a bug in the source code. bug file

var ChainStateCompute = &cli.Command{
    Name:  "state-compute-range",
    Usage: "Generates the state from epoch `FROM` to epoch `TO`",
        // ...
}
var ChainStateComputeRange = &cli.Command{
    Name:  "state-compute",
    Usage: "Generates the state at epoch `N`",
        // ...
}

The two declared variables do not match what they were initialized to, the names of the two variables should be swapped.

Steps to Reproduce:

Lily Version: vx.x.x