-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Integrate RBPF CLI in Solana SDK #16505
Comments
Instead of moving the code, we could alternatively just install the latest published version fo the RBPF CLI into the full Solana cli release, like we do for solana/scripts/cargo-install-all.sh Line 129 in 70f3f7e
|
To align the cli tool with what is happening in the solana runtime we might
need to finally bring rbpf into the monorepo. We might also want to
augment program-test so that it can produce the same outputs as the cli
tool or somehow run program-tests within the cli tool.
…On Mon, Apr 12, 2021 at 10:53 PM Michael Vines ***@***.***> wrote:
Instead of moving the code, we could alternatively just install the latest
published version fo the RBPF CLI into the full Solana cli release, like we
do for spl-token tool:
https://github.com/solana-labs/solana/blob/70f3f7e679baa6a66738acb57d5d813e00c7195a/scripts/cargo-install-all.sh#L129
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16505 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJSLY6V4ENRWSVA6FUBUIYDTIPL7HANCNFSM422UEQVQ>
.
|
The problem is not only that it is hard to find in the first place, but also that it is not integrated. It is stand alone and the user has to manually extract program and data and then feed them separately into the CLI tool.
I hope the RBPF repo can stay separate for now. I would move the CLI bin code into the lib part of the crate and then call it from within the monorepo. |
I moved the most of the CLI bin code into the lib, as planned. So with the next release of RBPF we can implement the CLI in the mono repo as well. |
I'd like to get this issue resolved. I'm not sure -- have we reached an agreement about moving the CLI tool into solana repository? If yes, where should I move it? Does |
How about placing it at the root of the repo, the |
Sounds good to me. If no objections, I'll make |
Sounds fine to me too for now. I would still like to see rbpf moved into the mono-repo, the only reason it exists outside is because it was originally a fork |
I think I understand your reasoning -- moving solana_rbpf into the mono-repo would guarantee the synchronization of the rbpf with the bpf_loader. However, if we ever need to bring upstream changes into solana_rbpf, it would be much simpler to do when solana_rbpf and the upstream repository share the common git history. |
The rbpf-cli is now in Solana monorepo. Can I close this issue? New follow-up issues can be created for more specific problems. |
#20881 exposed more of the parameters for the input accounts (in bold). Now there is:
|
This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs. |
Problem
RBPF CLI is not very accessible to developers
Proposed Solution
Move the CLI source code into solana repository and make it part of the SDK.
The text was updated successfully, but these errors were encountered: