Skip to content

fix: prevent owner role renouncement#1628

Closed
hmzakhalid wants to merge 1 commit into
mainfrom
fix/audit-01-owner-renounce-role
Closed

fix: prevent owner role renouncement#1628
hmzakhalid wants to merge 1 commit into
mainfrom
fix/audit-01-owner-renounce-role

Conversation

@hmzakhalid

Copy link
Copy Markdown
Collaborator

What changed

Prevents the current token owner from directly renouncing AccessControl roles while preserving role renouncement for non-owner role holders.

Why

Zenith audit issue 1 noted that ownership renouncement was disabled, but owner role renouncement could still leave governance in a broken state.

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 10:21am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
crisp Skipped Skipped Jul 3, 2026 10:21am
interfold-docs Skipped Skipped Jul 3, 2026 10:21am

Request Review

@hmzakhalid hmzakhalid marked this pull request as ready for review July 4, 2026 10:57
@hmzakhalid

Copy link
Copy Markdown
Collaborator Author

Superseded by combined remaining audit fixes PR #1640.

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