Use inclusive ramp-start boundary for initial pledge ramp parameters - #7507
Draft
LesnyRumcajs with Copilot wants to merge 2 commits into
Draft
Use inclusive ramp-start boundary for initial pledge ramp parameters#7507LesnyRumcajs with Copilot wants to merge 2 commits into
LesnyRumcajs with Copilot wants to merge 2 commits into
Conversation
|
|
Co-authored-by: LesnyRumcajs <9642092+LesnyRumcajs@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update initial pledge calculation to use inclusive ramp-start condition
Use inclusive ramp-start boundary for initial pledge ramp parameters
Aug 18, 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.
Forest鈥檚 initial pledge ramp-start handling differed at the boundary epoch, which could skip ramp parameters when
current_epoch == ramp_start_epoch. This aligns the boundary semantics with the intended inclusive behavior used by Lotus.Ramp-start boundary logic
start <= current), while preserving the existingstart > 0gate.Single-purpose ramp helper
compute_initial_pledge_for_power, making the boundary rule explicit and centralized.Focused boundary regression coverage
start == 0)current < start)current == start)current > start)