Skip to content

epic: feat: Make it possible to broadcast transactions with RPC instead of GRPC #242

@Unique-Divine

Description

@Unique-Divine

Currently, the Transaction type parses protobuf messages and gets the raw tx bytes needed to broadcast transactions over gRPC. The Cosmos-SDK v0.47 upgrade seems to have large breaking behavior for gRPC, thus it may be wise for us to add a tx broadcasting client for JSON RPC.

This would be similar to the one used by the Tendermint34Client and SigningStargateClient in cosmjs.

Full List of RPC Methods

Goal: Implement and test each RPC method from Tendermint v0.37

Tx - transaction broadcast APi

These broadcasting RPC methods are the top priority because most of the other queries have a corresponding GRPC query that works on Nibiru v0.21

  • "broadcast_tx_sync"
  • "broadcast_tx_async"
  • "broadcast_tx_commit"
  • "check_tx"

ABCI - [A]pplication [B]lock[C]hain [I]nterface

  • "abci_info"
  • "abci_query"

Node Info

  • "block"
  • "block_by_hash"
  • "block_results"
  • "block_search"
  • "blockchain"
  • "broadcast_evidence"
  • "commit"
  • "consensus_params"
  • "consensus_state"
  • "dump_consensus_state"
  • "genesis"
  • "header"
  • "header_by_hash"
  • "health"
  • "net_info"
  • "num_unconfirmed_txs"
  • "status"
  • "tx"
  • "tx_search"
  • "unconfirmed_txs"
  • "validators"

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicLarge task that is a parent to several issues/tasksrpc endpointtype: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions