config: use a different source of versioning (#9486)

This commit is contained in:
Callum Waters
2022-10-04 15:01:32 +02:00
committed by GitHub
parent 5c23ffb05b
commit a02cc30e41
6 changed files with 22 additions and 21 deletions

View File

@@ -335,8 +335,10 @@ func logNodeStartupInfo(state sm.State, pubKey crypto.PubKey, logger, consensusL
// Log the version info.
logger.Info("Version info",
"tendermint_version", version.TMCoreSemVer,
"abci", version.ABCISemVer,
"block", version.BlockProtocol,
"p2p", version.P2PProtocol,
"commit_hash", version.TMGitCommitHash,
)
// If the state and software differ in block version, at least log it.