Skip to content

Feat - Mempool Supernova Part Two#7329

Merged
danielradu10 merged 134 commits into
rc/supernovafrom
feat/mempool-supernova-part2
Oct 23, 2025
Merged

Feat - Mempool Supernova Part Two#7329
danielradu10 merged 134 commits into
rc/supernovafrom
feat/mempool-supernova-part2

Conversation

@danielradu10

@danielradu10 danielradu10 commented Oct 9, 2025

Copy link
Copy Markdown
Contributor

Reasoning behind the pull request

  • In Supernova, we create a virtual record for an account by considering each tracked block - this means that we have to recreate the chain of tracked blocks when we do a selection or when we want to search if a transaction is still tracked. This feat introduces a new way of keeping the breadcrumbs of each account already compiled, which improves:
  • how we create the virtual records
  • how we immunize the tracked transactions.

Proposed changes

  • PRs: Supernova TxPool Part2
  • global breadcrumbs compiler, which keeps each breadcrumb of an account ready to be transformed into a virtual record
  • modified the deriveVirtualSelectionSession
  • tracked transactions immunization, checks in case of eviction
  • tracker reset mechanism
  • other improvements, checks, unit tests and integration tests.

Testing procedure

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?

danielradu10 and others added 30 commits September 24, 2025 13:22
# Conflicts:
#	txcache/selectionTracker.go
Supernova TxPool Part2: Optimize the check for a tracked transaction
# Conflicts:
#	txcache/interface.go
#	txcache/txByHashMap.go
Supernova TxPool Part2: Check if a transaction is still tracked
Supernova TxPool Part2: Check Tracked Txs Fixes
Supernova TxPool Part2: Added global account breadcrumb
@github-actions

Copy link
Copy Markdown

Integration Tests completed with failures or errors.

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 99ac8c4e1b6a3405f7a274ffc046c70fbd2aa0bf
  • Current Branch: feat/mempool-supernova-part2
  • mx-chain-go Target Branch: rc/supernova
  • mx-chain-simulator-go Target Branch: rc/supernova
  • mx-chain-testing-suite Target Branch: rc/supernova
  • mx-chain-simulator-go Commit Hash: 6eb2769b5e919b7729ae46c74011debf82ddd962

🚀 Environment Variables:

  • TIMESTAMP: 2025_OCTOBER_20__14_15_19
  • PYTEST_EXIT_CODE: 1

sstanculeanu
sstanculeanu previously approved these changes Oct 22, 2025
mradian1
mradian1 previously approved these changes Oct 22, 2025
@ssd04 ssd04 dismissed stale reviews from mradian1 and sstanculeanu via 12f0436 October 22, 2025 12:22
@danielradu10 danielradu10 merged commit f9f075e into rc/supernova Oct 23, 2025
10 of 12 checks passed
@danielradu10 danielradu10 deleted the feat/mempool-supernova-part2 branch October 23, 2025 12:40
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.

6 participants