Repository navigation
Promote dev to main: plain Stake page copy, newest-portfolio pricing - #60
Merged
Merged
Conversation
* fix(frontend): plain first-screen copy on the Stake page The Stake page led with a shield badge reading "No upgrade authority" and a card listing every admin role the contracts lack. That reads as defensive. Remove the badge and replace the card with a short "Before you stake" note: variable returns that can be negative, the withdrawal queue, and the operator's role in validator performance and execution-tip routing, with a link to How it works. The position small print keeps its facts in plainer words. Other pages are unchanged. * fix(frontend): keep the position-to-wallet binding on the Stake page The removed badge was the page's only note that a position is not transferable. Say it plainly in Before you stake: the position stays with the depositing wallet and payouts go to that wallet.
…portfolio (#59) A superseded but still-fresh stage kept admitting deposits and reserving withdrawals at its older economics after a newer portfolio was verified. That moved part of a proven loss or reward between holders: in the 2026-10-20 review a withdrawer avoided 200 of a 520 QRL loss, and a newcomer captured 2,600 of income proven before its admission. Each admission or reservation batch now applies the newest completed portfolio first. The stage keeps its cutoff, FIFO order, batch bounds and phase; reserved claims, earned fees and pending refunds stay as they are. Repeated supersession cannot restart processing, and stale stages stay abortable. Tests on native bytecode: both review scenarios (the withdrawer receives 19,800; existing holders keep all income proven before the admission), freshness at ages 64 and 65, newer snapshots sharing an execution cutoff, renewal at the recovery deadline and recovery one slot later, and 65 admissions in bounded batches followed by FIFO withdrawals under repeated supersession. Gas: ordinary batches cost 5,571 more; a batch that refreshes costs about 75k to 94k more; pool runtime grows 278 bytes to 21,906.
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.
Brings main up to dev again.
Both were reviewed and merged on dev. Nothing deploys from this merge.