-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Bug(CLI)]: query block can no longer be used to get the most recent block #21081
Comments
Related: #14659 |
Hi! The breaking change was mentioned in the changelog: https://github.com/cosmos/cosmos-sdk/pull/14659/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR263. However we can bring back the no argument behavior! |
The breaking entry isn't really helpful. It both says that the command was removed, but that it still exists. And it doesn't mention that the height/hash is now required and that in order to provide a height, you now have to include The |
Also, I just noticed that the hash fields from that command are now base64 encoded rather than hex. Hex is better for those because that's how those hashes are always referred to. The addresses in the results are also base64 encoded which isn't how addresses are ever used. |
We can't do that. That would be breaking in a patch version. |
Is there an existing issue for this?
What happened?
This command used to allow zero args as a way to get the most recent block.
It also used to default to taking in the
height
, but now defaults tohash
, which was a breaking change.Cosmos SDK Version
v0.50.7
How to reproduce?
No response
The text was updated successfully, but these errors were encountered: