You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Code: DeclaredProgramIdMismatch. Error Number: 4100. Error Message: The declared program id does not match the actual program id.
I have done everything to correct it but same error occurs .. i dont know why ? even after trying everything i cloned your project from github and without doing any extra code just installed dependencies and deployed .. and then try to create vesting account but same to same error
The text was updated successfully, but these errors were encountered:
When you're running anchor build in the anchor folder, you'll get a program ID in your lib.rs. That's the program ID you should use everywhere, so it involves copy pasting that program ID in the correct places (as shown in the tutorial), before running it. Check if this fixes it.
Thanks bro.
But for me I have synced program ID correctly though out the whole project.
But now I have identified the problem recently, and now project works correctly .
The problem was I had deployed program using
anchor deploy --provider.cluster localnet
instead I should use anchor deploy.
Error Code: DeclaredProgramIdMismatch. Error Number: 4100. Error Message: The declared program id does not match the actual program id.
I have done everything to correct it but same error occurs .. i dont know why ? even after trying everything i cloned your project from github and without doing any extra code just installed dependencies and deployed .. and then try to create vesting account but same to same error
The text was updated successfully, but these errors were encountered: