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

'anchor deploy' deploys non-verifiable build by default #2167

Closed
serejke opened this issue Sep 5, 2022 · 4 comments
Closed

'anchor deploy' deploys non-verifiable build by default #2167

serejke opened this issue Sep 5, 2022 · 4 comments
Labels
cli enhancement New feature or request good first issue Good for newcomers

Comments

@serejke
Copy link

serejke commented Sep 5, 2022

Problem
I would like to deploy the verifiable build.

anchor build builds non-verifiable program and saves the result to target/deploy/<program>.so

anchor build --verifiable builds the program in a Docker container and saves the result to target/verifiable/<program>.so

but then
anchor deploy takes the non-verifiable build from target/deploy but not from target/verifiable.
I have to manually copy&replace the <program>.so from the target/verifiable to target/deploy before running the anchor deploy

Suggestion
Add a --verifiable CLI option to the anchor deploy to change the program path.

@esemeniuc
Copy link

Would love to see this also!

@Henry-E Henry-E added enhancement New feature or request good first issue Good for newcomers cli labels Dec 7, 2022
@Henry-E
Copy link

Henry-E commented Dec 7, 2022

yeh, this sounds cool. I could see this being easy enough to add for anyone interested in doing a PR.

@aroraprince
Copy link

aroraprince commented Mar 28, 2023

Came across this issue:
I should be able to fix it.
Seems the changes need to be made somewhere around here fn deploy.

@acheroncrypto
Copy link
Collaborator

Added in #2705

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants