v1.27.0-a #10
@ -18,6 +18,7 @@ import (
|
|||||||
v10 "github.com/filecoin-project/go-state-types/builtin/v10"
|
v10 "github.com/filecoin-project/go-state-types/builtin/v10"
|
||||||
v11 "github.com/filecoin-project/go-state-types/builtin/v11"
|
v11 "github.com/filecoin-project/go-state-types/builtin/v11"
|
||||||
v12 "github.com/filecoin-project/go-state-types/builtin/v12"
|
v12 "github.com/filecoin-project/go-state-types/builtin/v12"
|
||||||
|
v13 "github.com/filecoin-project/go-state-types/builtin/v13"
|
||||||
v8 "github.com/filecoin-project/go-state-types/builtin/v8"
|
v8 "github.com/filecoin-project/go-state-types/builtin/v8"
|
||||||
v9 "github.com/filecoin-project/go-state-types/builtin/v9"
|
v9 "github.com/filecoin-project/go-state-types/builtin/v9"
|
||||||
|
|
||||||
@ -186,6 +187,11 @@ var invariantsCmd = &cli.Command{
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return xerrors.Errorf("checking state invariants: %w", err)
|
return xerrors.Errorf("checking state invariants: %w", err)
|
||||||
}
|
}
|
||||||
|
case actorstypes.Version13:
|
||||||
|
messages, err = v13.CheckStateInvariants(actorTree, abi.ChainEpoch(epoch), actorCodeCids)
|
||||||
|
if err != nil {
|
||||||
|
return xerrors.Errorf("checking state invariants: %w", err)
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
return xerrors.Errorf("unsupported actor version: %v", av)
|
return xerrors.Errorf("unsupported actor version: %v", av)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user