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

[mempool]: improve tx reverting strategy #594

Open
Mirko-von-Leipzig opened this issue Dec 19, 2024 · 0 comments
Open

[mempool]: improve tx reverting strategy #594

Mirko-von-Leipzig opened this issue Dec 19, 2024 · 0 comments

Comments

@Mirko-von-Leipzig
Copy link
Contributor

Currently all transactions in a failed block are reverted in their entirety. Though blocks should not fail, the likely cause would be a bug in the processing of some transaction(s).

Probably most transactions in the block are fine, and we only need to weed out the couple that are causing issues. Right now our strategy just nukes the entire set.

We could improve this by allowing transactions to be part of failing proofs x number of times before reverting them. e.g. a transaction is only reverted entirely once it has been part of x batch and/or block failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant