rpc panic when query state against future block heights #11220
Closed
Description
opened on Feb 18, 2022
Summary of Bug
- RPC panic when query state against future block heights
Version
release/0.45.x
Steps to Reproduce
- start devnet
- do a rest API query with a block height in the future:
$ curl -X 'GET' \
'http://localhost:26654/cosmos/bank/v1beta1/params' \
-H 'accept: application/json' -H "x-cosmos-block-height: 279256"
{
"code": 2,
"message": "panic message redacted to hide potentially sensitive system info: panic",
"details": [
]
}
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Metadata
Assignees
Labels
No labels
Activity