Skip to content

rpc: genesis endpoint #6354

@tac0turtle

Description

@tac0turtle

Tendermint version (use tendermint version or git rev-parse --verify HEAD if installed from source): Present on master.

ABCI app (name for built-in, URL for self-written if it's publicly available): Cosmos-sdk

Environment:

  • OS (e.g. from /etc/os-release):
  • Install tools:
  • Others:

What happened:

When querying the Tendermint RPC I was not able to receive the entire genesis due to the network request timing out.

What you expected to happen:

Receive the entire genesis file

Have you tried the latest version: yes

How to reproduce it (as minimally and precisely as possible):

Visit https://rpc.cosmos.network/genesis?

Proposed solution

Introduce a new endpoint genesis_chunk which can be used to receive a specific chunk. The total amount of chunks will be sent within the response as well.

The response will be:

{
  "chunk": 1,
  "total": 15,
  "data: <base64-blob>
}

Metadata

Metadata

Assignees

Labels

C:rpcComponent: JSON RPC, gRPCT:bugType Bug (Confirmed)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions