From 544a16d737241475e32b790a88b8953d4923dbde Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Mon, 4 Mar 2024 11:23:32 -0500 Subject: [PATCH] feat: set migration config UpgradeEpoch for v13 actors upgrade --- chain/consensus/filcns/upgrades.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chain/consensus/filcns/upgrades.go b/chain/consensus/filcns/upgrades.go index e59c092f8..502f370c0 100644 --- a/chain/consensus/filcns/upgrades.go +++ b/chain/consensus/filcns/upgrades.go @@ -2174,6 +2174,7 @@ func PreUpgradeActorsV13(ctx context.Context, sm *stmgr.StateManager, cache stmg config := migration.Config{ MaxWorkers: uint(workerCount), ProgressLogPeriod: time.Minute * 5, + UpgradeEpoch: build.UpgradeDragonHeight, } _, err = upgradeActorsV13Common(ctx, sm, cache, lbRoot, epoch, lbts, config) @@ -2192,6 +2193,7 @@ func UpgradeActorsV13(ctx context.Context, sm *stmgr.StateManager, cache stmgr.M JobQueueSize: 1000, ResultQueueSize: 100, ProgressLogPeriod: 10 * time.Second, + UpgradeEpoch: build.UpgradeDragonHeight, } newRoot, err := upgradeActorsV13Common(ctx, sm, cache, root, epoch, ts, config) if err != nil {