Skip to content

fix: settle accrued points on freeze and halt accrual during freeze period - #1502

Closed
sparkysolutions10-pixel wants to merge 1 commit into
ada-nwali:testnet-implementationfrom
sparkysolutions10-pixel:fix/accrual-settle-points-on-freeze-1447
Closed

sparkysolutions10-pixel wants to merge 1 commit into
ada-nwali:testnet-implementationfrom
sparkysolutions10-pixel:fix/accrual-settle-points-on-freeze-1447

Conversation

@sparkysolutions10-pixel

Copy link
Copy Markdown

Summary of Changes

  • Updates freeze in contracts/accrual/src/lib.rs to bank points earned up to the freeze timestamp into carry_points and set last_claim_ts = now.
  • Updates unfreeze to set last_claim_ts = now and clear leftover remainder, ensuring no points are accrued for the duration an account is frozen.
  • Clarifies and documents frozen account accrual semantics in the contract docstrings.

Closes #1447

@vercel

vercel Bot commented Oct 26, 2026

Copy link
Copy Markdown

@sparkysolutions10-pixel is attempting to deploy a commit to the Ada's projects Team on Vercel.

A member of the Team first needs to authorize it.

@ada-nwali ada-nwali closed this Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decide whether frozen users should keep earning

2 participants