Skip to content

Commit

Permalink
chore: add price_info log in local store update (#144)
Browse files Browse the repository at this point in the history
This log can be helpful for publishers who want to confirm whether
their price updates are being received by the agent or not.
  • Loading branch information
ali-bahjati authored Sep 13, 2024
1 parent a538fc1 commit 557a79e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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 Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pyth-agent"
version = "2.11.0"
version = "2.11.1"
edition = "2021"

[[bin]]
Expand Down
1 change: 1 addition & 0 deletions src/agent/state/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."
);

Expand Down

0 comments on commit 557a79e

Please sign in to comment.