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(shwap): revert DataRoot -> DataHash #3585

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Conversation

Wondertan
Copy link
Member

@Wondertan Wondertan commented Jul 22, 2024

In #3545, I requested to rename DataHash to DataRoot to match the name of the original name in the Core's RawHeader. However, I realized it is called DataHash in the header, so this PR reverts that change. I think this confusion comes from the fact that we are always referring to this field as DataRoot in our discussions, so it feels like this is the correct phrasing, but it's not.
It actually does not matter how it's called, honestly, and both are correct in some way, but it's good to be consistent in the code and avoid confusion with tautology.

@Wondertan Wondertan added kind:refactor Attached to refactoring PRs shwap labels Jul 22, 2024
@Wondertan Wondertan self-assigned this Jul 22, 2024
@Wondertan Wondertan merged commit d807843 into shwap Jul 22, 2024
25 of 26 checks passed
@Wondertan Wondertan deleted the shwap-datahash branch July 22, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:refactor Attached to refactoring PRs shwap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants