Skip to main content

Description

You’re passing an invalid proof. The proof provided cannot be verified against the expected state.
For help with debugging use the MCP Configuration or AskDevin viaAsk DeepWiki

Common causes and Debug Steps

For a complete example of proper client+on chain flows, see the Counter Program.
Compare client vs on chain seeds/addresses. Both should be identical.
// Client - log seeds/address used to request proof
console.log("Client seeds:", seeds, "address:", address);
// Onchain - log seeds/address
msg!("Program seeds: {:?}, address: {:?}", seeds, address);

Still having issues? We’re here to help!

  • Reach out on Discord for support
  • Share the exact error code and a reproducer (GitHub repo / gist)