Skip to content

Conversation

crypto-vincent
Copy link
Contributor

@crypto-vincent crypto-vincent commented Dec 5, 2024

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

@crypto-vincent crypto-vincent self-assigned this Dec 5, 2024
Copy link
Contributor

@greptile-apps greptile-apps bot left a 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(),
Copy link
Contributor Author

@crypto-vincent crypto-vincent Dec 5, 2024

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.

@crypto-vincent crypto-vincent merged commit 9b32667 into main Dec 5, 2024
3 checks passed
@crypto-vincent crypto-vincent deleted the vbrunet/2024_12_05-program-config branch December 5, 2024 07:55
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