Summary
The version used by the config file has been changed in main by tendermint/tendermint#9486. It has not been backported to 0.34. It does not make sense to use different ways to derive a version on different branches.
To unify this, we backport the changes done in the PR to 0.34.x.
DoD
[ ] Changes are backported
[ ] Run e2e tests locally
[ ] Run localnet test (make localnet-start) because on the original PR there was a problem when running this due to the way the version was derived. This was fixed with