From ad5e6ab7049dd312d1546578f522687677e9002e Mon Sep 17 00:00:00 2001 From: Darun Seethammagari Date: Wed, 6 Aug 2025 15:59:42 -0700 Subject: [PATCH 1/5] add two more rejection options --- lazer/publisher_sdk/proto/transaction_envelope.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lazer/publisher_sdk/proto/transaction_envelope.proto b/lazer/publisher_sdk/proto/transaction_envelope.proto index d6c5f1056f..dc5b5ecf1d 100644 --- a/lazer/publisher_sdk/proto/transaction_envelope.proto +++ b/lazer/publisher_sdk/proto/transaction_envelope.proto @@ -65,4 +65,6 @@ enum RejectReason { InvalidFeedId = 3; MissingFields = 4; InactiveFeedId = 5; + MarketClosed = 6; + Unpermissioned = 7; } From 18ac1dc7ac27d1d1eab22589c791152b199aead0 Mon Sep 17 00:00:00 2001 From: Darun Seethammagari Date: Wed, 6 Aug 2025 16:04:15 -0700 Subject: [PATCH 2/5] bump publisher sdk version --- Cargo.lock | 2 +- lazer/publisher_sdk/rust/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 84102dcb41..97131ea841 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5728,7 +5728,7 @@ dependencies = [ [[package]] name = "pyth-lazer-publisher-sdk" -version = "0.4.0" +version = "0.4.1" dependencies = [ "anyhow", "fs-err", diff --git a/lazer/publisher_sdk/rust/Cargo.toml b/lazer/publisher_sdk/rust/Cargo.toml index 3ddd1802cf..f05d3dc833 100644 --- a/lazer/publisher_sdk/rust/Cargo.toml +++ b/lazer/publisher_sdk/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyth-lazer-publisher-sdk" -version = "0.4.0" +version = "0.4.1" edition = "2021" description = "Pyth Lazer Publisher SDK types." license = "Apache-2.0" From 7e6d4b1c629fac294a96a24f12ea4abc47d77e4c Mon Sep 17 00:00:00 2001 From: Darun Seethammagari Date: Wed, 6 Aug 2025 16:09:56 -0700 Subject: [PATCH 3/5] rename unpermissioned --- lazer/publisher_sdk/proto/transaction_envelope.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazer/publisher_sdk/proto/transaction_envelope.proto b/lazer/publisher_sdk/proto/transaction_envelope.proto index dc5b5ecf1d..b75a5c4b54 100644 --- a/lazer/publisher_sdk/proto/transaction_envelope.proto +++ b/lazer/publisher_sdk/proto/transaction_envelope.proto @@ -66,5 +66,5 @@ enum RejectReason { MissingFields = 4; InactiveFeedId = 5; MarketClosed = 6; - Unpermissioned = 7; + Unauthorized = 7; } From ce53db88e63724f75565d7597e112707aec35e02 Mon Sep 17 00:00:00 2001 From: Darun Seethammagari Date: Wed, 6 Aug 2025 16:14:20 -0700 Subject: [PATCH 4/5] bump protocol for publisher sdk --- lazer/publisher_sdk/rust/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazer/publisher_sdk/rust/Cargo.toml b/lazer/publisher_sdk/rust/Cargo.toml index f05d3dc833..e5f41dc10b 100644 --- a/lazer/publisher_sdk/rust/Cargo.toml +++ b/lazer/publisher_sdk/rust/Cargo.toml @@ -7,7 +7,7 @@ license = "Apache-2.0" repository = "https://github.com/pyth-network/pyth-crosschain" [dependencies] -pyth-lazer-protocol = { version = "0.10.1", path = "../../sdk/rust/protocol" } +pyth-lazer-protocol = { version = "0.10.2", path = "../../sdk/rust/protocol" } anyhow = "1.0.98" protobuf = "3.7.2" serde_json = "1.0.140" From 60274b68461ac54603e5a7ffb65089d72c55a78c Mon Sep 17 00:00:00 2001 From: Darun Seethammagari Date: Wed, 6 Aug 2025 16:31:55 -0700 Subject: [PATCH 5/5] bump lazer client protocol verison too --- lazer/sdk/rust/client/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazer/sdk/rust/client/Cargo.toml b/lazer/sdk/rust/client/Cargo.toml index 35de9978a3..36927a49ed 100644 --- a/lazer/sdk/rust/client/Cargo.toml +++ b/lazer/sdk/rust/client/Cargo.toml @@ -6,7 +6,7 @@ description = "A Rust client for Pyth Lazer" license = "Apache-2.0" [dependencies] -pyth-lazer-protocol = { path = "../protocol", version = "0.10.1" } +pyth-lazer-protocol = { path = "../protocol", version = "0.10.2" } tokio = { version = "1", features = ["full"] } tokio-tungstenite = { version = "0.20", features = ["native-tls"] } futures-util = "0.3"