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

refactor: use constructor functions #13255

Merged

Conversation

faheelsattar
Copy link
Contributor

Closes #13247

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

ty,

I'd like to limit these to one specific change at a time

crates/engine/tree/src/tree/mod.rs Outdated Show resolved Hide resolved
crates/consensus/beacon/src/engine/mod.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

great! ty

next step is making the fields private and adding getters and functions that consume the individual fields so we can avoid clones

@mattsse mattsse added this pull request to the merge queue Dec 11, 2024
Merged via the queue into paradigmxyz:main with commit 6b7bf2a Dec 11, 2024
42 checks passed
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.

Always use constructor functions for block types
2 participants