diff --git a/internal/blocksync/reactor_test.go b/internal/blocksync/reactor_test.go index a3a9899c3..4807a41a1 100644 --- a/internal/blocksync/reactor_test.go +++ b/internal/blocksync/reactor_test.go @@ -175,6 +175,7 @@ func (rts *reactorTestSuite) addMultipleNodes( commitSigs := make([]types.CommitSig, len(privValArray)) votes := make([]types.Vote, len(privValArray)) for i, val := range privValArray { + vote, err := factory.MakeVote( ctx, val, @@ -186,6 +187,7 @@ func (rts *reactorTestSuite) addMultipleNodes( require.NoError(t, err) votes[i] = *vote commitSigs[i] = vote.CommitSig() + } lastCommit = types.NewCommit( votes[0].Height, @@ -420,7 +422,7 @@ func TestReactor_NonGenesisSync(t *testing.T) { genDoc := factory.GenesisDoc(cfg, time.Now(), valSet.Validators, factory.ConsensusParams()) maxBlockHeight := int64(101) - rts := setup(ctx, t, genDoc, privVals, []int64{maxBlockHeight, 50, 4, 0}) + rts := setup(ctx, t, genDoc, privVals, []int64{maxBlockHeight, 2, 0}) //50, 4, 0}) require.Equal(t, maxBlockHeight, rts.reactors[rts.nodes[0]].store.Height()) rts.start(ctx, t) @@ -442,7 +444,7 @@ func TestReactor_NonGenesisSync(t *testing.T) { } return matching }, - 20*time.Second, + 10*time.Second, 10*time.Millisecond, "expected node to be partially synced", ) diff --git a/spec/abci++/abci++_methods_002_draft.md b/spec/abci++/abci++_methods_002_draft.md index d1782bbdc..3d26bf5bb 100644 --- a/spec/abci++/abci++_methods_002_draft.md +++ b/spec/abci++/abci++_methods_002_draft.md @@ -289,7 +289,7 @@ title: Methods |-------------------------|---------------------------------------------|------------------------------------------------------------------------------------------------------------------|--------------| | max_tx_bytes | int64 | Currently configured maximum size in bytes taken by the modified transactions. | 1 | | txs | repeated bytes | Preliminary list of transactions that have been picked as part of the block to propose. | 2 | - | local_last_commit | [ExtendedCommitInfo](#extendedcommitinfo) | Info about the last commit, obtained locally from Tendermint's data structures. | 3 | + | local_last_commit | [Info](#extendedcommitinfo) | Info about the last commit, obtained locally from Tendermint's data structures. | 3 | | byzantine_validators | repeated [Misbehavior](#misbehavior) | List of information about validators that acted incorrectly. | 4 | | height | int64 | The height of the block that will be proposed. | 5 | | time | [google.protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp) | Timestamp of the block that that will be proposed. | 6 |