-
Notifications
You must be signed in to change notification settings - Fork 308
refactor(stylus): dividing governance instructions out of lib.rs #2889
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
- Extract governance-related functionality into separate governance.rs module - Keep all pyth operations in lib.rs as requested - Maintain idiomatic Rust module organization - All code compiles successfully with only minor warnings Co-Authored-By: [email protected] <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
tejasbadadare
left a comment
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.
pls address before merging, thx!
| // Stylus doesn't provide a way to mock up the testing timestamp | ||
| // so at the moment I'm using the testing trait to let me test old timestamps |
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.
Looks like devin chopped some comments? Lets keep these in
| check_uniqueness: bool, | ||
| ) -> Result<Vec<PriceFeedReturn>, PythReceiverError> { | ||
| let update_data_array: &[u8] = &update_data; | ||
| // Check the first 4 bytes of the update_data_array for the magic header |
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.
this one too
Summary
dividing governance instructions out of lib.rs
How has this been tested?