-
Notifications
You must be signed in to change notification settings - Fork 88
Remove duplicate transaction check from tryAddTxs in mempool #1806
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
Conversation
-- Note that we don't treat this as an error/rejection case. | ||
| implSnapshotHasTx is (txId firstTx) | ||
= return $ go | ||
((firstTx, MempoolTxAdded):acc) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that I originally made a mistake here actually. This should have been MempoolTxAlreadyInMempool
rather than MempoolTxAdded
.
I also need to remove the Done.MempoolTxAlreadyInMempool
constructor of MempoolAddTxResult
as part of this PR since we don't use it.
92f316d
to
4b12297
Compare
Just noting that this PR is waiting on IntersectMBO/cardano-ledger#759 to be resolved. This is because the |
21a711f
to
9432bf2
Compare
Using IntersectMBO/cardano-ledger#766, the tests on this PR run and pass as expected. Once that PR is merged, this should be good to go. |
9432bf2
to
e291414
Compare
IntersectMBO/cardano-ledger#766 has now been merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving but under protest :)
bors r+ |
Closes #1801