Skip to content

refactor(hermes): remove warn log on benchmarks missed data #2879

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 1 commit into from
Jul 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/hermes/server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/hermes/server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hermes"
version = "0.10.3"
version = "0.10.4"
description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle."
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/server/src/api/rest/get_price_feed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ where
)
.await
.map_err(|e| {
tracing::warn!(
tracing::debug!(
"Error getting price feed {:?} with update data: {:?}",
price_id,
e
Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/server/src/api/rest/get_vaa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ where
)
.await
.map_err(|e| {
tracing::warn!(
tracing::debug!(
"Error getting price feed {:?} with update data: {:?}",
price_id,
e
Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/server/src/api/rest/get_vaa_ccip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ where
)
.await
.map_err(|e| {
tracing::warn!(
tracing::debug!(
"Error getting price feed {:?} with update data: {:?}",
price_id,
e
Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/server/src/api/rest/latest_price_feeds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ where
Aggregates::get_price_feeds_with_update_data(state, &price_ids, RequestTime::Latest)
.await
.map_err(|e| {
tracing::warn!(
tracing::debug!(
"Error getting price feeds {:?} with update data: {:?}",
price_ids,
e
Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/server/src/api/rest/latest_vaas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ where
Aggregates::get_price_feeds_with_update_data(state, &price_ids, RequestTime::Latest)
.await
.map_err(|e| {
tracing::warn!(
tracing::debug!(
"Error getting price feeds {:?} with update data: {:?}",
price_ids,
e
Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/server/src/api/rest/v2/latest_price_updates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ where
Aggregates::get_price_feeds_with_update_data(state, &price_ids, RequestTime::Latest)
.await
.map_err(|e| {
tracing::warn!(
tracing::debug!(
"Error getting price feeds {:?} with update data: {:?}",
price_ids,
e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ where
Aggregates::get_latest_publisher_stake_caps_with_update_data(state)
.await
.map_err(|e| {
tracing::warn!(
tracing::debug!(
"Error getting publisher stake caps with update data: {:?}",
e
);
Expand Down
2 changes: 1 addition & 1 deletion apps/hermes/server/src/api/rest/v2/latest_twaps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ where
)
.await
.map_err(|e| {
tracing::warn!(
tracing::debug!(
"Error getting TWAPs for price IDs {:?} with update data: {:?}",
price_ids,
e
Expand Down
4 changes: 2 additions & 2 deletions apps/hermes/server/src/state/aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ where
// to guarantee that the start and end messages are window_seconds apart
let start_timestamp = if end_messages.is_empty() {
// If there are no end messages, we can't calculate a TWAP
tracing::warn!(
tracing::debug!(
price_ids = ?price_ids,
time = ?end_time,
"Could not find TWAP messages"
Expand Down Expand Up @@ -693,7 +693,7 @@ where
.await?;

if start_messages.is_empty() {
tracing::warn!(
tracing::debug!(
price_ids = ?price_ids,
time = ?start_time,
"Could not find TWAP messages"
Expand Down
Loading