Closed
Description
opened on May 28, 2021
Summary
When looking at explorer or building a multichain explorer it would be nice to see what version of the sdk the chain is using.
The number shown will mainly represent the major releases and possibly the patch releases. For example on the hub it would display cosmos_sdk_version: 0.42.x
Proposal
add cosmos_sdk_version to Version_info
// VersionInfo is the type for the GetNodeInfoResponse message.
message VersionInfo {
string name = 1;
string app_name = 2;
string version = 3;
string git_commit = 4;
string build_tags = 5;
string go_version = 6;
repeated Module build_deps = 7;
++ string cosmos_sdk_version = 8;
}
This value would be set through a global or local to a file, string.
Update release procedure to bump the version tag on releases. This is similar to how we do version handling in Tendermint.
The reason this approach is being proposed is, many developers forget to set the ldflag, adding an extra step in our process of doing releases will pay large dividends instead of messaging teams to add the version as an ldflag.
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Activity