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

Chia-Network / chia-blockchain / 40196336147
90%

Build:
DEFAULT BRANCH: main
Ran 25 Oct 2026 03:05PM 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

24 Oct 2026 12:44AM UTC coverage: 90.38% (+0.05%) from 90.326%
40196336147

push

github

web-flow
update create_block_generator RPC to use the right fork settings (#21563)

`get_flags_for_height_and_constants()` tells us which features to enable
based on block height (features are specified by the flags).

<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Low Risk**
> Narrow change to RPC-side simulated block validation flags; does not
alter on-chain consensus paths, but wrong flags could mis-report
validation/cost for the endpoint.
> 
> **Overview**
> The **`/create_block_generator`** RPC still builds a mempool-backed
generator and runs **`run_block_generator2`** to validate it, but
validation no longer passes only **`MEMPOOL_MODE`**.
> 
> It now computes **`flags = MEMPOOL_MODE |
get_flags_for_height_and_constants(curr_l_tb.height,
self.service.constants)`**, using the height of the last transaction
block before the peak so simulated blocks follow the same fork/CLVM
rules as real validation at that tip.
> 
> This imports **`get_flags_for_height_and_constants`** from
**`chia_rs`** for that call.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
5c256b3be. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

20140 of 25098 branches covered (80.25%)

Branch coverage included in aggregate %.

0 of 1 new or added line in 1 file covered. (0.0%)

8 existing lines in 2 files now uncovered.

118613 of 128424 relevant lines covered (92.36%)

1.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
72.54
-0.09% chia/full_node/full_node_rpc_api.py

Coverage Regressions

Lines Coverage ∆ File
7
77.16
-0.89% chia/daemon/server.py
1
84.35
0.35% chia/full_node/full_node.py
Jobs
ID Job ID Ran Files Coverage
1 40196336147.1 25 Oct 2026 03:05PM UTC 1892
90.38
GitHub Action Run
Source Files on build 40196336147
  • Tree
  • List 946
  • Changed 30
  • Source Changed 1
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40196336147
  • c9a75a57 on github
  • Prev Build on main (#40033972967)
  • Next Build on main (#40342116316)
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