Skip to content

Commit 5d7c6af

Browse files
authored
chore(lazer/publisher-sdk): Add Rejections for Market Closed and Unauthorized (#2930)
* add two more rejection options * bump publisher sdk version * rename unpermissioned * bump protocol for publisher sdk * bump lazer client protocol verison too
1 parent 6635edd commit 5d7c6af

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lazer/publisher_sdk/proto/transaction_envelope.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,6 @@ enum RejectReason {
6565
InvalidFeedId = 3;
6666
MissingFields = 4;
6767
InactiveFeedId = 5;
68+
MarketClosed = 6;
69+
Unauthorized = 7;
6870
}

lazer/publisher_sdk/rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[package]
22
name = "pyth-lazer-publisher-sdk"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
edition = "2021"
55
description = "Pyth Lazer Publisher SDK types."
66
license = "Apache-2.0"
77
repository = "https://github.com/pyth-network/pyth-crosschain"
88

99
[dependencies]
10-
pyth-lazer-protocol = { version = "0.10.1", path = "../../sdk/rust/protocol" }
10+
pyth-lazer-protocol = { version = "0.10.2", path = "../../sdk/rust/protocol" }
1111
anyhow = "1.0.98"
1212
protobuf = "3.7.2"
1313
serde_json = "1.0.140"

lazer/sdk/rust/client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "A Rust client for Pyth Lazer"
66
license = "Apache-2.0"
77

88
[dependencies]
9-
pyth-lazer-protocol = { path = "../protocol", version = "0.10.1" }
9+
pyth-lazer-protocol = { path = "../protocol", version = "0.10.2" }
1010
tokio = { version = "1", features = ["full"] }
1111
tokio-tungstenite = { version = "0.20", features = ["native-tls"] }
1212
futures-util = "0.3"

0 commit comments

Comments
 (0)