cosmos-sdk: [Bug]: reading github.com/cosmos/cosmos-sdk/go.mod at revision v0.51.0: unknown revision v0.51.0
Is there an existing issue for this?
- I have searched the existing issues
What happened?
While I do go mod tidy in the end I see error message as a title of this issue.
I used github.com/cosmos/cosmos-sdk v0.47.4 in my root go.mod.
I was looked to https://github.com/cosmos/cosmos-sdk/blob/f2f47ffd43428887b2a2680b074020e6ac112512/simapp/go.mod#L24-L25 and I see the using github.com/cosmos/cosmos-sdk v0.51.0.
But when I see to https://github.com/cosmos/cosmos-sdk/releases, version v0.51.0 absence in the release list.
What is it? Future? What is sense of it? How to fix bug (that in the title of this issue)?
Thank you!
Cosmos SDK Version
0.47.5
How to reproduce?
Just look this repo, that opened default version is 0.47.5 (for now).
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (9 by maintainers)
It explained in your snippet why it is working -> https://github.com/cosmos/cosmos-sdk/blob/912c742/simapp/go.mod#L24-L25 Have a look here: https://github.com/cosmos/cosmos-sdk/blob/912c742/simapp/go.mod#L223-L224
Go then does not look at the tag, but simply use the replaced version. Using this trick allows us to display on simapp that simapp on main correspond to a future version:
If you wish to run simapp from main (development version of the SDK) you can check out main and do
make install. If you wish to run simapp based on a specific SDK version, checkout the corresponding tag or release branch and runmake install. You’ll see that simapp is then using the proper version (e.g. https://github.com/cosmos/cosmos-sdk/tree/release/v0.47.x)Thanks for opening this issue. It was set to 0.51 to avoid some conflicts but its causing some confusion, even with myself, we will adjust it