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

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

Open
1 of 27 tasks
Unique-Divine opened this issue Jul 7, 2023 · 0 comments
Open
1 of 27 tasks
Labels
epic Large task that is a parent to several issues/tasks rpc endpoint type: enhancement New feature or request

Comments

@Unique-Divine
Copy link
Member

Unique-Divine commented Jul 7, 2023

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

@Unique-Divine Unique-Divine added type: enhancement New feature or request epic Large task that is a parent to several issues/tasks rpc endpoint labels Jul 7, 2023
@Unique-Divine Unique-Divine moved this to 💭 Planning/Inactive 🕑 in ⚛️ Nibiru (Hougyoku) Jul 8, 2023
@Unique-Divine Unique-Divine moved this from 💭 Planning/Inactive 🕑 to ⚡ In Progress 🧱 in ⚛️ Nibiru (Hougyoku) Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Large task that is a parent to several issues/tasks rpc endpoint type: enhancement New feature or request
Projects
Status: ⚡ Building 🧱
Development

No branches or pull requests

1 participant