diff --git a/chain/actors/actor_storagepower.go b/chain/actors/actor_storagepower.go index b0190aa5b..4bd5a0cb7 100644 --- a/chain/actors/actor_storagepower.go +++ b/chain/actors/actor_storagepower.go @@ -87,7 +87,7 @@ func (spa StoragePowerActor) CreateStorageMiner(act *types.Actor, vmctx types.VM // FORK minerCid := StorageMinerCodeCid - if vmctx.BlockHeight() > build.ForkBlizzardHeight { + if vmctx.BlockHeight() > build.ForkFrigidHeight { minerCid = StorageMiner2CodeCid } diff --git a/chain/stmgr/forks.go b/chain/stmgr/forks.go index b31b55a5e..96bc173c6 100644 --- a/chain/stmgr/forks.go +++ b/chain/stmgr/forks.go @@ -18,6 +18,7 @@ func (sm *StateManager) handleStateForks(ctx context.Context, pstate cid.Cid, he for i := parentH; i < height; i++ { switch i { case build.ForkBlizzardHeight: + log.Warnw("Executing blizzard fork logic", "height", i) npstate, err := fixBlizzardAMTBug(ctx, sm, pstate) if err != nil { return cid.Undef, xerrors.Errorf("blizzard bug fix failed: %w", err) @@ -25,6 +26,7 @@ func (sm *StateManager) handleStateForks(ctx context.Context, pstate cid.Cid, he return npstate, nil case build.ForkFrigidHeight: + log.Warnw("Executing frigid fork logic", "height", i) npstate, err := fixBlizzardAMTBug(ctx, sm, pstate) if err != nil { return cid.Undef, xerrors.Errorf("frigid bug fix failed: %w", err)