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

Rename instant_finality_extension to finality_extension #364

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Jul 12, 2024

Resolves #353

@heifner heifner changed the title Renamed instant_finality_extension to finality_extension Rename instant_finality_extension to finality_extension Jul 12, 2024
@heifner heifner added the OCI Work exclusive to OCI team label Jul 12, 2024
@@ -183,7 +183,7 @@ void evaluate_finalizer_policies_for_promotion(const block_header_state& prev,
void finish_next(const block_header_state& prev,
block_header_state& next_header_state,
vector<digest_type> new_protocol_feature_activations,
instant_finality_extension if_ext,
finality_extension if_ext,
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should stop using if_ext, using fin_ext or f_int instead.

Copy link
Contributor

Choose a reason for hiding this comment

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

Personally, I'd prefer avoiding such naming changes, I don't find if_ext objectionable, but I guess opinions may vary.

@heifner heifner merged commit 17d9980 into main Jul 15, 2024
36 checks passed
@heifner heifner deleted the GH-353-finality-name branch July 15, 2024 14:13
@ericpassmore
Copy link
Contributor

Note:start
group: CLEANCODE
category: INTERNALS
summary: Rename extension to finality_extension.
Note: end

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

Successfully merging this pull request may close these issues.

Clean up instant finality names
4 participants