add all subsystems to deadlines and wdpost_dispute tests
This commit is contained in:
parent
a828b15fbe
commit
4f2d8b0a85
@ -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...).
|
||||
|
@ -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()
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user