Skip to content

Commit

Permalink
Merge pull request #6167 from filecoin-project/asr/state-tree-version
Browse files Browse the repository at this point in the history
Allow creation of state tree v3s
  • Loading branch information
arajasek authored May 3, 2021
2 parents 2a90de3 + 4193235 commit c074031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/state/statetree.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func NewStateTree(cst cbor.IpldStore, ver types.StateTreeVersion) (*StateTree, e
switch ver {
case types.StateTreeVersion0:
// info is undefined
case types.StateTreeVersion1, types.StateTreeVersion2:
case types.StateTreeVersion1, types.StateTreeVersion2, types.StateTreeVersion3:
var err error
info, err = cst.Put(context.TODO(), new(types.StateInfo0))
if err != nil {
Expand Down

0 comments on commit c074031

Please sign in to comment.