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

Chore / update dependencies #102

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

XuananLe
Copy link

I upgraded solana-program (2.0.2) and anchor-lang (0.30.1)

XuananLe added 2 commits July 16, 2024 16:48
- This commit upgrade anchor-lang to 0.30.1,  solana-program to 2.0.2 and also borsh, borsh-derive to the latest version which is 1.5.1.

- Replace the decrepitated try_to_vec of borsh to caculate Account Span to a safer method std::mem::size_of_val(&T).
@jacobcreech
Copy link
Contributor

Hey @XuananLe, appreciate the update but I'm not sure if I feel comfortable upgrading to solana-program 2.x just yet. Anchor 0.30.x should not be compatible with solana-program 2.x, so we'll have to wait for an upgrade on Anchor before upgrading solana-program.

@XuananLe
Copy link
Author

XuananLe commented Jul 16, 2024

I upgraded and checked all the program with rust analyzer and testing. Fortunately i did not find any confict. Thank you @jacobcreech

@XuananLe
Copy link
Author

@mikemaccana Hi, can you check out my pull request

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

Successfully merging this pull request may close these issues.

2 participants