Skip to content

rpc panic when query state against future block heights #11220

Closed
@yihuang

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions