magicblock-labs / magicblock-labs/Solana.Unity-SDK
[Bug]Transaction simulation failed: Error processing Instruction 2: custom program error: 0x7
- Dominant language
- C#
- Stars
- 199
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
{"jsonrpc":"2.0","id":19,"error":{"code":-32002,"message":"Transaction simulation failed: Error processing Instruction 2: custom program error: 0x7","data":{"accounts":null,"err":{"InstructionError":[2,{"Custom":7}]},"innerInstructions":null,"logs":["Program noop8ytexvkpCuqbf6FB89BSuNemHtPRqaNC31GWivW invoke [1]","Program noop8ytexvkpCuqbf6FB89BSuNemHtPRqaNC31GWivW consumed 2 of 600000 compute units","Program noop8ytexvkpCuqbf6FB89BSuNemHtPRqaNC31GWivW success","Program noop8ytexvkpCuqbf6FB89BSuNemHtPRqaNC31GWivW invoke [1]","Program noop8ytexvkpCuqbf6FB89BSuNemHtPRqaNC31GWivW consumed 2 of 599998 compute units","Program noop8ytexvkpCuqbf6FB89BSuNemHtPRqaNC31GWivW success","Program oreV2ZymfyeXgNgBdqMkumTqqAprVqgBWQfoYkrtKWQ invoke [1]","Program oreV2ZymfyeXgNgBdqMkumTqqAprVqgBWQfoYkrtKWQ consumed 2021 of 599996 compute units","Program oreV2ZymfyeXgNgBdqMkumTqqAprVqgBWQfoYkrtKWQ failed: custom program error: 0x7"],"returnData":null,"unitsConsumed":2025}}}
Contributor guide
Research direction
The payload provides only a JSON-RPC simulation response, with Instruction 2 failing in the Solana program with custom error 0x7; it names no source file, entry point, or test. Start by reproducing this transaction simulation and tracing the Unity SDK path that submits it. Done means identifying the cause of the custom error and confirming the affected SDK behavior is corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- blockchain, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100