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

blockstore: Cleanup redundant constants #4672

Merged
merged 21 commits into from
Jan 28, 2025

Conversation

steviez
Copy link

@steviez steviez commented Jan 28, 2025

Problem

We declare a constant per column family, but the only use of that constant is setting the NAME constant in ColumnName trait. This is needlessly repetitive.

Summary of Changes

Drop the needless intermediate constants

@steviez steviez changed the title blockstore: Cleanup repetitive constants blockstore: Cleanup redundant constants Jan 28, 2025
@steviez steviez requested a review from cpubot January 28, 2025 21:49
Copy link

@cpubot cpubot left a comment

Choose a reason for hiding this comment

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

:shipit:

@steviez steviez merged commit 94841a8 into anza-xyz:master Jan 28, 2025
47 checks passed
@steviez steviez deleted the bstore_rm_duplicate_constants branch January 28, 2025 22:27
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.

2 participants