Quantcast
Channel: Error Code: DeclaredProgramIdMismatch - Solana Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by nf0x for Error Code: DeclaredProgramIdMismatch

I saw you found the solution, but the issue is more related to the Anchor workflow, which is not correctly explained in the Anchor book as far as I know.When you are compiling a Solana program built...

View Article



Answer by Daniel Pavel for Error Code: DeclaredProgramIdMismatch

FIXED:Searched for the name of my program in the project directory and found out that it was a mismatch in the Anchor.toml file.[features]seeds = false[programs.localnet]boync_anchor_program =...

View Article

Error Code: DeclaredProgramIdMismatch

I am trying to run some tests in my Solana Anchor project but I get an error saying that the declared program id does not match the actual program id.Error: AnchorError occurred. Error Code:...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images