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

node/watchers/solana: additional safety check #3509

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Conversation

evan-gray
Copy link
Contributor

@evan-gray evan-gray commented Nov 8, 2023

This PR adds a safety check to ensure that, on Solana, message publication account fields which were already zeroed out, are definitely zeroed out. This becomes important in the upcoming rewrite when the account can be written to across multiple instructions and one of these fields contains the status, which is set to zero when the account can no longer be written to.

Copy link
Contributor

@a5-pickle a5-pickle left a comment

Choose a reason for hiding this comment

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

Clean

@evan-gray evan-gray merged commit 85e785a into main Nov 8, 2023
22 checks passed
@evan-gray evan-gray deleted the solana-rewrite-check branch November 8, 2023 18:46
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