From 557a79e6ccddd5ce414ef77cd492a6cec764b71c Mon Sep 17 00:00:00 2001 From: Ali Behjati Date: Fri, 13 Sep 2024 13:39:00 +0200 Subject: [PATCH] chore: add price_info log in local store update (#144) This log can be helpful for publishers who want to confirm whether their price updates are being received by the agent or not. --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/agent/state/local.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 344eb17..de38d8c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3400,7 +3400,7 @@ dependencies = [ [[package]] name = "pyth-agent" -version = "2.11.0" +version = "2.11.1" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 568cbd2..e6144cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyth-agent" -version = "2.11.0" +version = "2.11.1" edition = "2021" [[bin]] diff --git a/src/agent/state/local.rs b/src/agent/state/local.rs index 5e22829..a8d9a14 100644 --- a/src/agent/state/local.rs +++ b/src/agent/state/local.rs @@ -84,6 +84,7 @@ where ) -> Result<()> { tracing::debug!( identifier = bs58::encode(price_identifier.to_bytes()).into_string(), + price_update = ?price_info, "Local store received price update." );