• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Chia-Network / chia-blockchain / 40360634422
91%

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 06:03PM UTC
Jobs 1
Files 946
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Oct 2026 04:35PM UTC coverage: 90.33% (-0.05%) from 90.38%
40360634422

push

github

web-flow
[CHIA-4449] Honor consensus constants for V2 plot filters (#21565)

## summary

fixes [CHIA-4449](https://chia-network.atlassian.net/browse/CHIA-4449).

- use `ConsensusConstants.PLOT_FILTER_V2_RELATIVE_HEIGHT` instead of the
duplicated Python schedule, so configured V2 filter reductions take
effect.
- use `FILTER_WINDOW_SIZE` and `MAX_EFFECTIVE_PLOT_FILTER_BITS` from
consensus constants across proof validation, harvesting, simulator
filtering, and challenge selection. iteration compensation consumes the
same configured cap.
- remove obsolete Python constants and add schedule-boundary regression
coverage. default behavior and height semantics are unchanged.

## verification

- 310 focused tests passed during implementation verification, including
additional local window/cap regression tests that are not included in
the current commits.
- focused Ruff lint/format and mypy checks passed; Ruff reports the
existing removed-rule warning for `RUF076`.
- 50,672 default-equivalence comparisons passed during review.
- full repository suite and live farming were not run.

## scope / rollout

non-default constants must agree across network participants. this
intentionally changes overrides that were previously ignored. no new
configuration validation or compensation math is introduced; zero-sized
windows and caps below the active base remain unsupported.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **High Risk**
> Changes consensus plot-filter math and challenge windowing; mismatched
constants between nodes would fork eligibility, and networks that relied
on ignored overrides will now diverge from prior behavior.
> 
> **Overview**
> V2 plot filter behavior now reads
**`PLOT_FILTER_V2_RELATIVE_HEIGHT`**, **`FILTER_WINDOW_SIZE`**, and
**`MAX_EFFECTIVE_PLOT_FILTER_BITS`** from **`ConsensusConstants`**
instead of hard-coded Python values, so non-default schedules and
window/cap overrides actually apply during validation, harvesting,
simulator filtering, and filter-chal... (continued)

20113 of 25098 branches covered (80.14%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 5 files covered. (100.0%)

54 existing lines in 23 files now uncovered.

118566 of 128427 relevant lines covered (92.32%)

1.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
70.21
-1.25% chia/timelord/timelord.py
7
88.37
-6.4% chia/server/chia_policy.py
3
84.2
-0.14% chia/full_node/full_node.py
3
88.31
-0.78% chia/rpc/rpc_server.py
3
89.19
-6.76% chia/_tests/core/server/test_event_loop.py
3
84.81
-0.39% chia/wallet/wallet_node.py
2
85.94
-0.11% chia/data_layer/data_layer.py
2
93.85
-0.3% chia/data_layer/data_store.py
2
95.38
-0.34% chia/full_node/mempool_manager.py
2
75.19
-0.6% chia/server/node_discovery.py
2
95.76
-0.85% chia/util/db_wrapper.py
2
97.05
-0.66% chia/util/file_keyring.py
2
90.0
-3.33% chia/util/files.py
1
87.1
0.0% chia/cmds/plotnft_funcs.py
1
95.5
-0.5% chia/full_node/block_store.py
1
54.43
-0.61% chia/plotters/bladebit.py
1
84.31
-0.2% chia/seeder/dns_server.py
1
90.03
-0.13% chia/server/ws_connection.py
1
99.37
-0.05% chia/_tests/core/mempool/test_mempool_manager.py
1
93.84
-0.59% chia/_tests/simulation/test_simulation.py
1
96.88
-3.13% chia/_tests/util/test_replace_str_to_bytes.py
1
92.18
-0.05% chia/wallet/wallet_state_manager.py
1
96.61
-3.39% chia/wallet/wallet_user_store.py
Jobs
ID Job ID Ran Files Coverage
1 40360634422.1 26 Oct 2026 06:03PM UTC 1892
90.33
GitHub Action Run
Source Files on build 40360634422
  • Tree
  • List 946
  • Changed 34
  • Source Changed 7
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40360634422
  • 0d53f9f7 on github
  • Prev Build on main (#40196336147)
  • Next Build on main (#40510625170)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc