Debug 0x179b / 6043 / ProofVerificationFailed

Common cause and debug steps for ProofVerificationFailed (0x179B / 6043)

Description

You're passing an invalid proof. The proof provided cannot be verified against the expected state.

Common causes and Debug Steps

For a complete example of proper client+on chain flows, see the Counter Program.

Inconsistent Address Seed - Client seeds don't match on chain address derivation

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)

Last updated

Was this helpful?