chore: fix TimeoutCommit confusion (#24853)

This commit is contained in:
Alex | Interchain Labs
2025-06-09 15:53:34 +00:00
committed by GitHub
parent 24dd6d5b5f
commit bf46b77b92
17 changed files with 59 additions and 52 deletions
+1
View File
@@ -381,6 +381,7 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) {
ctx := server.NewDefaultContext()
cmtCfg := ctx.Config
cmtCfg.Consensus.TimeoutCommit = cfg.TimeoutCommit // nolint: staticcheck // we are continuing to use this value for backwards compatibility
// Only allow the first validator to expose an RPC, API and gRPC
// server/client due to CometBFT in-process constraints.