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

[Enhancement]: Refactor block tree and header repo #2255

Closed
kamilsa opened this issue Oct 31, 2024 · 0 comments · Fixed by #2286
Closed

[Enhancement]: Refactor block tree and header repo #2255

kamilsa opened this issue Oct 31, 2024 · 0 comments · Fixed by #2286
Assignees
Labels

Comments

@kamilsa
Copy link
Contributor

kamilsa commented Oct 31, 2024

Description

We have intersecting set of methods in BlockTree and BlockHeaderRepository. It is proposed to make BlockTree a child class of BlockHeaderRepository

Motivation

Get rid of dublicate code and messy logic in some places, where we use both BlockTree and BlockHeaderRepository classes

Additional context

No response

Are you planning to do it yourself in a pull request ?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants