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
:sparkles: Add allow undelegation ix
Description
delegation_program
uses a different data structure for the delegation recordSolution
delegation-program-sdk
crate dependency and relates typescript sdk in order to use the newer delegation record data structureallow_undelegation
instruction to be called to enable the undelegationNotes
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