build(deps): Bump github.com/cometbft/cometbft from 1.0.0-alpha.2.0.20240530055211-ae27f7eb3c08 to 1.0.0-rc1 in /x/auth (#20851)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
This commit is contained in:
dependabot[bot]
2024-07-03 10:42:28 +00:00
committed by GitHub
co-authored by sontrinh16
parent 2718b7f6e0
commit 59f4aa39ed
49 changed files with 148 additions and 145 deletions
+4 -1
View File
@@ -1,6 +1,7 @@
package root
import (
"crypto/sha256"
"fmt"
"testing"
"time"
@@ -771,7 +772,9 @@ func (s *RootStoreTestSuite) TestHashStableWithEmptyCommitAndRestart() {
err := s.rootStore.LoadLatestVersion()
s.Require().Nil(err)
commitID := proof.CommitID{}
emptyHash := sha256.Sum256([]byte{})
appHash := emptyHash[:]
commitID := proof.CommitID{Hash: appHash}
lastCommitID, err := s.rootStore.LastCommitID()
s.Require().Nil(err)