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

Handle sysvar updates #20

Merged
merged 4 commits into from
Mar 22, 2024
Merged

Handle sysvar updates #20

merged 4 commits into from
Mar 22, 2024

Conversation

kevinheavey
Copy link
Collaborator

Checks whenever an account being updated is a sysvar account, and if so updates the sysvar cache. Closes #17

@kevinheavey kevinheavey requested a review from Aursen March 22, 2024 00:17
Copy link
Collaborator

@Aursen Aursen left a comment

Choose a reason for hiding this comment

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

Seems good to me. Can you had a method to get the Sysvar other than with get account?

@kevinheavey
Copy link
Collaborator Author

Seems good to me. Can you had a method to get the Sysvar other than with get account?

Done, I've just made it unwrap() for now. Need to think about whether it can fail

@Aursen
Copy link
Collaborator

Aursen commented Mar 22, 2024

Good you can merge if you want

@kevinheavey kevinheavey merged commit b21a8b9 into master Mar 22, 2024
2 checks passed
@Aursen Aursen deleted the handle-sysvar-updates branch March 25, 2024 08:44
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