Skip to content

serviceability: link instruction builders (Rust) #4017

Description

@juan-malbeclabs

Part of #4014.

Add src/link.rs builders for the full link domain (create/accept/update/suspend/resume/delete, link health). Covers the split_trailing_permission family.

Notes

  • split_trailing_permission builders derive the Permission PDA from the payer and append it read-only as the last account (never a caller-supplied parameter). This append ships commented out until the instruction's authorize() migration is activated. It remains safe once enabled because the processor peels the trailing Permission account by PDA match.

Acceptance

  • One pure builder per non-deprecated link instruction.
  • Verbatim account-layout doc-comments.
  • Unit tests + ix_* golden fixtures.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions