Skip to content

Spl Extensions Token (2022) is not functioning properly #184

@hack-wrench

Description

@hack-wrench

The spl extensions token parser is not functioning properly; most incoming transaction instructions are not being processed.

This code will have almost no output, such as TokenExtensionProgramIx::MetadataPointer, and others.

impl yellowstone_vixen::Handler<TokenExtensionProgramIx, InstructionUpdate> for State {
    async fn handle(&self, value: &TokenExtensionProgramIx, raw: &InstructionUpdate) -> yellowstone_vixen::HandlerResult<()> {
        if let TokenExtensionProgramIx::TokenProgram(tp) = &value {
            return Ok(());
        }

        log::info!("{value:#?}");

        Ok(())
    }
}

I assume that subinstructions called within the originally called instructions are not processed?

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