Skip to content

Add query support for tx by signature & tx by acc+seq combination #9741

Closed
@clevinson

Description

Summary

It was identified recently in #9723 that there are some ways in which one can generate several valid TxHashes for a given transaction. Because of this we should add explicit query support for querying tx by signature & querying tx by account + sequence combination.

Problem Definition

It is possible to query tx by TxHash and receive no result, even if the transaction was successfully broadcasted to the network. Clients & users should have a method to query for txs with stronger guarantees that if the transaction was successful they can find it.

Proposal

Implement two new query routes (and implement new indices where necessary):

  • simd q tx --signature [SIG_BYTES]
  • sims q tx --account [ACC_NUMBER] --sequence [SEQUENCE]

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions