Rename state compute's height flag to vm-height
This commit is contained in:
parent
eac8a909e9
commit
20c80f977c
@ -790,8 +790,8 @@ var stateComputeStateCmd = &cli.Command{
|
|||||||
Usage: "Perform state computations",
|
Usage: "Perform state computations",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
&cli.Uint64Flag{
|
&cli.Uint64Flag{
|
||||||
Name: "height",
|
Name: "vm-height",
|
||||||
Usage: "set the height to compute state at",
|
Usage: "set the height that the vm will see",
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "apply-mpool-messages",
|
Name: "apply-mpool-messages",
|
||||||
@ -820,7 +820,7 @@ var stateComputeStateCmd = &cli.Command{
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
h := abi.ChainEpoch(cctx.Uint64("height"))
|
h := abi.ChainEpoch(cctx.Uint64("vm-height"))
|
||||||
if h == 0 {
|
if h == 0 {
|
||||||
if ts == nil {
|
if ts == nil {
|
||||||
head, err := api.ChainHead(ctx)
|
head, err := api.ChainHead(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user