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

feat: SparseStateTrie's BlindedProviderFactory is boxed #13463

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nadtech-hub
Copy link
Contributor

This should close 13307

Copy link
Collaborator

@shekhirin shekhirin left a comment

Choose a reason for hiding this comment

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

Clarified the original issue name, my bad.

What we want to do is to remove Boxes in StateRootTask that were introduced in #13294. The generici in SparseStateTrie can also be removed, but it's less invasive than in the task, so can be done later.

@shekhirin shekhirin added C-debt Refactor of code section that is hard to understand or maintain A-trie Related to Merkle Patricia Trie implementation labels Dec 20, 2024
@nadtech-hub
Copy link
Contributor Author

nadtech-hub commented Dec 20, 2024

@shekhirin
what should I replace removed generics with? There should be specific type in place

Signed-off-by: nadtech-hub <taberlick@gmail.com>
Signed-off-by: nadtech-hub <taberlick@gmail.com>
@nadtech-hub
Copy link
Contributor Author

nadtech-hub commented Dec 26, 2024

@shekhirin I guess I got ur point. I will push changes in a while. Would you create a task for SparseStateTrie? Apparently, It will require much more changes.

@nadtech-hub nadtech-hub force-pushed the nadtech/boxing-provider-factory branch from 65ebec1 to 9056e24 Compare December 26, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trie Related to Merkle Patricia Trie implementation C-debt Refactor of code section that is hard to understand or maintain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use Box<BlindedProviderFactory> in Sparse Trie
2 participants