Skip to content

Reorganize order of accounts in instructions #70

Description

@fedgiac

(Inspired by this comment.)

The order of accounts in the instructions of this program is a bit inconsistent with what other Solana programs usually do.
For example, the token program tends to put sysvar accounts towards the end (but still before variable-size account input). Source: https://docs.rs/spl-token/latest/spl_token/instruction/enum.TokenInstruction.html

This issue is resolved if we come up with a reasonable ordering standard for instruction account and change the builders to stick to it.

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