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

Chia-Network / chia-blockchain / 23917367233
91%

Build:
DEFAULT BRANCH: main
Ran 02 Apr 2026 10:05PM UTC
Jobs 1
Files 902
Run time 3min
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

02 Apr 2026 07:08PM UTC coverage: 91.183% (-0.003%) from 91.186%
23917367233

push

github

web-flow
[SEC-615] Reject malformed weight proof segments with overflow block at index 0 (#20747)

* Reject malformed weight proof segments with overflow block at index 0

Add a bounds check in __validate_pospace before accessing
segment.sub_slots[idx - 1] on the overflow path. When idx == 0,
Python's negative indexing silently reads the last element instead of a
predecessor slot. This mirrors the existing guard in
_get_challenge_block_vdfs and returns None (same pattern as other
validation failures in this function).

* Add test for overflow block at sub-slot index 0 rejection

Exercises the new idx < 1 guard in __validate_pospace to achieve 100%
diff coverage on the defensive bounds check.

10483 of 11671 branches covered (89.82%)

Branch coverage included in aggregate %.

15 of 15 new or added lines in 2 files covered. (100.0%)

68 existing lines in 8 files now uncovered.

106592 of 116725 relevant lines covered (91.32%)

1.83 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.75
-0.07% chia/full_node/full_node_api.py
1
80.9
0.35% chia/server/node_discovery.py
1
86.25
-0.07% chia/wallet/wallet_node.py
2
98.06
-0.65% chia/_tests/core/test_farmer_harvester_rpc.py
2
71.43
0.0% chia/timelord/timelord_launcher.py
5
81.48
-12.96% chia/introducer/introducer_api.py
11
73.18
-1.28% chia/timelord/timelord.py
45
91.62
0.58% chia/server/ws_connection.py
Jobs
ID Job ID Ran Files Coverage
1 23917367233.1 02 Apr 2026 10:05PM UTC 1804
91.18
GitHub Action Run
Source Files on build 23917367233
  • Tree
  • List 902
  • Changed 13
  • Source Changed 4
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23917367233
  • 2fcaf452 on github
  • Prev Build on main (#23907379908)
  • Next Build on main (#23922860965)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc