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

assert write version is increasing per slot as we read from a slot #29624

Merged
merged 1 commit into from Jan 10, 2023

Conversation

jeffwashington
Copy link
Contributor

Problem

Trying to stop saving write_version in append vecs.
Now that we only ever have 1 append vec per slot, account data we find later is always more recent.

Summary of Changes

Assert that write_version is increasing per pubkey.

Fixes #

Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

lgtm

@jeffwashington jeffwashington merged commit ad40041 into solana-labs:master Jan 10, 2023
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.

None yet

2 participants