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

Chia-Network / chia-blockchain / 37792250256
90%

Build:
DEFAULT BRANCH: main
Ran 08 Oct 2026 04:16PM UTC
Jobs 1
Files 940
Run time 4min
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

08 Oct 2026 02:24PM UTC coverage: 90.292% (-0.009%) from 90.301%
37792250256

push

github

web-flow
[CHIA-4440] override list (#21478)

### Purpose:

extend unit test to ensure `replace_str_to_bytes()` supports lists (like
`PLOT_FILTER_V2_RELATIVE_HEIGHT`).

This ensures overrides works for the v2 plot filter adjustment heights:

```
  network_overrides:
    constants:
      testnet11:
        PLOT_FILTER_V2_RELATIVE_HEIGHT:
          - 1000
          - 2000
          - 3000
          - 4000
          - 5000
          - 6000
          - 7000
          - 8000
          - 9000
```

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Test-only change; no runtime or config behavior is modified.
> 
> **Overview**
> Adds unit tests for **`replace_str_to_bytes`** when overriding
**`PLOT_FILTER_V2_RELATIVE_HEIGHT`** with a list of plain Python ints
(as loaded from `config.yaml` `network_overrides`). One test asserts the
override matches `ConsensusConstants.replace()` with `uint32` elements
and preserves the int values; the other asserts a list of the wrong
length raises **`ValueError`** with *expected a sequence of length 9*.
> 
> This locks in behavior needed for per-network v2 plot filter height
overrides (e.g. testnet11) without changing production code in this PR.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
4fbd085a8. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

19979 of 24940 branches covered (80.11%)

Branch coverage included in aggregate %.

8 of 8 new or added lines in 1 file covered. (100.0%)

23 existing lines in 8 files now uncovered.

117507 of 127328 relevant lines covered (92.29%)

1.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
76.53
0.3% chia/server/node_discovery.py
3
80.15
-0.59% chia/server/server.py
3
70.03
-0.27% chia/timelord/timelord.py
3
84.7
-0.22% chia/wallet/wallet_node.py
2
86.05
-0.32% chia/data_layer/data_layer.py
2
84.33
0.11% chia/full_node/full_node.py
2
67.74
-1.94% chia/timelord/timelord_launcher.py
1
93.84
0.0% chia/_tests/simulation/test_simulation.py
Jobs
ID Job ID Ran Files Coverage
1 37792250256.1 08 Oct 2026 04:16PM UTC 1880
90.29
GitHub Action Run
Source Files on build 37792250256
  • Tree
  • List 940
  • Changed 12
  • Source Changed 1
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37792250256
  • 897badd0 on github
  • Prev Build on main (#37751873439)
  • Next Build on main (#37848766957)
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