Skip to content

Optional accounts are not passed when None #94

@Dodecahedr0x

Description

@Dodecahedr0x

When an optional account is None, it is not passed to the program. This makes it complicated to handle cases with multiple optional accounts or when optional accounts are not last in the list of accounts.

Passing the called program ID for None optional accounts is efficient in terms of tx size and CU, while it preserves the order of passed accounts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions