#224 introduced a breaking change in CometBFT RPC, where optional parameters are no longer accepted. Specifically, this line is responsible for this behavior.
As a result, queries like /block that used to return the latest block when height is not supplied now fail with missing param 'height'. This behavior is implemented in this line of CometBFT.
Until this issue is fixed, I have submitted a PR to hyperlane (hyperlane-xyz/hyperlane-monorepo#4096). Additionally, clients that use cosmjs to get the latest block will also be affected.
I'm confident that there are other clients that rely on this behavior from CometBFT, and I urge you to fix this issue.
#224 introduced a breaking change in CometBFT RPC, where optional parameters are no longer accepted. Specifically, this line is responsible for this behavior.
As a result, queries like
/blockthat used to return the latest block whenheightis not supplied now fail withmissing param 'height'. This behavior is implemented in this line of CometBFT.Until this issue is fixed, I have submitted a PR to hyperlane (hyperlane-xyz/hyperlane-monorepo#4096). Additionally, clients that use cosmjs to get the latest block will also be affected.
I'm confident that there are other clients that rely on this behavior from CometBFT, and I urge you to fix this issue.