From d0f4feec7d1edf62ce53ad6f841e89e058682639 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Wed, 30 Mar 2022 14:51:32 -0400 Subject: [PATCH] add github link to issue for removing deprecated fields --- config/config.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/config.go b/config/config.go index a5287fc11..2b7f715ba 100644 --- a/config/config.go +++ b/config/config.go @@ -1004,6 +1004,11 @@ type ConsensusConfig struct { // as soon as the node has gathered votes from all of the validators on the network. UnsafeBypassCommitTimeoutOverride *bool `mapstructure:"unsafe-bypass-commit-timeout-override"` + // Deprecated timeout parameters. These parameters are present in this struct + // so that they can be parsed so that validation can check if they have erroneously + // been included and provide a helpful error message. + // These fields should be completely removed in v0.37. + // See: https://github.com/tendermint/tendermint/issues/8188 DeprecatedTimeoutPropose *interface{} `mapstructure:"timeout-propose"` DeprecatedTimeoutProposeDelta *interface{} `mapstructure:"timeout-propose-delta"` DeprecatedTimeoutPrevote *interface{} `mapstructure:"timeout-prevote"`