-
Notifications
You must be signed in to change notification settings - Fork 369
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
Transactions on mocha-4 got stuck in the mempool #2454
Labels
bug
Something isn't working
Comments
also, this was using txsim compiled from |
5 tasks
evan-forbes
added a commit
that referenced
this issue
Sep 18, 2023
## Overview I'm not sure if this fixes all of #2454, but it at least fixes one bug similar to it. The fix in this PR allows for the antehandlers that are ran during prepare proposal to have access to a time close to the actual block time. It does this by simply adding `time.Now` to the header used for antehandler state access. ## Checklist - [x] New and updated code has appropriate documentation - [x] New and updated code has new and/or updated testing - [x] Required CI checks are passing - [x] Visual proof for any user facing features like CLI or documentation updates - [x] Linked issues closed with keywords --------- Co-authored-by: Rootul P <[email protected]>
mergify bot
pushed a commit
that referenced
this issue
Sep 18, 2023
## Overview I'm not sure if this fixes all of #2454, but it at least fixes one bug similar to it. The fix in this PR allows for the antehandlers that are ran during prepare proposal to have access to a time close to the actual block time. It does this by simply adding `time.Now` to the header used for antehandler state access. ## Checklist - [x] New and updated code has appropriate documentation - [x] New and updated code has new and/or updated testing - [x] Required CI checks are passing - [x] Visual proof for any user facing features like CLI or documentation updates - [x] Linked issues closed with keywords --------- Co-authored-by: Rootul P <[email protected]> (cherry picked from commit 9617549) # Conflicts: # app/test/fuzz_abci_test.go
closing for now as this doesn't appear to be an issue after the patch to fix #2515 this is still something that we should look out for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When submitting some transaction using txsim, 4 managed to get stuck in the mempool, meaning that they were accepted by
CheckTx
but reject byPrepareProposal
.This should never happen, as malicious parties could fill the mempool with what appear to be valid high value transactions for free.
here are the transactions that got stuck
The text was updated successfully, but these errors were encountered: