diff --git a/erigon-lib/downloader/downloader.go b/erigon-lib/downloader/downloader.go index f43261f9ef9..0e3a50962c1 100644 --- a/erigon-lib/downloader/downloader.go +++ b/erigon-lib/downloader/downloader.go @@ -429,7 +429,7 @@ func initSnapshotLock(ctx context.Context, cfg *downloadercfg.Cfg, db kv.RoDB, s if hash := hex.EncodeToString(hashBytes); preverified.Hash == hash { downloadMap.Set(fileInfo.Name(), preverified) } else { - logger.Warn("[downloader] local file hash does not match known", "file", fileInfo.Name(), "local", hash, "known", preverified.Hash) + logger.Debug("[downloader] local file hash does not match known", "file", fileInfo.Name(), "local", hash, "known", preverified.Hash) // TODO: check if it has an index - if not use the known hash and delete the file downloadMap.Set(fileInfo.Name(), snapcfg.PreverifiedItem{Name: fileInfo.Name(), Hash: hash}) } @@ -461,7 +461,7 @@ func initSnapshotLock(ctx context.Context, cfg *downloadercfg.Cfg, db kv.RoDB, s if hash := hex.EncodeToString(hashBytes); preverified.Hash == hash { downloadMap.Set(preverified.Name, preverified) } else { - logger.Warn("[downloader] local file hash does not match known", "file", fileInfo.Name(), "local", hash, "known", preverified.Hash) + logger.Debug("[downloader] local file hash does not match known", "file", fileInfo.Name(), "local", hash, "known", preverified.Hash) // TODO: check if it has an index - if not use the known hash and delete the file downloadMap.Set(fileInfo.Name(), snapcfg.PreverifiedItem{Name: fileInfo.Name(), Hash: hash}) } @@ -490,7 +490,7 @@ func initSnapshotLock(ctx context.Context, cfg *downloadercfg.Cfg, db kv.RoDB, s if hash := hex.EncodeToString(hashBytes); preverified.Hash == hash { downloadMap.Set(preverified.Name, preverified) } else { - logger.Warn("[downloader] local file hash does not match known", "file", fileInfo.Name(), "local", hash, "known", preverified.Hash) + logger.Debug("[downloader] local file hash does not match known", "file", fileInfo.Name(), "local", hash, "known", preverified.Hash) // TODO: check if it has an index - if not use the known hash and delete the file downloadMap.Set(fileInfo.Name(), snapcfg.PreverifiedItem{Name: fileInfo.Name(), Hash: hash}) } diff --git a/params/version.go b/params/version.go index 24b67e9655e..6a287fd9b21 100644 --- a/params/version.go +++ b/params/version.go @@ -31,10 +31,10 @@ var ( // see https://calver.org const ( - VersionMajor = 2 // Major version component of the current release - VersionMinor = 59 // Minor version component of the current release - VersionMicro = 0 // Patch version component of the current release - VersionModifier = "dev" // Modifier component of the current release + VersionMajor = 2 // Major version component of the current release + VersionMinor = 59 // Minor version component of the current release + VersionMicro = 0 // Patch version component of the current release + VersionModifier = "" // Modifier component of the current release VersionKeyCreated = "ErigonVersionCreated" VersionKeyFinished = "ErigonVersionFinished" )