From 689b6bb0026bc5f3169a7fc429129870eca12c55 Mon Sep 17 00:00:00 2001 From: Mike Rolish Date: Fri, 10 Oct 2025 15:47:17 -0500 Subject: [PATCH 1/2] fix(lazer-protocol): Make JrpcId cloneable --- Cargo.lock | 6 +++--- lazer/sdk/rust/protocol/Cargo.toml | 2 +- lazer/sdk/rust/protocol/src/jrpc.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 01571c1f9a..72d91f816e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5711,7 +5711,7 @@ dependencies = [ "hex", "humantime-serde", "libsecp256k1 0.7.2", - "pyth-lazer-protocol 0.18.0", + "pyth-lazer-protocol 0.18.1", "reqwest 0.12.23", "serde", "serde_json", @@ -5746,7 +5746,7 @@ dependencies = [ [[package]] name = "pyth-lazer-protocol" -version = "0.18.0" +version = "0.18.1" dependencies = [ "alloy-primitives 0.8.25", "anyhow", @@ -5792,7 +5792,7 @@ dependencies = [ "fs-err", "protobuf", "protobuf-codegen", - "pyth-lazer-protocol 0.18.0", + "pyth-lazer-protocol 0.18.1", "serde_json", ] diff --git a/lazer/sdk/rust/protocol/Cargo.toml b/lazer/sdk/rust/protocol/Cargo.toml index 00b25998e8..6d018af070 100644 --- a/lazer/sdk/rust/protocol/Cargo.toml +++ b/lazer/sdk/rust/protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyth-lazer-protocol" -version = "0.18.0" +version = "0.18.1" edition = "2021" description = "Pyth Lazer SDK - protocol types." license = "Apache-2.0" diff --git a/lazer/sdk/rust/protocol/src/jrpc.rs b/lazer/sdk/rust/protocol/src/jrpc.rs index 99fd8105e7..16e42bc5d9 100644 --- a/lazer/sdk/rust/protocol/src/jrpc.rs +++ b/lazer/sdk/rust/protocol/src/jrpc.rs @@ -6,7 +6,7 @@ use crate::{api::Channel, price::Price}; use serde::{Deserialize, Serialize}; use std::time::Duration; -#[derive(Serialize, Deserialize, Debug, Default, Eq, PartialEq)] +#[derive(Serialize, Deserialize, Clone, Debug, Default, Eq, PartialEq)] #[serde(untagged)] pub enum JrpcId { String(String), From 0c431eaa06dccea9bc75384194f42ebc089c6920 Mon Sep 17 00:00:00 2001 From: Mike Rolish Date: Fri, 10 Oct 2025 16:02:45 -0500 Subject: [PATCH 2/2] bump other libs too --- Cargo.lock | 4 ++-- .../solana/programs/pyth-lazer-solana-contract/Cargo.toml | 2 +- lazer/publisher_sdk/rust/Cargo.toml | 4 ++-- lazer/sdk/rust/client/Cargo.toml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 72d91f816e..2a5502b186 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5693,7 +5693,7 @@ dependencies = [ [[package]] name = "pyth-lazer-client" -version = "8.4.0" +version = "8.4.1" dependencies = [ "alloy-primitives 0.8.25", "anyhow", @@ -5786,7 +5786,7 @@ dependencies = [ [[package]] name = "pyth-lazer-publisher-sdk" -version = "0.16.0" +version = "0.16.1" dependencies = [ "anyhow", "fs-err", diff --git a/lazer/contracts/solana/programs/pyth-lazer-solana-contract/Cargo.toml b/lazer/contracts/solana/programs/pyth-lazer-solana-contract/Cargo.toml index cbfcecccfb..6de20c6870 100644 --- a/lazer/contracts/solana/programs/pyth-lazer-solana-contract/Cargo.toml +++ b/lazer/contracts/solana/programs/pyth-lazer-solana-contract/Cargo.toml @@ -19,7 +19,7 @@ no-log-ix-name = [] idl-build = ["anchor-lang/idl-build"] [dependencies] -pyth-lazer-protocol = { path = "../../../../sdk/rust/protocol", version = "0.18.0" } +pyth-lazer-protocol = { path = "../../../../sdk/rust/protocol", version = "0.18.1" } anchor-lang = "0.31.1" bytemuck = { version = "1.20.0", features = ["derive"] } diff --git a/lazer/publisher_sdk/rust/Cargo.toml b/lazer/publisher_sdk/rust/Cargo.toml index b6ced09c55..1e71719e7d 100644 --- a/lazer/publisher_sdk/rust/Cargo.toml +++ b/lazer/publisher_sdk/rust/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "pyth-lazer-publisher-sdk" -version = "0.16.0" +version = "0.16.1" edition = "2021" description = "Pyth Lazer Publisher SDK types." license = "Apache-2.0" repository = "https://github.com/pyth-network/pyth-crosschain" [dependencies] -pyth-lazer-protocol = { version = "0.18.0", path = "../../sdk/rust/protocol" } +pyth-lazer-protocol = { version = "0.18.1", path = "../../sdk/rust/protocol" } anyhow = "1.0.98" protobuf = "3.7.2" serde_json = "1.0.140" diff --git a/lazer/sdk/rust/client/Cargo.toml b/lazer/sdk/rust/client/Cargo.toml index 3a736c3cc5..a86a2bcfec 100644 --- a/lazer/sdk/rust/client/Cargo.toml +++ b/lazer/sdk/rust/client/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "pyth-lazer-client" -version = "8.4.0" +version = "8.4.1" edition = "2021" description = "A Rust client for Pyth Lazer" license = "Apache-2.0" [dependencies] -pyth-lazer-protocol = { path = "../protocol", version = "0.18.0" } +pyth-lazer-protocol = { path = "../protocol", version = "0.18.1" } tokio = { version = "1", features = ["full"] } tokio-tungstenite = { version = "0.20", features = ["native-tls"] } futures-util = "0.3"