refactor: use genesis preseals from kit2

This commit is contained in:
Dirk McCormick 2021-06-16 14:42:28 +02:00
parent 5ce482b817
commit 4ea73b4088

View File

@ -6,7 +6,6 @@ import (
"testing" "testing"
"time" "time"
"github.com/filecoin-project/lotus/itests/kit"
"github.com/filecoin-project/lotus/itests/kit2" "github.com/filecoin-project/lotus/itests/kit2"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
@ -44,7 +43,7 @@ func runTestCCUpgrade(t *testing.T, upgradeHeight abi.ChainEpoch) {
t.Fatal(err) t.Fatal(err)
} }
CC := abi.SectorNumber(kit.GenesisPreseals + 1) CC := abi.SectorNumber(kit2.DefaultPresealsPerBootstrapMiner + 1)
Upgraded := CC + 1 Upgraded := CC + 1
miner.PledgeSectors(ctx, 1, 0, nil) miner.PledgeSectors(ctx, 1, 0, nil)