Skip to content

Conversation

@ayushboss
Copy link
Contributor

Summary

dividing governance instructions out of lib.rs

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

devin-ai-integration bot and others added 2 commits July 23, 2025 18:25
- 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]>
@vercel
Copy link

vercel bot commented Jul 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 7:14pm
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 7:14pm
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 7:14pm
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 7:14pm
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 7:14pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 7:14pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 7:14pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 23, 2025 7:14pm

Copy link
Contributor

@tejasbadadare tejasbadadare left a 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!

Comment on lines 604 to 605
// 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
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

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

this one too

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