Skip to content

[Bug(CLI)]: query block can no longer be used to get the most recent block #21081

@SpicyLemon

Description

@SpicyLemon

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

$ simd query block
Error: accepts 1 arg(s), received 0
...

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 to hash, which was a breaking change.

Cosmos SDK Version

v0.50.7

How to reproduce?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🥳 Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions