Skip to content

p-token: Add self-revoke delegate - #121

Merged
febo merged 3 commits into
mainfrom
febo/revoke-delegate
Jan 28, 2026
Merged

febo merged 3 commits into
mainfrom
febo/revoke-delegate

Conversation

@febo

@febo febo commented Jan 18, 2026

Copy link
Copy Markdown
Contributor

Problem

Currently only the account owner is able to revoke a delegate, although there are use-cases where it would be interesting for a delegate to revoke itself.

Solution

Update the revoke implementation to allow a delegate to revoke itself.

@febo
febo requested a review from joncinque January 20, 2026 10:59
joncinque
joncinque previously approved these changes Jan 21, 2026

@joncinque joncinque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just two tiny nits, which you can take or leave

Comment thread pinocchio/program/tests/revoke.rs Resolved

@joncinque joncinque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

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