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

Chia-Network / chia_rs / 37513087362
83%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 06:46PM UTC
Jobs 3
Files 142
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

06 Oct 2026 06:40PM UTC coverage: 82.544% (+0.1%) from 82.429%
37513087362

push

github

web-flow
Drop the quote wrapper for INTERNED_GENERATOR (#1522)

* Drop quote wrapper and skip execution for INTERNED_GENERATOR

- build_generator() takes a quote: bool param; when false, emits the
  unquoted spend list ((parent puzzle amount solution) ...) instead of
  (q . (...)). solution_generator_2026() uses quote: false.
- run_block_generator2, get_coinspends_for_trusted_block,
  get_coinspends_with_conditions_for_trusted_block, and
  additions_and_removals skip run_program/check_generator_quote/
  check_generator_node for INTERNED_GENERATOR: they deserialize the
  serde_2026 blob and parse the spend list directly.
- InternedBlockBuilder: drop the now-unneeded top-level quote execution
  cost (block_cost 20 -> 0, WRAPPER_VBYTES 11 -> 5).
- Add comments explaining the outer wrapper enables soft-fork expansion.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Factor out first() from the interned/classic branch in run_block_generator2

Both arms now produce the spend list wrapper; the unwrap to the bare
spend list happens once, after the if. Matches the naming scheme used
by the trusted call sites (spend_list_wrapper -> first() -> all_spends).

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add additions_and_removals interned-path parity test

The interned success path had no additions/removals coverage: existing
tests use classic generators or identity-puzzle spends with empty
solutions (no conditions), and the block-refs rejection test exits
before decoding. Build a spend whose identity puzzle emits CREATE_COIN
with a hint and assert the interned path produces the same additions
(with hint), removals, and coin IDs as the classic path.

Addresses a Copilot review comment on #1522.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>

209 of 214 new or added lines in 7 files covered. (97.66%)

16914 of 20491 relevant lines covered (82.54%)

11325034.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.83
0.0% crates/chia-consensus/src/spendbundle_conditions.rs
1
95.5
-0.25% crates/chia-consensus/src/build_interned_block/additional_tests.rs
1
99.51
-0.49% crates/chia-consensus/src/solution_generator.rs
1
84.82
0.03% wheel/src/api.rs
Jobs
ID Job ID Ran Files Coverage
1 Linux release Cargo - 37513087362.1 06 Oct 2026 08:06PM UTC 140
75.34
GitHub Action Run
2 Linux release pytest - 37513087362.2 06 Oct 2026 07:00PM UTC 117
59.4
GitHub Action Run
3 Linux dev Cargo - 37513087362.3 06 Oct 2026 06:46PM UTC 140
72.6
GitHub Action Run
Source Files on build 37513087362
  • Tree
  • List 142
  • Changed 9
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37513087362
  • 04766ef2 on github
  • Prev Build on main (#36195125301)
  • Next Build on main (#37701260090)
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