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
+8 -8
View File
@@ -1,18 +1,12 @@
package version
var TMCoreSemVer = TMVersionDefault
const (
// TMVersionDefault is the used as the fallback version of Tendermint Core
// when not using git describe. It is formatted with semantic versioning.
TMVersionDefault = "0.38.0-dev"
TMCoreSemVer = "0.38.0-dev"
// ABCISemVer is the semantic version of the ABCI protocol
ABCISemVer = "1.0.0"
ABCISemVer = "1.0.0"
ABCIVersion = ABCISemVer
)
var (
// P2PProtocol versions all p2p behavior and msgs.
// This includes proposer selection.
P2PProtocol uint64 = 8
@@ -21,3 +15,9 @@ var (
// This includes validity of blocks and state updates.
BlockProtocol uint64 = 11
)
var (
// TMGitCommitHash uses git rev-parse HEAD to find commit hash which is helpful
// for the engineering team when working with the tendermint binary. See Makefile
TMGitCommitHash = ""
)