From 3e72a088df1da0a2dd9095150f2d4cf3fe742953 Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 7 Apr 2022 21:58:45 +0300 Subject: [PATCH] fix rand_test --- chain/rand/rand_test.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/chain/rand/rand_test.go b/chain/rand/rand_test.go index b5e2482b7..a4a4c39f0 100644 --- a/chain/rand/rand_test.go +++ b/chain/rand/rand_test.go @@ -93,19 +93,19 @@ func TestNullRandomnessV2(t *testing.T) { // prepare for upgrade. Network: network.Version9, Height: 1, - Migration: filcns.UpgradeActorsV2, + Migration: filcns.LegacyMigration(filcns.UpgradeActorsV2), }, { Network: network.Version10, Height: 2, - Migration: filcns.UpgradeActorsV3, + Migration: filcns.LegacyMigration(filcns.UpgradeActorsV3), }, { Network: network.Version12, Height: 3, - Migration: filcns.UpgradeActorsV4, + Migration: filcns.LegacyMigration(filcns.UpgradeActorsV4), }, { Network: network.Version13, Height: 4, - Migration: filcns.UpgradeActorsV5, + Migration: filcns.LegacyMigration(filcns.UpgradeActorsV5), }, } @@ -172,23 +172,23 @@ func TestNullRandomnessV3(t *testing.T) { // prepare for upgrade. Network: network.Version9, Height: 1, - Migration: filcns.UpgradeActorsV2, + Migration: filcns.LegacyMigration(filcns.UpgradeActorsV2), }, { Network: network.Version10, Height: 2, - Migration: filcns.UpgradeActorsV3, + Migration: filcns.LegacyMigration(filcns.UpgradeActorsV3), }, { Network: network.Version12, Height: 3, - Migration: filcns.UpgradeActorsV4, + Migration: filcns.LegacyMigration(filcns.UpgradeActorsV4), }, { Network: network.Version13, Height: 4, - Migration: filcns.UpgradeActorsV5, + Migration: filcns.LegacyMigration(filcns.UpgradeActorsV5), }, { Network: network.Version14, Height: 5, - Migration: filcns.UpgradeActorsV6, + Migration: filcns.LegacyMigration(filcns.UpgradeActorsV6), }, }