Skip to content

Commit

Permalink
Revert fake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed Apr 12, 2023
1 parent 8aa3bf1 commit 64b8597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain/consensus/filcns/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,7 @@ func upgradeActorsV11Common(
return cid.Undef, xerrors.Errorf("failed to decode state root: %w", err)
}

if stateRoot.Version != types.StateTreeVersion4 {
if stateRoot.Version != types.StateTreeVersion5 {
return cid.Undef, xerrors.Errorf(
"expected state root version 4 for actors v11 upgrade, got %d",
stateRoot.Version,
Expand All @@ -1794,7 +1794,7 @@ func upgradeActorsV11Common(
newHamtRoot, err := nv19.MigrateStateTree(ctx, adtStore, manifest, stateRoot.Actors, epoch, config,
migrationLogger{}, cache)
if err != nil {
return cid.Undef, xerrors.Errorf("upgrading to actors v10: %w", err)
return cid.Undef, xerrors.Errorf("upgrading to actors v11: %w", err)
}

// Persist the result.
Expand Down

0 comments on commit 64b8597

Please sign in to comment.