add all subsystems to deadlines and wdpost_dispute tests

This commit is contained in:
Anton Evangelatov 2021-06-22 15:35:46 +02:00
parent a828b15fbe
commit 4f2d8b0a85
2 changed files with 6 additions and 4 deletions

View File

@ -79,6 +79,7 @@ func TestDeadlineToggling(t *testing.T) {
minerE kit.TestMiner
)
opts := []kit.NodeOpt{kit.ConstructorOpts(kit.NetworkUpgradeAt(network.Version12, upgradeH))}
opts = append(opts, kit.WithAllSubsystems())
ens := kit.NewEnsemble(t, kit.MockProofs()).
FullNode(&client, opts...).
Miner(&minerA, &client, opts...).

View File

@ -42,11 +42,12 @@ func TestWindowPostDispute(t *testing.T) {
// it doesn't submit proofs.
//
// Then we're going to manually submit bad proofs.
opts := kit.ConstructorOpts(kit.LatestActorsAt(-1))
opts := []kit.NodeOpt{kit.ConstructorOpts(kit.LatestActorsAt(-1))}
opts = append(opts, kit.WithAllSubsystems())
ens := kit.NewEnsemble(t, kit.MockProofs()).
FullNode(&client, opts).
Miner(&chainMiner, &client, opts).
Miner(&evilMiner, &client, opts, kit.PresealSectors(0)).
FullNode(&client, opts...).
Miner(&chainMiner, &client, opts...).
Miner(&evilMiner, &client, append(opts, kit.PresealSectors(0))...).
Start()
{