mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 13:55:17 +00:00
backport block size fixes (#5492)
* mempool: length prefix txs when getting them from mempool (#5483) * correctly calculate evidence data size (#5482) * block: use commit sig size instead of vote size (#5490) * tx: reduce function to one parameter (#5493)
This commit is contained in:
@@ -290,7 +290,7 @@ func TestAppCalls(t *testing.T) {
|
||||
h = apph - 1
|
||||
commit2, err := c.Commit(context.Background(), &h)
|
||||
require.NoError(err)
|
||||
assert.Equal(block.Block.LastCommit, commit2.Commit)
|
||||
assert.Equal(block.Block.LastCommitHash, commit2.Commit.Hash())
|
||||
|
||||
// and we got a proof that works!
|
||||
_pres, err := c.ABCIQueryWithOptions(context.Background(), "/key", k, client.ABCIQueryOptions{Prove: true})
|
||||
|
||||
Reference in New Issue
Block a user