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

Chia-Network / chia-blockchain / 31431795651
92%

Build:
DEFAULT BRANCH: main
Ran 10 Aug 2026 11:32PM UTC
Jobs 1
Files 935
Run time 2min
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

10 Aug 2026 09:00PM UTC coverage: 91.925% (-0.02%) from 91.944%
31431795651

push

github

web-flow
[ASB-272] Pass remaining CLVM cost budget when building Offer caches (#21243)

* [ASB-272] Pass remaining CLVM cost budget when building Offer caches

Offer.__post_init__ tracked a shrinking max_cost but never passed it into
compute_spend_hints_and_additions, and cost ValidationErrors were swallowed.
Propagate the remaining budget and re-raise cost limit failures.

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

* [ASB-272] Replace Offer max_cost spy test with conditions() cost check

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

* [ASB-272] Assert Offer rejects on remaining budget, not post-sum check

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

* [ASB-272] Leave Offer.conditions() unchanged

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

* [ASB-272] Use pytest.raises match= for Offer remaining cost test

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

* Cover Offer remapping of CLVM cost-exceeded ValueError

Lower MAX_BLOCK_COST_CLVM so a cheap first spend leaves too little budget for
the next puzzle run, hitting the ValueError→ValidationError path without mocks.

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

---------

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

11201 of 12362 branches covered (90.61%)

Branch coverage included in aggregate %.

36 of 37 new or added lines in 2 files covered. (97.3%)

54 existing lines in 9 files now uncovered.

115631 of 125611 relevant lines covered (92.05%)

1.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.21
-0.11% chia/wallet/trading/offer.py

Coverage Regressions

Lines Coverage ∆ File
24
77.42
-12.44% chia/_tests/core/util/test_lockfile.py
14
85.22
-5.15% chia/cmds/plotnft_funcs.py
5
80.0
-0.86% chia/server/node_discovery.py
3
84.8
-0.52% chia/server/server.py
2
94.66
-0.41% chia/farmer/farmer_api.py
2
88.66
0.22% chia/full_node/full_node.py
2
91.23
-3.51% chia/util/files.py
1
96.5
0.0% chia/_tests/simulation/test_simulation.py
1
83.97
-0.64% chia/timelord/timelord_api.py
Jobs
ID Job ID Ran Files Coverage
1 31431795651.1 10 Aug 2026 11:32PM UTC 1870
91.93
GitHub Action Run
Source Files on build 31431795651
  • Tree
  • List 935
  • Changed 15
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31431795651
  • 41e12892 on github
  • Prev Build on main (#31430538084)
  • Next Build on main (#31500496633)
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