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

Solana 2 (for real this time) #95

Merged
merged 8 commits into from
Oct 11, 2024
Merged

Solana 2 (for real this time) #95

merged 8 commits into from
Oct 11, 2024

Conversation

kevinheavey
Copy link
Collaborator

Replacing #76 with this because that is stuck in rebase hell.

I had to do something a bit silly with handle_sysvar because the methods to write to individual fields haven't yet been restored to Solana 2.0. For now we just wipe the whole sysvar cache and rebuild it every time someone writes to a sysvar. Shouldn't matter too much.

I also reduced the NUM_GREETINGS const in the tests that use solana-program-test because it started breaking at higher numbers. That issue is entirely with solana-program-test so we don't care.

The first commit will be useful to refer to when Solana 2.1 comes out. Thanks to @OliverNChalk for doing some leg work there in #94

Closes #94
Closes #76

Cargo.toml Outdated Show resolved Hide resolved
Copy link

@sonicfromnewyoke sonicfromnewyoke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, have only 1 small remark regarding the dependencies

svm/Cargo.toml Outdated Show resolved Hide resolved
@kevinheavey kevinheavey merged commit f36d461 into master Oct 11, 2024
2 checks passed
@Aursen Aursen deleted the solana-2-attempt-2 branch October 11, 2024 10:02
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.

3 participants