|
|
@ -383,7 +383,7 @@ func setupSimulator(ctx context.Context, t *testing.T) *simulatorTestSuite { |
|
|
|
newValidatorTx1 := kvstore.MakeValSetChangeTx(valPubKey1ABCI, testMinPower) |
|
|
|
err = assertMempool(t, css[0].txNotifier).CheckTx(ctx, newValidatorTx1, nil, mempool.TxInfo{}) |
|
|
|
assert.NoError(t, err) |
|
|
|
propBlock, _, err := css[0].createProposalBlock() // changeProposer(t, cs1, vs2)
|
|
|
|
propBlock, _, err := css[0].createProposalBlock(ctx) // changeProposer(t, cs1, vs2)
|
|
|
|
require.NoError(t, err) |
|
|
|
propBlockParts, err := propBlock.MakePartSet(partSize) |
|
|
|
require.NoError(t, err) |
|
|
@ -417,7 +417,7 @@ func setupSimulator(ctx context.Context, t *testing.T) *simulatorTestSuite { |
|
|
|
updateValidatorTx1 := kvstore.MakeValSetChangeTx(updatePubKey1ABCI, 25) |
|
|
|
err = assertMempool(t, css[0].txNotifier).CheckTx(ctx, updateValidatorTx1, nil, mempool.TxInfo{}) |
|
|
|
assert.NoError(t, err) |
|
|
|
propBlock, _, err = css[0].createProposalBlock() // changeProposer(t, cs1, vs2)
|
|
|
|
propBlock, _, err = css[0].createProposalBlock(ctx) // changeProposer(t, cs1, vs2)
|
|
|
|
require.NoError(t, err) |
|
|
|
propBlockParts, err = propBlock.MakePartSet(partSize) |
|
|
|
require.NoError(t, err) |
|
|
@ -458,7 +458,7 @@ func setupSimulator(ctx context.Context, t *testing.T) *simulatorTestSuite { |
|
|
|
newValidatorTx3 := kvstore.MakeValSetChangeTx(newVal3ABCI, testMinPower) |
|
|
|
err = assertMempool(t, css[0].txNotifier).CheckTx(ctx, newValidatorTx3, nil, mempool.TxInfo{}) |
|
|
|
assert.NoError(t, err) |
|
|
|
propBlock, _, err = css[0].createProposalBlock() // changeProposer(t, cs1, vs2)
|
|
|
|
propBlock, _, err = css[0].createProposalBlock(ctx) // changeProposer(t, cs1, vs2)
|
|
|
|
require.NoError(t, err) |
|
|
|
propBlockParts, err = propBlock.MakePartSet(partSize) |
|
|
|
require.NoError(t, err) |
|
|
@ -546,7 +546,7 @@ func setupSimulator(ctx context.Context, t *testing.T) *simulatorTestSuite { |
|
|
|
removeValidatorTx3 := kvstore.MakeValSetChangeTx(newVal3ABCI, 0) |
|
|
|
err = assertMempool(t, css[0].txNotifier).CheckTx(ctx, removeValidatorTx3, nil, mempool.TxInfo{}) |
|
|
|
assert.NoError(t, err) |
|
|
|
propBlock, _, err = css[0].createProposalBlock() // changeProposer(t, cs1, vs2)
|
|
|
|
propBlock, _, err = css[0].createProposalBlock(ctx) // changeProposer(t, cs1, vs2)
|
|
|
|
require.NoError(t, err) |
|
|
|
propBlockParts, err = propBlock.MakePartSet(partSize) |
|
|
|
require.NoError(t, err) |
|
|
|