fix rand_test

This commit is contained in:
vyzo 2022-04-07 21:58:45 +03:00
parent aba27d930b
commit 3e72a088df

View File

@ -93,19 +93,19 @@ func TestNullRandomnessV2(t *testing.T) {
// prepare for upgrade. // prepare for upgrade.
Network: network.Version9, Network: network.Version9,
Height: 1, Height: 1,
Migration: filcns.UpgradeActorsV2, Migration: filcns.LegacyMigration(filcns.UpgradeActorsV2),
}, { }, {
Network: network.Version10, Network: network.Version10,
Height: 2, Height: 2,
Migration: filcns.UpgradeActorsV3, Migration: filcns.LegacyMigration(filcns.UpgradeActorsV3),
}, { }, {
Network: network.Version12, Network: network.Version12,
Height: 3, Height: 3,
Migration: filcns.UpgradeActorsV4, Migration: filcns.LegacyMigration(filcns.UpgradeActorsV4),
}, { }, {
Network: network.Version13, Network: network.Version13,
Height: 4, Height: 4,
Migration: filcns.UpgradeActorsV5, Migration: filcns.LegacyMigration(filcns.UpgradeActorsV5),
}, },
} }
@ -172,23 +172,23 @@ func TestNullRandomnessV3(t *testing.T) {
// prepare for upgrade. // prepare for upgrade.
Network: network.Version9, Network: network.Version9,
Height: 1, Height: 1,
Migration: filcns.UpgradeActorsV2, Migration: filcns.LegacyMigration(filcns.UpgradeActorsV2),
}, { }, {
Network: network.Version10, Network: network.Version10,
Height: 2, Height: 2,
Migration: filcns.UpgradeActorsV3, Migration: filcns.LegacyMigration(filcns.UpgradeActorsV3),
}, { }, {
Network: network.Version12, Network: network.Version12,
Height: 3, Height: 3,
Migration: filcns.UpgradeActorsV4, Migration: filcns.LegacyMigration(filcns.UpgradeActorsV4),
}, { }, {
Network: network.Version13, Network: network.Version13,
Height: 4, Height: 4,
Migration: filcns.UpgradeActorsV5, Migration: filcns.LegacyMigration(filcns.UpgradeActorsV5),
}, { }, {
Network: network.Version14, Network: network.Version14,
Height: 5, Height: 5,
Migration: filcns.UpgradeActorsV6, Migration: filcns.LegacyMigration(filcns.UpgradeActorsV6),
}, },
} }