-
Notifications
You must be signed in to change notification settings - Fork 287
Hermes: Add error log when receiving invalid quorum VAA #2810
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -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."); |
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.
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).
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.
Let me create a new PR for this
Where should I put it?
This PR aims to add error logs if the VAA received by PythNet quorum service was invalid.