Skip to content
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
6 changes: 3 additions & 3 deletions apps/pyth-lazer-agent/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "pyth-lazer-agent"
version = "0.5.0"
version = "0.5.1"
edition = "2024"
description = "Pyth Lazer Agent"
license = "Apache-2.0"
repository = "https://github.com/pyth-network/pyth-crosschain"

[dependencies]
pyth-lazer-publisher-sdk = "0.10.0"
pyth-lazer-protocol = "0.14.0"
pyth-lazer-publisher-sdk = "0.12.1"
pyth-lazer-protocol = "0.15.1"

anyhow = "1.0.98"
backoff = "0.4.0"
Expand Down
6 changes: 6 additions & 0 deletions apps/pyth-lazer-agent/src/jrpc_handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ async fn handle_jrpc_inner<T: AsyncRead + AsyncWrite + Unpin>(
JrpcCall::PushUpdate(request_params) => {
handle_push_update(sender, lazer_publisher, request_params, jrpc_request.id).await
}
JrpcCall::PushUpdates(request_params) => {
for feed in request_params {
handle_push_update(sender, lazer_publisher, feed, jrpc_request.id).await?;
}
Ok(())
}
JrpcCall::GetMetadata(request_params) => {
if let Some(request_id) = jrpc_request.id {
handle_get_metadata(sender, config, request_params, request_id).await
Expand Down