From 3cececf46cff314bd4841ae9e7b0201ca89113e7 Mon Sep 17 00:00:00 2001 From: Teddy Ding Date: Tue, 9 Jul 2024 22:38:01 -0400 Subject: [PATCH] Remove info log for `TimeoutPropose` override (#1881) --- 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 ec931e050f..876f5c13fa 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) {