New cost model - #1502
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Coverage Report for CI Build 31037445434Coverage increased (+0.8%) to 82.676%Details
Uncovered Changes
Coverage Regressions2 previously-covered lines in 1 file lost coverage.
Coverage Stats
💛 - Coveralls |
Contributor
Author
|
@cursor review |
There was a problem hiding this comment.
✅ 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 ddefb84. Configure here.
AmineKhaldi
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
High Risk
Consensus and CLVM cost/limit behavior change at defined heights; incorrect flag gating would diverge from network rules and affect block/spend validation.
Overview
Bumps clvmr / clvm-fuzzing to 0.19.0 and wires two new dialect flags—
LIMITSandNEW_COST_MODEL—throughConsensusFlagsand thefrom_clvm_flags/to_clvm_flagsconversions so Python and Rust stay bit-aligned with clvmr.Height-gated behavior in
get_flags_for_height_and_constantschanges:NEW_COST_MODELturns on with hard fork 2 alongside the existing HF2 bundle. Soft fork 8’sDISABLE_OPandLIMITSare now applied only in theelse ifbranch (after soft fork 8 but before hard fork 2), so those transitional rules stop once HF2 activates.Reviewed by Cursor Bugbot for commit ddefb84. Bugbot is set up for automated code reviews on this repo. Configure here.