Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XLS-74d and XLS-75d: Account Permissions #257

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

mvadari
Copy link
Collaborator

@mvadari mvadari commented Dec 11, 2024

No description provided.

* `Permissions` is too long (the limit is 10), or includes duplicates.
* Any of the specified permissions are invalid.
* The account specified in `Authorize` doesn't exist.

Copy link
Contributor

Choose a reason for hiding this comment

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

If a Delegated account is deleted after an AccountPermission entry is created, and then an attempt is made to update the AccountPermission, does the transaction simply fail or is the AccountPermission entry deleted?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

no, it's not delegated. It's deleted only when the delegating account gets deleted

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The spec change I think also changes this, since the delegate no longer needs to have an on-chain account.

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.

3 participants