v1.27.0-a #10

Closed
jonathanface wants to merge 473 commits from v1.27.0-a into master
Showing only changes of commit 65edab42bc - Show all commits

View File

@ -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)
} }