From 3cd17234157577178c06a6c882ab931ac2a89b73 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 9 Jul 2024 23:14:51 -0400 Subject: [PATCH] Remove info log for `TimeoutPropose` override (backport #1881) (#1882) Co-authored-by: Teddy Ding --- protocol/cmd/dydxprotocold/cmd/root.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/protocol/cmd/dydxprotocold/cmd/root.go b/protocol/cmd/dydxprotocold/cmd/root.go index 6a2d71649b..dd3036bdfa 100644 --- a/protocol/cmd/dydxprotocold/cmd/root.go +++ b/protocol/cmd/dydxprotocold/cmd/root.go @@ -2,7 +2,6 @@ package cmd import ( "errors" - "fmt" "io" "os" "path/filepath" @@ -68,17 +67,12 @@ func NewRootCmd( option *RootCmdOption, homeDir string, ) *cobra.Command { - logger := log.NewLogger(os.Stdout) return NewRootCmdWithInterceptors( option, homeDir, func(serverCtxPtr *server.Context) { // Provide an override for `timeout_propose`. This value should be consistent across the network // for synchrony, and should never be tweaked by individual validators in practice. - logger.Info(fmt.Sprintf( - "Overriding [consensus.timeout_propose] from %v to software constant: %v", - serverCtxPtr.Config.Consensus.TimeoutPropose, - TimeoutProposeOverride)) serverCtxPtr.Config.Consensus.TimeoutPropose = TimeoutProposeOverride }, func(s string, appConfig *DydxAppConfig) (string, *DydxAppConfig) {