Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction simulation failed: Error processing Instruction 0: insufficient account keys for instruction #9

Open
DaikyXendo opened this issue Dec 31, 2022 · 0 comments

Comments

@DaikyXendo
Copy link

I followed the instructions everything was fine until I ran the test with solana-movie-client I got the following error message:

SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: insufficient account keys for instruction.
Logs:

[
    'Program AJBhcFoWMtxWpmtkjfftKpiBBxXnVKo7y4jFVpAfmfQQ invoke [1]',
    'Program log: process_instruction: AJBhcFoWMtxWpmtkjfftKpiBBxXnVKo7y4jFVpAfmfQQ: 3 accounts, data=[0, 27, 0, 0, 0, 66, 114, 97, 118, 101, 104, 101, 97, 114, 116, 57, 48, 54, 56, 57, 54, 46, 54, 53, 55, 48, 52, 49, 48, 54, 57, 53, 5, 13, 0, 0, 0, 65, 32, 103, 114, 101, 97, 116, 32, 109, 111, 118, 105, 101]',
    'Program log: Adding movie review...',
    'Program log: Title: Braveheart906896.6570410695',
    'Program log: Rating: 5',
    'Program log: Description: A great movie',
    'Program AJBhcFoWMtxWpmtkjfftKpiBBxXnVKo7y4jFVpAfmfQQ consumed 27607 of 200000 compute units',
    'Program AJBhcFoWMtxWpmtkjfftKpiBBxXnVKo7y4jFVpAfmfQQ failed: insufficient account keys for instruction'
  ]
}

Is there any way to fix it? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant