-
Notifications
You must be signed in to change notification settings - Fork 4
chore: rename whitelist account to program_config #48
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7 file(s) reviewed, 6 comment(s)
Edit PR Review Bot Settings | Greptile
&crate::id(), | ||
8 + WhitelistForProgram::default().serialized_len(), | ||
&[PROGRAM_CONFIG, program.key.as_ref(), &[bump]], | ||
ProgramConfig::default().serialized_len(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a small bug there, where the discriminant space was added, but there's no discriminant serialized currently. We'll add discriminants in a different PR, just cleaning up for now.
Summary
There was some naming mix-ups between Whitelist and ProgramConfig, this PR does a re-read of those aspects.
Details
This PR simply hunts down all the related code and separate appropriately between ProgramConfig state and WhitelistProgram IX