Skip to content

v0.37.x: Prevent a transaction to appear twice in the mempool (backport #890) - #926

Merged
otrack merged 2 commits into
v0.37.xfrom
mergify/bp/v0.37.x/pr-890
Jun 7, 2023
Merged

otrack merged 2 commits into
v0.37.xfrom
mergify/bp/v0.37.x/pr-890

Conversation

@mergify

@mergify mergify Bot commented Jun 6, 2023

Copy link
Copy Markdown
Contributor

This is an automatic backport of pull request #890 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* add a test to trigger the issue
* add a fix (in particular, we track the sender when receiving a tx twice)
* add a changelog

---------

Co-authored-by: Daniel <[email protected]>
(cherry picked from commit a09f5d3)
@mergify
mergify Bot requested a review from a team as a code owner June 6, 2023 15:23
@cason cason changed the title Prevent a transaction to appear twice in the mempool (backport #890) v0.37.x: Prevent a transaction to appear twice in the mempool (backport #890) Jun 6, 2023
@cason

cason commented Jun 6, 2023

Copy link
Copy Markdown

The addSender method is not present in this branch, as it was introduced by #894

@sergio-mena sergio-mena left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compared diffs of #890 and #926 (diff of diffs) and everything seems in order to me

@otrack
otrack force-pushed the mergify/bp/v0.37.x/pr-890 branch from f06afbf to 190a88a Compare June 6, 2023 17:24
@otrack
otrack merged commit 587522f into v0.37.x Jun 7, 2023
@otrack
otrack deleted the mergify/bp/v0.37.x/pr-890 branch June 7, 2023 18:16
DongLieu pushed a commit to DongCoNY/cometbft that referenced this pull request May 13, 2024
cometbft#890) (cometbft#926)

* add a test to trigger the issue
* add a fix (in particular, we track the sender when receiving a tx twice)
* add a changelog

---------

Co-authored-by: Daniel <[email protected]>
(cherry picked from commit a09f5d3)

* update fix and test wrt. v0.37.x

---------

Co-authored-by: Pierre Sutra <[email protected]>
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.

3 participants