Skip to content
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

Cannot Verify Program: The PDA associated with the given signer was not found #120

Open
zpetersen-paxos opened this issue Jan 3, 2025 · 4 comments

Comments

@zpetersen-paxos
Copy link

I've been trying to verify the program paxosVkYuJBKUQoZGAidRA47Qt4uidqG5fAt5kmr1nR.

The command I'm using is:
solana-verify verify-from-repo -u https://api.mainnet-beta.solana.com --program-id paxosVkYuJBKUQoZGAidRA47Qt4uidqG5fAt5kmr1nR https://github.com/paxosglobal/cross-chain-contracts --library-name oft --mount-path solana-oft-deployment

This successfully uploaded the first time I ran it, but the program is still not verified for some reason. Running it a second time I get:

Fetching on-chain program data for program ID: paxosVkYuJBKUQoZGAidRA47Qt4uidqG5fAt5kmr1nR
Executable Program Hash from repo: ab795c004f1db2ac6da755dd4eeec83f4f155eac89ee49006be4bcb9ffbd645d
On-chain Program Hash: ab795c004f1db2ac6da755dd4eeec83f4f155eac89ee49006be4bcb9ffbd645d
Program hash matches ✅
Do you want to upload the program verification to the Solana Blockchain? (y/n) y
Uploading the program verification params to the Solana blockchain...
Using connection url: https://api.mainnet-beta.solana.com
Program already uploaded by the current signer. Updating the program.
Error { request: Some(GetSignatureStatuses), kind: Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.mainnet-beta.solana.com")), port: None, path: "/", query: None, fragment: None }, source: hyper::Error(IncompleteMessage) }) }
Error uploading program: Err(Failed to send transaction to the network.)

I also get an error if I try to use the remote flag:
solana-verify verify-from-repo --remote -u https://api.mainnet-beta.solana.com --program-id paxosVkYuJBKUQoZGAidRA47Qt4uidqG5fAt5kmr1nR https://github.com/paxosglobal/cross-chain-contracts --library-name oft --mount-path solana-oft-deployment

dRA47Qt4uidqG5fAt5kmr1nR https://github.com/paxosglobal/cross-chain-contracts --library-name oft --mount-path solana-oft-deployment
Sending verify command to remote machine...
Encountered an error while attempting to send the job to remote
Error: "{\"status\":\"error\",\"error\":\"The PDA associated with the given signer was not found. Please try again with a valid signer.\"}"

Any ideas on what the issue could be?

@ngundotra
Copy link
Collaborator

Can you share the version of solana-verify you are using?

@zpetersen-paxos
Copy link
Author

solana-verify 0.2.14

@ngundotra
Copy link
Collaborator

Can you please update to 0.4.0?

There are two issues here. One issue is that you are using an old version of the CLI, which is using a deprecated endpoint. Second issue is that because this is a frozen program, we have not yet added support for tracking the frozen buffer's authority & associating that with your deployed PDA.

We will work on this going forward and give you an update

cc @swaroop-osec for visibility

@swaroop-osec
Copy link
Collaborator

Thanks for cc @ngundotra
We will start working on this and update here once it was done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants