-
Notifications
You must be signed in to change notification settings - Fork 69
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
Rust cargo arguments not supported? #121
Comments
Hi! Do you mind sharing which version of solana-verify you are using? |
Hi @ngundotra
|
@yurushao Can you provide a link to a github repo that you are trying to build? There is not enough information here for us to help debug cc @Woody4618 for ideas on blind debugging here, just in case I'm missing something |
Thank you. Appreciate your quick responses! Our program code is here https://github.com/glamsystems/glam/tree/main/anchor We build our mainnet program with this command:
|
Looks like you are not putting the library name: That works for me locally. |
@Woody4618 Thank you so much! It works! |
@Woody4618 Program was built and verified with A follow-up question, any way to make
|
The platform tools version are shipped with Solana CLI versions. If you update your CLI version to 2.0, you'll have tools version v1.42. CLI version 2.1 will have tools version v1.43.
|
Thank you very much for the clarification @LucasSte! |
The arguments after If you guys want to support it, [1] Note that in the example at the very top, the cmd is |
Sorry had to re-open this issue again. I thought I could follow the advice from @LucasSte and @0x0ece to create a PR and make it work, but I got blocked. Here's the PR for adding I built the binary and ran it inside glam repo . As you can see
Any advice? |
I tried reproducing the issue here with Solana v1.18.23, and I believe there is a bug in that version. Would you mind trying with the latest Solana CLI version? |
Tested solana-program 1.18.11, 1.18.26, 2.0.0, 2.1.0, all got the same error. |
The Solana CLI is the set of tools you install locally (or inside Docker) to interact with the blockchain. It also comes with the compiler tools. This is how you install it: https://solana.com/docs/intro/installation#install-the-solana-cli |
Our mainnet program is built with cargo args:
Tried to pass the args to solana-verify but it didn't work
Any advice on how to make it work? Thanks!
The text was updated successfully, but these errors were encountered: