Skip to content

Check tx status if it's already in cache while broadcasting #2268

Closed

Description

@shumkov

To mitigate #2261 we need to figure out the status of ST in case we get the "already in cache" error from Tenderdash.
To do so we need to check either ST in mempool (using dashpay/tenderdash#963) or in blockchain (/tx RPC call) or pass it to CheckTx (considering it's invalid) and return validation errors to the client. There might be a case when CheckTx will pass. It's a buggy condition meaning there is inconsistency between CheckTx and block processing logic or some issue in tenderdash. We should log such errors and return the internal error to the client.

Activity

  1. added
    enhancement
    on Oct 22, 2024
  2. self-assigned this
    on Oct 22, 2024
  3. moved this to In Progress in Platform teamon Oct 22, 2024
  4. moved this from In review / testing to Done in Platform teamon Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions