Skip to content

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Oct 15, 2025

Purpose:

The test for validate_finished_block_header() will need to be extended to run for hard-fork 3.0 consensus mode, and to cover PoS 2. This is a small step in simplifying it, preparing to extend it in the future.

Many lines are de-indented by this change, so reviewing commits one at a time and ignoring white space is recommended.

@arvidn arvidn requested a review from a team as a code owner October 15, 2025 09:22
@arvidn arvidn requested a review from AmineKhaldi October 15, 2025 09:22
@arvidn arvidn closed this Oct 16, 2025
@arvidn arvidn reopened this Oct 16, 2025
@arvidn arvidn added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Tests Changes to tests labels Oct 16, 2025
Copy link

Pull Request Test Coverage Report for Build 18566257410

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 46 of 46 (100.0%) changed or added relevant lines in 1 file are covered.
  • 35 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.01%) to 90.812%

Files with Coverage Reduction New Missed Lines %
chia/server/server.py 3 84.96%
chia/_tests/util/full_sync.py 3 88.14%
chia/server/address_manager.py 9 92.58%
chia/server/node_discovery.py 20 78.53%
Totals Coverage Status
Change from base Build 18544726493: -0.01%
Covered Lines: 102239
Relevant Lines: 112426

💛 - Coveralls

@arvidn arvidn requested a review from wjblanke October 16, 2025 22:29
Copy link
Contributor

@wjblanke wjblanke left a comment

Choose a reason for hiding this comment

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

aok

@arvidn arvidn added the ready_to_merge Submitter and reviewers think this is ready label Oct 17, 2025
@pmaslana pmaslana merged commit 67a047e into main Oct 17, 2025
648 of 973 checks passed
@pmaslana pmaslana deleted the test-block-header-validation branch October 17, 2025 13: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 ready_to_merge Submitter and reviewers think this is ready Tests Changes to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants