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: handle relayed V3 transactions in selection #6671

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

andreibancioiu
Copy link
Collaborator

@andreibancioiu andreibancioiu commented Dec 12, 2024

Reasoning behind the pull request

  • Since v1.8.6, mempool tracks (simulated) consumed balances during transactions selection, so that it does not provide not-executable transactions to processing. Now we're adding support for Relayed V3 transactions (so that we don't mistakenly detect not-executable transactions of this kind).

Proposed changes

Testing procedure

  • Standard testing
  • Mempool testing (for regression)
  • Sending relayed transactions of senders with no balance

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

go.mod Outdated
github.com/multiversx/mx-chain-crypto-go v1.2.12
github.com/multiversx/mx-chain-es-indexer-go v1.7.11-0.20241118100151-956a1f23c5c1
github.com/multiversx/mx-chain-logger-go v1.0.15
github.com/multiversx/mx-chain-scenario-go v1.4.4
github.com/multiversx/mx-chain-storage-go v1.0.18
github.com/multiversx/mx-chain-storage-go v1.0.19-0.20241212122833-853f67604809
Copy link
Collaborator

Choose a reason for hiding this comment

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

needs to be updated to latest

@andreibancioiu andreibancioiu marked this pull request as ready for review December 13, 2024 15:04
@sstanculeanu sstanculeanu merged commit bd43050 into feat/relayedv3 Dec 16, 2024
5 checks passed
@sstanculeanu sstanculeanu deleted the MX-16294-mempool-selection-relayed branch December 16, 2024 08:01
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