-
Notifications
You must be signed in to change notification settings - Fork 127
Description
There are several instructions used by the spl-token-2022 program that are entirely missing from the spl-token-2022 Rust crate. For example, instructions starting after discriminator 44 — such as InitializeTokenMetadata — are not defined or documented in the crate.
As a result, attempts to parse these instructions programmatically result in generic 0xc (InvalidInstruction) errors, since the enum or instruction parser in the crate doesn’t recognize them. This severely limits the crate’s utility for developers who need to build tooling, analytics, or custom program integrations based on SPL Token 2022.
Given that these are valid instructions executed on-chain by the official program, it’s critical that the Rust crate remains in sync with all supported instructions of the deployed program. As core contributors and maintainers of the ecosystem, it’s essential to ensure that all instructions — including any metadata or extended functionality — are available and documented in the crate.