mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-10 20:01:20 +00:00
tools/tm-signer-harness: update height and round for test harness (#3466)
In order to re-enable the test harness for the KMS (see tendermint/kms#227), we need some marginally more realistic proposals and votes. This is because the KMS does some additional sanity checks now to ensure the height and round are increasing over time.
This commit is contained in:
committed by
Anton Kaliaev
parent
1d4afb179b
commit
85be2a554e
@ -198,8 +198,8 @@ func (th *TestHarness) TestSignProposal() error {
|
||||
hash := tmhash.Sum([]byte("hash"))
|
||||
prop := &types.Proposal{
|
||||
Type: types.ProposalType,
|
||||
Height: 12345,
|
||||
Round: 23456,
|
||||
Height: 100,
|
||||
Round: 0,
|
||||
POLRound: -1,
|
||||
BlockID: types.BlockID{
|
||||
Hash: hash,
|
||||
@ -240,8 +240,8 @@ func (th *TestHarness) TestSignVote() error {
|
||||
hash := tmhash.Sum([]byte("hash"))
|
||||
vote := &types.Vote{
|
||||
Type: voteType,
|
||||
Height: 12345,
|
||||
Round: 23456,
|
||||
Height: 101,
|
||||
Round: 0,
|
||||
BlockID: types.BlockID{
|
||||
Hash: hash,
|
||||
PartsHeader: types.PartSetHeader{
|
||||
|
Reference in New Issue
Block a user