Skip to content

fix: prune matured locks before active cap#1637

Merged
hmzakhalid merged 2 commits into
mainfrom
fix/audit-11-stale-lock-slots
Jul 4, 2026
Merged

fix: prune matured locks before active cap#1637
hmzakhalid merged 2 commits into
mainfrom
fix/audit-11-stale-lock-slots

Conversation

@hmzakhalid

Copy link
Copy Markdown
Collaborator

What changed

Prunes fully matured active lock slots before enforcing the per-account active-lock cap.

Why

Zenith audit issue 11 found that stale active lock entries could consume the lock cap and block later claim processing.

Validation

  • pnpm --dir packages/interfold-contracts test test/Token/InterfoldToken.spec.ts test/Token/InterfoldTicketToken.spec.ts
  • Push hooks passed: lint, pnpm version check, license headers, committee consistency
  • Noir circuit checks were skipped by the hook because nargo is not installed

@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
interfold-dashboard Ready Ready Preview, Comment Jul 3, 2026 11:58pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
crisp Skipped Skipped Jul 3, 2026 11:58pm
interfold-docs Skipped Skipped Jul 3, 2026 11:58pm

Request Review

@hmzakhalid hmzakhalid marked this pull request as ready for review July 3, 2026 23:58
@vercel vercel Bot temporarily deployed to Preview – interfold-docs July 3, 2026 23:58 Inactive
@vercel vercel Bot temporarily deployed to Preview – crisp July 3, 2026 23:58 Inactive
@hmzakhalid hmzakhalid enabled auto-merge (squash) July 3, 2026 23:58
@hmzakhalid hmzakhalid merged commit e2134df into main Jul 4, 2026
32 of 33 checks passed
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.

2 participants