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

Chia-Network / chia_rs / 26177928471
81%

Build:
DEFAULT BRANCH: main
Ran 20 May 2026 05:48PM UTC
Jobs 2
Files 136
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

20 May 2026 05:09PM UTC coverage: 81.527% (+0.8%) from 80.701%
26177928471

push

github

web-flow
Expose generator_interned_weight() to Python (#1435)

* Expose generator_interned_weight() to Python

Split the interned tree cost calculation into two parts:
- interned_weight(): returns atom_bytes + 2*atoms + 3*pairs
- total_cost_from_tree(): interned_weight() * COST_PER_BYTE

The new generator_interned_weight() Python function deserializes a
generator program, interns the tree, and returns the raw weight.
Callers multiply by the COST_PER_BYTE consensus constant themselves,
avoiding a hardcoded multiplier on the Python side.

19 of 21 new or added lines in 5 files covered. (90.48%)

14864 of 18232 relevant lines covered (81.53%)

11833419.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.43
0.0% crates/chia-consensus/src/run_block_generator.rs
1
96.47
0.0% crates/chia-consensus/src/spendbundle_conditions.rs
Jobs
ID Job ID Ran Files Coverage
1 Linux release Cargo - 26177928471.1 20 May 2026 06:26PM UTC 136
73.17
GitHub Action Run
2 Linux release pytest - 26177928471.2 20 May 2026 05:48PM UTC 115
59.06
GitHub Action Run
Source Files on build 26177928471
  • Tree
  • List 136
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26177928471
  • 6d7defd5 on github
  • Prev Build on 0.43.0 (#26096106631)
  • Next Build on main (#26222974777)
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