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

remove soft-fork 4 special cases #18407

Merged
merged 1 commit into from
Aug 13, 2024
Merged

remove soft-fork 4 special cases #18407

merged 1 commit into from
Aug 13, 2024

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Aug 6, 2024

now that soft-fork 4 has activated, we can enable all its features by default and remove the activation height and tests

Purpose:

Simplify the code and run fewer tests by removing the soft-fork 4 logic. Since it has activated, we can now enable it for all block heights, removing test cases and special cases in the main consensus logic.

Current Behavior:

The consensus rules are different below and above the soft-fork 4 activation height.
pytest runs 8888 tests.

New Behavior:

The consensus rules (related to soft fork 4) are the same at all block heights.
pytest runs 5789 tests.

Testing Notes:

sync test is running here:

@arvidn arvidn added the Changed Required label for PR that categorizes merge commit message as "Changed" for changelog label Aug 6, 2024
@arvidn arvidn marked this pull request as ready for review August 7, 2024 04:53
@arvidn arvidn requested a review from a team as a code owner August 7, 2024 04:53
@github-actions github-actions bot added the merge_conflict Branch has conflicts that prevent merge to main label Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

… default and remove the activation height and tests
@github-actions github-actions bot removed the merge_conflict Branch has conflicts that prevent merge to main label Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

Conflicts have been resolved. A maintainer will review the pull request shortly.

@arvidn arvidn requested a review from matt-o-how August 12, 2024 14:18
@arvidn arvidn requested a review from emlowe August 12, 2024 14:52
@Starttoaster Starttoaster merged commit 6aa8c78 into main Aug 13, 2024
374 checks passed
@Starttoaster Starttoaster deleted the soft-fork4-activated branch August 13, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants