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

Cache revert reasons by transaction and block hash #15

Merged
merged 1 commit into from
Aug 13, 2021

Conversation

AusIV
Copy link
Collaborator

@AusIV AusIV commented Aug 12, 2021

Hypothetically, if a transaction reverted in one version of a block
and succeeded in reorged versions of the block, the successful transaction
could show up with the revert reason. Caching on both the block hash
and transaction hash prevents this.

Hypothetically, if a transaction reverted in one version of a block
and succeeded in reorged versions of the block, the successful transaction
could show up with the revert reason. Caching on both the block hash
and transaction hash prevents this.
@alexcampbelling alexcampbelling merged commit ea2e280 into mempool-feed Aug 13, 2021
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

Successfully merging this pull request may close these issues.

2 participants