Skip to content

Figure out how to deal with transaction where the tx hooks fail #217

Closed

Description

@rpanic

Currently, if a transaction is included in a block but one of the transaction hooks fails, we skip the transaction in that block, but it won't get removed from the mempool. This leads to the transaction being applied (and failing) again and again, for some users that is unwanted behaviour.

We need to figure out how to deal with that, especially also in the context that transaction might become valid in the future. For example, the nonce might be too large for a particular account, but if another transaction with the right nonce comes along, the transaction might become valid again.
For this case, we might keep them in the mempool for the future, but we need to distinguish them from transactions that will never be valid, or ones that we want to throw out regardless.

Activity

  1. self-assigned this
    on Mar 4, 2025
  2. moved this from Backlog to In Progress in Main Boardon Mar 4, 2025
  3. moved this from In Progress to Todo in Main Boardon Mar 4, 2025
  4. moved this from Todo to In Progress in Main Boardon Mar 11, 2025
  5. linked a pull request that will close this issueSolution to Failed TX Hooks #294on Mar 11, 2025
  6. moved this from In Progress to In Review in Main Boardon Mar 11, 2025
  7. moved this from In Review to In Progress in Main Boardon Mar 11, 2025
  8. assigned and unassigned on Nov 7, 2025
  9. moved this from In Progress to In Review in Main Boardon Nov 13, 2025
  10. moved this from In Review to Done in Main Boardon Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions