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

Error: No such file or directory (os error 2) #118

Closed
nazreen opened this issue Dec 30, 2024 · 2 comments
Closed

Error: No such file or directory (os error 2) #118

nazreen opened this issue Dec 30, 2024 · 2 comments

Comments

@nazreen
Copy link

nazreen commented Dec 30, 2024

Running:

solana-verify verify-from-repo -um --library-name oft --program-id <PROGRAM_ID> 

Gives

Executable Program Hash from repo: 9e6a3f6ab1a39cbdb2881886c41283d27c2c7135a7874106b218619888f04d58
On-chain Program Hash: 9e6a3f6ab1a39cbdb2881886c41283d27c2c7135a7874106b218619888f04d58
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...
Error: No such file or directory (os error 2)

Any clues on the cause for this error?

@swaroop-osec
Copy link
Collaborator

Most likely, it failed to retrieve the config or keypair JSON from the configuration. Can you check using solana config get?

@nazreen
Copy link
Author

nazreen commented Jan 8, 2025

@swaroop-osec yes that was the issue! The person who experienced this issue had not set a default config so the config file was missing on their machine

Thank you!

@nazreen nazreen closed this as completed Jan 8, 2025
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

2 participants