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

[Malleability] Update BackData to use generic arguments instead of flow.Identifier and flow.Entity #7089

Open
wants to merge 7 commits into
base: 6646-mempool-refactoring
Choose a base branch
from

Conversation

AndriiDiachuk
Copy link
Contributor

@AndriiDiachuk AndriiDiachuk commented Feb 24, 2025

Context:

This PR refactors the existing BackData interface to separate it from using flow.Identifier and flow.Entity by introducing generics. Also changes from #7088 were taken to have already separated interfaces. The interfaces now use generic type parameters:

  • Key (K) is constrained with comparable, ensuring that it supports equality checks.
  • Value (V) is defined as any, allowing flexibility.

It is part of the broader refactoring effort referenced in EPIC #6646.

closes: #7070

@AndriiDiachuk AndriiDiachuk marked this pull request as ready for review February 24, 2025 17:13
@AndriiDiachuk AndriiDiachuk requested a review from a team as a code owner February 24, 2025 17:13
@AndriiDiachuk AndriiDiachuk self-assigned this Feb 25, 2025
@AndriiDiachuk AndriiDiachuk changed the base branch from 6646-mempool-refactoring to UlianaAndrukhiv/7078-split-BackData-interface February 26, 2025 12:27
Base automatically changed from UlianaAndrukhiv/7078-split-BackData-interface to 6646-mempool-refactoring February 28, 2025 09:48
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.

1 participant