-
Notifications
You must be signed in to change notification settings - Fork 58
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
The declared program id does not match the actual program id #110
Comments
Hi @cxp-13 what version of the CLI are you using? |
|
Got it. Sorry, currently this tool only supports mainnet use. The devnet program may be redeployed in near future, but for now, please only write PDAs and submit verification jobs for mainnet use. If you want to skip writing a PDA for devnet, just enter |
no, actually I don't get what you mean by skipping writing PDA for Devnet, I just try to verify my program on Explore like EVM development. |
@cxp-13 , "write PDA" is exactly what is needed to support Verification status on the explorers. Things are currently very different than EVM land over in Solana. The PDA is required as it will record on chain the repo URL and the commit hash. So the only verification you can do right now on Devnet is to compare the program hashes through a local (re)build. |
I want to verify program on devnet and follow with the verified tutorial(https://solana.com/developers/guides/advanced/verified-builds#what-are-verified-builds) but get error when execute command
solana-verify verify-from-repo -u https://devnet.helius-rpc.com/?api-key=f84a6f24-1feb-4290-bc2f-4fc95cf5e7f0 --program-id 7ZigWsEmK5JAW2mgKP19yRhcwt3gTpFMfkttXG7Hj9MF https://github.com/orbitlen/solana-contract
The program can normally be searched on solscan(https://solscan.io/account/7ZigWsEmK5JAW2mgKP19yRhcwt3gTpFMfkttXG7Hj9MF?cluster=devnet)
Console:
The text was updated successfully, but these errors were encountered: