Compare commits

...

1 Commits

Author SHA1 Message Date
William Banfield
e178b5957f fix TestApp_Hash to check for latest height using abci info result 2021-09-28 10:54:08 -04:00

View File

@@ -49,6 +49,9 @@ func TestApp_Hash(t *testing.T) {
require.EqualValues(t, info.Response.LastBlockAppHash, block.Block.AppHash.Bytes(),
"app hash does not match last block's app hash")
require.EqualValues(t, info.Response.LastBlockHeight, block.Block.Height,
"block height does not match last block's height")
status, err := client.Status(ctx)
require.NoError(t, err)
require.True(t, status.SyncInfo.LatestBlockHeight >= info.Response.LastBlockHeight,