Skip to content

Bump chia rs 0.44.0#20923

Merged
cmmarslender merged 5 commits into
mainfrom
bump-chia-rs-0.43.0
May 27, 2026
Merged

Bump chia rs 0.44.0#20923
cmmarslender merged 5 commits into
mainfrom
bump-chia-rs-0.43.0

Conversation

@arvidn
Copy link
Copy Markdown
Contributor

@arvidn arvidn commented May 20, 2026

Purpose:

Bump chia_rs to the latest version. There are 3 major changes:

  1. errors are now accompanied by message strings, that have more details that just the code.
  2. chia-pos2 has been updated and the plot proofs have changed, to the test-cache is updated
  3. chia-pos2 now supports a "testnet" flag for v2 plots. v1 plots would distinguish testnet plots from mainnet by using different k-sizes. testnet would support much smaller plots. With v2, k is the same for testnet and mainnet. In order to be able to make testnet plots that are not compatible with mainnet, we now distinguish based on a new Consensus Constant, TESTNET.

Note

Medium Risk
Touches consensus pre-validation, proof-of-space validation, and plot tooling with a dependency bump; incorrect TESTNET wiring could affect v2 plot validity across networks.

Overview
Bumps chia-rs to 0.44.0 and refreshes CI test-cache artifacts to 0.45.20 so v2 plot proofs match the updated chia-pos2 behavior.

Error messages: Block generator and pre-validation paths now consume the extra string return from run_block_generator / run_block_generator2. PreValidationResult gains error_msg, and full-node / mempool / RPC logging plus ConsensusError surface those details alongside Err codes.

Testnet v2 plots: Adds consensus constant TESTNET (default False; non-mainnet networks get TESTNET=True via overrides). V2 plot create/solve/validate paths pass testnet from constants or config so testnet plots are not valid on mainnet when k is shared.

Tests and simulator tooling are updated for the new APIs and exception shapes from chia-rs/clvm.

Reviewed by Cursor Bugbot for commit bbeea45. Bugbot is set up for automated code reviews on this repo. Configure here.

@arvidn arvidn requested review from a team as code owners May 20, 2026 09:59
@arvidn arvidn added the Changed Required label for PR that categorizes merge commit message as "Changed" for changelog label May 20, 2026
Comment thread chia/_tests/util/plot_cache.py
@arvidn arvidn force-pushed the bump-chia-rs-0.43.0 branch from 0660579 to 7c9679e Compare May 20, 2026 13:14
@github-actions github-actions Bot added the merge_conflict Branch has conflicts that prevent merge to main label May 20, 2026
@arvidn arvidn force-pushed the bump-chia-rs-0.43.0 branch 2 times, most recently from 5c27185 to 5415ddf Compare May 20, 2026 18:51
@github-actions github-actions Bot removed the merge_conflict Branch has conflicts that prevent merge to main label May 20, 2026
Comment thread chia/consensus/blockchain.py Outdated
@arvidn arvidn force-pushed the bump-chia-rs-0.43.0 branch from 5415ddf to 89ce859 Compare May 20, 2026 19:39
@arvidn arvidn requested a review from almogdepaz May 20, 2026 19:42
@arvidn arvidn force-pushed the bump-chia-rs-0.43.0 branch from da7ba75 to 5a6c0e3 Compare May 20, 2026 20:48
@arvidn
Copy link
Copy Markdown
Contributor Author

arvidn commented May 20, 2026

@cursor review

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 5a6c0e3. Configure here.

@coveralls-official
Copy link
Copy Markdown

coveralls-official Bot commented May 20, 2026

Coverage Report for CI Build 26505135121

Coverage decreased (-0.006%) to 91.494%

Details

  • Coverage decreased (-0.006%) from the base build.
  • Patch coverage: 9 uncovered changes across 6 files (40 of 49 lines covered, 81.63%).
  • 31 coverage regressions across 9 files.

Uncovered Changes

File Changed Covered %
chia/plotting/check_plots.py 3 0 0.0%
chia/full_node/full_node_rpc_api.py 2 0 0.0%
chia/_tests/util/plot_cache.py 2 1 50.0%
chia/consensus/blockchain.py 3 2 66.67%
chia/consensus/multiprocess_validation.py 5 4 80.0%
chia/full_node/full_node.py 4 3 75.0%
Total (23 files) 49 40 81.63%

Coverage Regressions

31 previously-covered lines in 9 files lost coverage.

File Lines Losing Coverage Coverage
chia/_tests/util/plot_cache.py 7 89.23%
chia/server/server.py 6 84.94%
chia/full_node/full_node.py 4 88.28%
chia/wallet/wallet_node.py 4 87.03%
chia/server/node_discovery.py 3 80.52%
chia/_tests/core/util/test_lockfile.py 3 88.94%
chia/full_node/full_node_api.py 2 88.47%
chia/plotting/prover.py 1 94.79%
chia/_tests/simulation/test_simulation.py 1 96.5%

Coverage Stats

Coverage Status
Relevant Lines: 122002
Covered Lines: 111799
Line Coverage: 91.64%
Relevant Branches: 12033
Covered Branches: 10835
Branch Coverage: 90.04%
Branches in Coverage %: Yes
Coverage Strength: 3.67 hits per line

💛 - Coveralls

@github-actions github-actions Bot added the merge_conflict Branch has conflicts that prevent merge to main label May 20, 2026
@arvidn arvidn force-pushed the bump-chia-rs-0.43.0 branch from 5a6c0e3 to 6a3288b Compare May 21, 2026 05:29
@github-actions github-actions Bot removed the merge_conflict Branch has conflicts that prevent merge to main label May 21, 2026
@arvidn arvidn force-pushed the bump-chia-rs-0.43.0 branch from 6a3288b to f8b3514 Compare May 21, 2026 13:32
@arvidn arvidn changed the title Bump chia rs 0.43.0 Bump chia rs 0.44.0 May 21, 2026
Comment thread chia/plotting/check_plots.py Outdated
Comment thread chia/_tests/util/test_replace_str_to_bytes.py Outdated
Comment thread chia/_tests/wallet/test_singleton.py
@github-actions github-actions Bot added the merge_conflict Branch has conflicts that prevent merge to main label May 21, 2026
@arvidn arvidn force-pushed the bump-chia-rs-0.43.0 branch from 075d0a9 to d3ff8e0 Compare May 22, 2026 07:53
@github-actions github-actions Bot removed the merge_conflict Branch has conflicts that prevent merge to main label May 22, 2026
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d3ff8e0. Configure here.

Comment thread chia/simulator/block_tools.py
@arvidn arvidn requested a review from almogdepaz May 22, 2026 09:03
@github-actions github-actions Bot added the merge_conflict Branch has conflicts that prevent merge to main label May 22, 2026
@arvidn arvidn force-pushed the bump-chia-rs-0.43.0 branch from d3ff8e0 to 3cee5a8 Compare May 25, 2026 15:20
@github-actions github-actions Bot added coverage-diff and removed merge_conflict Branch has conflicts that prevent merge to main labels May 25, 2026
almogdepaz
almogdepaz previously approved these changes May 25, 2026
@arvidn arvidn requested a review from wjblanke May 26, 2026 09:20
@github-actions github-actions Bot added the merge_conflict Branch has conflicts that prevent merge to main label May 26, 2026
wjblanke
wjblanke previously approved these changes May 26, 2026
Copy link
Copy Markdown
Contributor

@wjblanke wjblanke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aok

@arvidn arvidn dismissed stale reviews from wjblanke and almogdepaz via bbeea45 May 27, 2026 10:15
@arvidn arvidn force-pushed the bump-chia-rs-0.43.0 branch from 3cee5a8 to bbeea45 Compare May 27, 2026 10:15
@github-actions github-actions Bot removed the merge_conflict Branch has conflicts that prevent merge to main label May 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

File Coverage Missing Lines
chia/_tests/util/plot_cache.py 50.0% lines 108
chia/consensus/blockchain.py 66.7% lines 791
chia/consensus/multiprocess_validation.py 80.0% lines 167
chia/full_node/full_node.py 75.0% lines 2562
chia/full_node/full_node_rpc_api.py 0.0% lines 1004, 1017
chia/plotting/check_plots.py 0.0% lines 50-52
Total Missing Coverage
49 lines 9 lines 81%

Copy link
Copy Markdown
Contributor

@wjblanke wjblanke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aok

@cmmarslender cmmarslender merged commit d7afd16 into main May 27, 2026
864 of 869 checks passed
@cmmarslender cmmarslender deleted the bump-chia-rs-0.43.0 branch May 27, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changed Required label for PR that categorizes merge commit message as "Changed" for changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants