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

Add features for guarding code based on the P23. #1863

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Conversation

fnando
Copy link
Member

@fnando fnando commented Jan 30, 2025

What

Add features for guarding code based on the P23.

Why

The idea is to allow adding/removing code without having to keep a long running branch for either the current or next version.

This approach also allow us to easily enable features from the next protocol version when running tests, but using cargo hack.

Known limitations

N/A

@fnando fnando self-assigned this Jan 30, 2025
@fnando fnando added the enhancement New feature or request label Jan 30, 2025
@fnando fnando enabled auto-merge (squash) January 30, 2025 22:46
Copy link
Contributor

@elizabethengelman elizabethengelman left a comment

Choose a reason for hiding this comment

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

This looks great! I'll update #1861 to use the version_lt_23 feature

@fnando fnando merged commit c6b8b3a into main Feb 3, 2025
25 checks passed
@fnando fnando deleted the version-guarding branch February 3, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants