gaia icon indicating copy to clipboard operation
gaia copied to clipboard

Unable to use REST Server after upgrading to v15

Open 45988611 opened this issue 1 year ago • 2 comments

curl http://127.0.0.1:1317/blocks/latest

{"code":12,"message":"Not Implemented","details":[]}

45988611 avatar Feb 19 '24 06:02 45988611

Thank you for pointing it out.

The endpoint has moved to <addr:port>/cosmos/base/tendermint/v1beta1/blocks/latest when using cosmos-sdk v0.47.

Please try using curl 127.0.0.1:1317/cosmos/base/tendermint/v1beta1/blocks/latest - this endpoint will return a slightly different result.

If you require the old behavior switch to using the cometBFT api (default port 26658) curl localhost:26658/block

MSalopek avatar Feb 20 '24 11:02 MSalopek

Hi @45988611 does this address your concern?

mmulji-ic avatar Feb 29 '24 12:02 mmulji-ic

Closing as completed since the answer is given in this comment:

  • https://github.com/cosmos/gaia/issues/2951#issuecomment-1953977875

MSalopek avatar Apr 11 '24 09:04 MSalopek