diff --git a/internal/consensus/state_test.go b/internal/consensus/state_test.go index 25d062046..43f4ef319 100644 --- a/internal/consensus/state_test.go +++ b/internal/consensus/state_test.go @@ -127,8 +127,8 @@ func TestStateProposerSelection2(t *testing.T) { prop.Address)) } - rs := cs1.GetRoundState() - signAddVotes(config, cs1, tmproto.PrecommitType, nil, rs.ProposalBlockParts.Header(), vss[1:]...) + signAddVotes(config, cs1, tmproto.PrecommitType, nil, types.PartSetHeader{}, vss[1:]...) + time.Sleep(time.Second) ensureNewRound(t, newRoundCh, height, i+round+1) // wait for the new round event each round incrementRound(vss[1:]...) }