Skip to content

Conversation

danimhr
Copy link
Contributor

@danimhr danimhr commented Jun 25, 2025

This PR aims to add error logs if the VAA received by PythNet quorum service was invalid.

Copy link

vercel bot commented Jun 25, 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 Jun 27, 2025 10:06am
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 10:06am
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 10:06am
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 10:06am
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 10:06am
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 10:06am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 10:06am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 10:06am

@@ -512,7 +512,7 @@ where
let state = state.clone();
async move {
if let Err(e) = state.process_message(vaa_bytes).await {
tracing::debug!(error = ?e, "Skipped VAA.");
tracing::error!(error = ?e, "Received an invalid VAA from PythNet quorum.");
Copy link
Collaborator

Choose a reason for hiding this comment

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

I didn't notice quorum is in Pythnet module. Would it be possible to move it out? (not necessary as this code is not gonna change but it's nicer).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me create a new PR for this

Where should I put it?

@danimhr danimhr merged commit cef03e2 into main Jun 27, 2025
11 checks passed
@danimhr danimhr deleted the hermes/feat/quorum-invalid-vaa-error-log branch June 27, 2025 11:10
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