fix: Upgrade status-go to the most recent version of release branch which contains memory fix

Fix #4990
This commit is contained in:
Michal Iskierko
2024-05-13 12:21:03 +02:00
committed by Michał Iskierko
parent 03d490156a
commit 66cf3d21b9
230 changed files with 30930 additions and 14243 deletions

View File

@@ -12,8 +12,7 @@ var registerOnce sync.Once
// MustCreateTestLogger returns a logger based on the passed flags.
func MustCreateTestLogger() *zap.Logger {
cfg := zap.NewDevelopmentConfig()
return MustCreateTestLoggerWithConfig(cfg)
return MustCreateTestLoggerWithConfig(loggerConfig())
}
func MustCreateTestLoggerWithConfig(cfg zap.Config) *zap.Logger {

View File

@@ -0,0 +1,9 @@
//go:build !test_silent
package tt
import "go.uber.org/zap"
func loggerConfig() zap.Config {
return zap.NewDevelopmentConfig()
}

View File

@@ -0,0 +1,11 @@
//go:build test_silent
package tt
import "go.uber.org/zap"
func loggerConfig() zap.Config {
config := zap.NewProductionConfig()
config.Level = zap.NewAtomicLevelAt(zap.WarnLevel)
return config
}