Skip to content

Commit

Permalink
contracts: reduce blocks for test
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Aug 20, 2024
1 parent 4832eb5 commit 823818a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions host/contracts/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1311,11 +1311,10 @@ func TestChainIndexElementsDeepReorg(t *testing.T) {
}
}

mineAndSync(t, n1, h1.Wallet.Address(), 200)
mineAndSync(t, n1, h1.Wallet.Address(), 145)
n2 := testutil.NewConsensusNode(t, network, genesis, log.Named("node2"))
testutil.MineBlocks(t, n2, h1.Wallet.Address(), 500)
testutil.MineBlocks(t, n2, h1.Wallet.Address(), 200)

t.Log("connecting peer 2")
if _, err := h1.Syncer.Connect(context.Background(), n2.Syncer.Addr()); err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 823818a

Please sign in to comment.