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

Chia-Network / chia-blockchain / 40342116316
90%

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 04:45PM 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.402% (+0.08%) from 90.326%
40342116316

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 -->

20147 of 25098 branches covered (80.27%)

Branch coverage included in aggregate %.

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

9 existing lines in 3 files now uncovered.

118640 of 128424 relevant lines covered (92.38%)

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.52
0.53% chia/full_node/full_node.py
1
84.98
-0.06% chia/wallet/wallet_node.py
Jobs
ID Job ID Ran Files Coverage
1 40342116316.1 26 Oct 2026 04:45PM UTC 1892
90.4
GitHub Action Run
Source Files on build 40342116316
  • Tree
  • List 946
  • Changed 27
  • Source Changed 1
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40342116316
  • c9a75a57 on github
  • Prev Build on main (#40033972967)
  • Next Build on main (#40360634422)
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