|
|
@ -181,7 +181,7 @@ func TestBadProposal(t *testing.T) { |
|
|
|
height, round := cs1.Height, cs1.Round |
|
|
|
vs2 := vss[1] |
|
|
|
|
|
|
|
partSize := cs1.state.Params().BlockPartSizeBytes |
|
|
|
partSize := cs1.state.Params.BlockPartSizeBytes |
|
|
|
|
|
|
|
proposalCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringCompleteProposal(), 1) |
|
|
|
voteCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringVote(), 1) |
|
|
@ -328,7 +328,7 @@ func TestLockNoPOL(t *testing.T) { |
|
|
|
vs2 := vss[1] |
|
|
|
height := cs1.Height |
|
|
|
|
|
|
|
partSize := cs1.state.Params().BlockPartSizeBytes |
|
|
|
partSize := cs1.state.Params.BlockPartSizeBytes |
|
|
|
|
|
|
|
timeoutProposeCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringTimeoutPropose(), 1) |
|
|
|
timeoutWaitCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringTimeoutWait(), 1) |
|
|
@ -494,7 +494,7 @@ func TestLockPOLRelock(t *testing.T) { |
|
|
|
cs1, vss := randConsensusState(4) |
|
|
|
vs2, vs3, vs4 := vss[1], vss[2], vss[3] |
|
|
|
|
|
|
|
partSize := cs1.state.Params().BlockPartSizeBytes |
|
|
|
partSize := cs1.state.Params.BlockPartSizeBytes |
|
|
|
|
|
|
|
timeoutProposeCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringTimeoutPropose(), 1) |
|
|
|
timeoutWaitCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringTimeoutWait(), 1) |
|
|
@ -607,7 +607,7 @@ func TestLockPOLUnlock(t *testing.T) { |
|
|
|
cs1, vss := randConsensusState(4) |
|
|
|
vs2, vs3, vs4 := vss[1], vss[2], vss[3] |
|
|
|
|
|
|
|
partSize := cs1.state.Params().BlockPartSizeBytes |
|
|
|
partSize := cs1.state.Params.BlockPartSizeBytes |
|
|
|
|
|
|
|
proposalCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringCompleteProposal(), 1) |
|
|
|
timeoutProposeCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringTimeoutPropose(), 1) |
|
|
@ -702,7 +702,7 @@ func TestLockPOLSafety1(t *testing.T) { |
|
|
|
cs1, vss := randConsensusState(4) |
|
|
|
vs2, vs3, vs4 := vss[1], vss[2], vss[3] |
|
|
|
|
|
|
|
partSize := cs1.state.Params().BlockPartSizeBytes |
|
|
|
partSize := cs1.state.Params.BlockPartSizeBytes |
|
|
|
|
|
|
|
proposalCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringCompleteProposal(), 1) |
|
|
|
timeoutProposeCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringTimeoutPropose(), 1) |
|
|
@ -823,7 +823,7 @@ func TestLockPOLSafety2(t *testing.T) { |
|
|
|
cs1, vss := randConsensusState(4) |
|
|
|
vs2, vs3, vs4 := vss[1], vss[2], vss[3] |
|
|
|
|
|
|
|
partSize := cs1.state.Params().BlockPartSizeBytes |
|
|
|
partSize := cs1.state.Params.BlockPartSizeBytes |
|
|
|
|
|
|
|
proposalCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringCompleteProposal(), 1) |
|
|
|
timeoutProposeCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringTimeoutPropose(), 1) |
|
|
@ -998,7 +998,7 @@ func TestHalt1(t *testing.T) { |
|
|
|
cs1, vss := randConsensusState(4) |
|
|
|
vs2, vs3, vs4 := vss[1], vss[2], vss[3] |
|
|
|
|
|
|
|
partSize := cs1.state.Params().BlockPartSizeBytes |
|
|
|
partSize := cs1.state.Params.BlockPartSizeBytes |
|
|
|
|
|
|
|
proposalCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringCompleteProposal(), 1) |
|
|
|
timeoutWaitCh := subscribeToEvent(cs1.evsw, "tester", types.EventStringTimeoutWait(), 1) |
|
|
|