Browse Source

e2e: clarify apphash reporting (#7348) (#7352)

(cherry picked from commit 24dcba9230)

Co-authored-by: Sam Kleinman <garen@tychoish.com>
pull/7353/head
mergify[bot] 3 years ago
committed by GitHub
parent
commit
151103042a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      test/e2e/tests/app_test.go

+ 3
- 1
test/e2e/tests/app_test.go View File

@ -51,7 +51,9 @@ func TestApp_Hash(t *testing.T) {
require.NoError(t, err) require.NoError(t, err)
if info.Response.LastBlockHeight == block.Block.Height { if info.Response.LastBlockHeight == block.Block.Height {
require.EqualValues(t, info.Response.LastBlockAppHash, block.Block.AppHash.Bytes(),
require.Equal(t,
fmt.Sprintf("%x", info.Response.LastBlockAppHash),
fmt.Sprintf("%x", block.Block.AppHash.Bytes()),
"app hash does not match last block's app hash") "app hash does not match last block's app hash")
} }


Loading…
Cancel
Save