Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET /blocks/latest fails on stargate-6 #502

Closed
4 tasks
gagbo opened this issue Dec 18, 2020 · 0 comments · Fixed by cosmos/cosmos-sdk#8221
Closed
4 tasks

GET /blocks/latest fails on stargate-6 #502

gagbo opened this issue Dec 18, 2020 · 0 comments · Fixed by cosmos/cosmos-sdk#8221

Comments

@gagbo
Copy link

gagbo commented Dec 18, 2020

Summary of Bug

Using the REST API, GET /blocks/latest orrors instead of sending the information of the last block

curl "http://stargate-6:1317/blocks/latest"
{"error":"Unregistered interface types.Evidence"}

Version

curl "http://stargate-6:1317/node_info" | jq
{
  "node_info": {
    "protocol_version": {
      "p2p": "8",
      "block": "11",
      "app": "0"
    },
    "id": "…",
    "listen_addr": "tcp://0.0.0.0:26656",
    "network": "stargate-6",
    "version": "",
    "channels": "402021222330386061",
    "moniker": "…",
    "other": {
      "tx_index": "on",
      "rpc_address": "tcp://0.0.0.0:26657"
    }
  },
  "application_version": {
    "name": "gaia",
    "server_name": "gaiad",
    "version": "stargate-6",
    "commit": "5652138386261bf6886f3887d5c4bc29a41a9de4",
    "build_tags": "netgo ledger,",
    "go": "go version go1.15.1 linux/amd64",
    "build_deps": [
      "github.com/99designs/[email protected]",
      "github.com/ChainSafe/[email protected]",
      "github.com/Workiva/[email protected]",
      "github.com/aristanetworks/[email protected]",
      "github.com/armon/[email protected]",
      "github.com/beorn7/[email protected]",
      "github.com/bgentry/[email protected]",
      "github.com/btcsuite/[email protected]",
      "github.com/btcsuite/[email protected]",
      "github.com/cespare/xxhash/[email protected]",
      "github.com/confio/ics23/[email protected]",
      "github.com/cosmos/[email protected]",
      "github.com/cosmos/[email protected]",
      "github.com/cosmos/[email protected]",
      "github.com/cosmos/[email protected]",
      "github.com/cosmos/[email protected]",
      "github.com/davecgh/[email protected]",
      "github.com/dvsekhvalnov/[email protected]",
      "github.com/enigmampc/[email protected]",
      "github.com/ethereum/[email protected]",
      "github.com/felixge/[email protected]",
      "github.com/fsnotify/[email protected]",
      "github.com/go-kit/[email protected]",
      "github.com/go-logfmt/[email protected]",
      "github.com/godbus/[email protected]",
      "github.com/gogo/[email protected]",
      "github.com/gogo/[email protected] => github.com/regen-network/[email protected]",
      "github.com/golang/[email protected]",
      "github.com/golang/[email protected]",
      "github.com/google/[email protected]",
      "github.com/gorilla/[email protected]",
      "github.com/gorilla/[email protected]",
      "github.com/gorilla/[email protected]",
      "github.com/grpc-ecosystem/[email protected]",
      "github.com/grpc-ecosystem/[email protected]",
      "github.com/gsterjov/[email protected]",
      "github.com/gtank/[email protected]",
      "github.com/gtank/[email protected]",
      "github.com/hashicorp/[email protected]",
      "github.com/hashicorp/[email protected]",
      "github.com/hashicorp/[email protected]",
      "github.com/libp2p/[email protected]",
      "github.com/magiconair/[email protected]",
      "github.com/mattn/[email protected]",
      "github.com/matttproud/[email protected]",
      "github.com/mimoo/[email protected]",
      "github.com/minio/[email protected]",
      "github.com/mitchellh/[email protected]",
      "github.com/mitchellh/[email protected]",
      "github.com/mtibben/[email protected]",
      "github.com/pelletier/[email protected]",
      "github.com/pkg/[email protected]",
      "github.com/prometheus/[email protected]",
      "github.com/prometheus/[email protected]",
      "github.com/prometheus/[email protected]",
      "github.com/prometheus/[email protected]",
      "github.com/rakyll/[email protected]",
      "github.com/rcrowley/[email protected]",
      "github.com/regen-network/[email protected]",
      "github.com/rs/[email protected]",
      "github.com/rs/[email protected]",
      "github.com/spf13/[email protected]",
      "github.com/spf13/[email protected]",
      "github.com/spf13/[email protected]",
      "github.com/spf13/[email protected]",
      "github.com/spf13/[email protected]",
      "github.com/spf13/[email protected]",
      "github.com/subosito/[email protected]",
      "github.com/syndtr/[email protected]",
      "github.com/tendermint/[email protected]",
      "github.com/tendermint/[email protected]",
      "github.com/tendermint/[email protected]",
      "github.com/tendermint/[email protected]",
      "github.com/tendermint/[email protected]",
      "github.com/zondax/[email protected]",
      "golang.org/x/[email protected]",
      "golang.org/x/[email protected]",
      "golang.org/x/[email protected]",
      "golang.org/x/[email protected]",
      "google.golang.org/[email protected]",
      "google.golang.org/[email protected]",
      "google.golang.org/[email protected]",
      "gopkg.in/[email protected]",
      "gopkg.in/[email protected]"
    ]
  }
}

Steps to Reproduce

For sanity I tried another endpoint and it's fine :

 curl "http://stargate-6:1317/cosmos/auth/v1beta1/accounts/cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl" | jq
 {
  "account": {
    "@type": "/cosmos.auth.v1beta1.BaseAccount",
    "address": "cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl",
    "pub_key": null,
    "account_number": "12",
    "sequence": "0"
  }
}

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant