-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression rc2 -> rc3: simapp is missing the Tendermint version in RPC API #7963
Comments
tendermint migrated to getting the version from git describe at build time. I believe this will need to be added to the sdk as well:
|
@marbar3778 Thanks for looking into this. But woudn't |
oh sorry I just copied from the Tendermint makefile. The app can set a string there as well. |
The calling app should set the version string for a dependency? How can this be maintainable? Shouldn't the dependendency expose this information? |
This is one way but agree it's a bit cumbersome. |
I see. Every other project depending on Tendermint has this problem then. I assume the original motivation was to move the version out of the Tendermint source code into a meta space, right? Typical problem of libs. No idea how to best achieve this in Go. |
This has been added to gaia. Documentation on doing is located here https://docs.tendermint.com/master/tendermint-core/rpc.html |
After migrating from simapp
v0.40.0-rc2
tov0.40.0-rc3
, the Tendermint version field is empty.interchainio/simapp:v0.40.0-rc2
:interchainio/simapp:v0.40.0-rc3
:When doing the same against a
tendermint/tendermint:v0.34.0-rc6
backend, we at least get the commit hash:Tendermint images returned a version number up to approximately v0.34.0-rc5. I don't know why and how this change to a commit hash. This is not convenient to work with from a client, but at least we can work around this by mapping commit hashes to versions.
The text was updated successfully, but these errors were encountered: