Custom program error

0x3e81000

Appears in logs as custom program error: 0x3e8

Anchor

IdlInstructionStub

“The program was compiled without idl instructions”

The program was compiled without idl instructions.

Common causes

  • Using anchor idl commands against a program built without IDL support or with the wrong program id.

How to fix it

  • Build with the idl-build feature and double check the program id passed to the IDL command.

Decode another error

Try: