Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Rename Transitive snowman to Engine snowman #3244

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

yacovm
Copy link
Contributor

@yacovm yacovm commented Jul 29, 2024

Why this should be merged

In the package snow/engine/snowman, the engine is called Transitive, and resides in transitive.go. while in the package snow/engine/avalanche it's respectively Engine and engine.go.

Moreover, in the tests of snow/engine/snowman/, the bespoken object is referred to as engine.

I therefore rename the transitive to engine to better fit the rest of the code.

How this works

Just a file and struct renaming

How this was tested

If the unit tests pass, this should be good to go.

In the package snow/engine/snowman, the engine is called Transitive, and resides in transitive.go.
while in the package snow/engine/avalanche it's respectively Engine and engine.go.

Moreover, in the tests of snow/engine/snowman/, the bespoken object is referred to as engine.

I therefore rename the transitive to engine to better fit the rest of the code.

Signed-off-by: Yacov Manevich <yacov.manevich@avalabs.org>
@StephenButtolph StephenButtolph added this to the v1.11.11 milestone Jul 29, 2024
@StephenButtolph StephenButtolph added the cleanup Code quality improvement label Jul 29, 2024
Copy link
Collaborator

@aaronbuchwald aaronbuchwald left a comment

Choose a reason for hiding this comment

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

Huge

@aaronbuchwald aaronbuchwald merged commit a0f7e42 into ava-labs:master Jul 29, 2024
20 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cleanup Code quality improvement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants