Skip to content

Detected sbpf_version required by the executable which are not enabled #4687

Description

@sjoerd-dijkstra

Trying to deploy a build artifact to Solana, and experiencing problems.

This the command and response we're seeing:

$ anchor program upgrade --provider.cluster $RPC_URL_DEVNET -p $PROGRAM_NAME $PROGRAM_ID

Sending upgrade transaction...
Upgrade failed: Failed to upgrade program: RPC response error -32002: Transaction simulation failed: Error processing Instruction 0: invalid account data for instruction; 3 log messages:
  Program BPFLoaderUpgradeab1e11111111111111111111111 invoke [1]
  Detected sbpf_version required by the executable which are not enabled
  Program BPFLoaderUpgradeab1e11111111111111111111111 failed: invalid account data for instruction

Error: Failed to upgrade program: RPC response error -32002: Transaction simulation failed: Error processing Instruction 0: invalid account data for instruction; 3 log messages:
  Program BPFLoaderUpgradeab1e11111111111111111111111 invoke [1]
  Detected sbpf_version required by the executable which are not enabled
  Program BPFLoaderUpgradeab1e11111111111111111111111 failed: invalid account data for instruction

Are we doing something wrong?

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