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

✨ Add allow undelegation ix #68

Merged
merged 1 commit into from
Jun 27, 2024
Merged

✨ Add allow undelegation ix #68

merged 1 commit into from
Jun 27, 2024

Conversation

GabrielePicco
Copy link
Contributor

✨ Add allow undelegation ix

Status Type ⚠️ Core Change Issue
Ready Feature/Bug No -

Description

  • The latest version of the delegation_program uses a different data structure for the delegation record

Solution

  • Update the delegation-program-sdk crate dependency and relates typescript sdk in order to use the newer delegation record data structure
  • Added the allow_undelegation instruction to be called to enable the undelegation

Notes

allow_undelegation most likely should implement some additional check on the component authority or only allowed to be called trough a system. Leaving this for another PR

@GabrielePicco GabrielePicco merged commit a5670ff into main Jun 27, 2024
4 checks passed
@GabrielePicco GabrielePicco deleted the fix/update-delegation branch June 27, 2024 18:35
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.

1 participant