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

Outdated Cargo.toml in svm/examples/json-rpc/program #5052

Open
yutianwu opened this issue Feb 22, 2025 · 1 comment
Open

Outdated Cargo.toml in svm/examples/json-rpc/program #5052

yutianwu opened this issue Feb 22, 2025 · 1 comment

Comments

@yutianwu
Copy link

yutianwu commented Feb 22, 2025

Problem

Hi, the current dependency of the example program for solana-program is outdated since the sdk dir is moved to another repo. We can't build the program with the current Cargo.toml.

solana-program = { path = "../../../../sdk/program", version = "=2.2.0" }

Proposed Solution

Update the solana-program:

solana-program = { version = "=2.2.1" } 
@steviez
Copy link

steviez commented Feb 25, 2025

We can't build the program with the current Cargo.toml

Can you share the resulting error that you get when trying to build ?

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

No branches or pull requests

2 participants