Skip to content

chore: Bump Rust edition and Solana crates #159

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

Merged
merged 5 commits into from
May 2, 2025
Merged

chore: Bump Rust edition and Solana crates #159

merged 5 commits into from
May 2, 2025

Conversation

merolish
Copy link
Contributor

  • Bump Rust edition to 2024
  • Bump Solana client crates to 2.2 to align with pyth-sdk-solana
  • fmt (mainly rearrangement of imports)
  • Some clippy allowances
  • ed25519-dalek v2 updates

@merolish merolish marked this pull request as ready for review April 25, 2025 21:56
keyvankhademi
keyvankhademi previously approved these changes Apr 25, 2025
@keyvankhademi
Copy link
Contributor

lgtm. But wait for someone else to review too.

Copy link

@darunrs darunrs left a comment

Choose a reason for hiding this comment

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

I'm a bit nervous this doesn't run any tests as part of CI. Does Agent not have any tests at all?

@@ -210,6 +210,7 @@ where
handles
}

#[allow(clippy::module_inception)]
Copy link

Choose a reason for hiding this comment

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

Why are we getting this clippy problem now?

Copy link
Contributor Author

@merolish merolish Apr 26, 2025

Choose a reason for hiding this comment

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

As far as I can tell these have been existing issues and clippy isn't a PR check.

@darunrs
Copy link

darunrs commented Apr 26, 2025

Also this probably qualifies for a version bump too.

@merolish
Copy link
Contributor Author

Good point on the version bump. Unit and integration tests are run; see workflows/rust.yaml, although I cannot vouch for how thorough they are and they also don't include the lazer side yet. We will need to properly test this prior to distributing the new version.

@merolish
Copy link
Contributor Author

(The integration test stuff is in integration-test, which mocks a pythnet node in Python.)

@merolish merolish merged commit 4ffe002 into main May 2, 2025
2 checks passed
@merolish merolish deleted the mike/solana-2 branch May 2, 2025 19:07
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