Skip to content

Commit ffcb400

Browse files
authored
fix(lazer): add missing feed kind field, fix allowed_feed_ids type in governance messages (#3083)
* fix(lazer): add missing feed kind field, fix allowed_feed_ids type in governance messages * chore: bump version
1 parent e368873 commit ffcb400

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
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/governance_instruction.proto

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,19 +230,19 @@ message SetPublisherPublicKeys {
230230
// Allow publisher to publish for the specified feeds.
231231
message AddPublisherAllowedFeedIds {
232232
// Must not be empty.
233-
repeated bytes allowed_feed_ids_to_add = 1;
233+
repeated uint32 allowed_feed_ids_to_add = 1;
234234
}
235235

236236
// Disallow publisher to publish for the specified feeds.
237237
message RemovePublisherAllowedFeedIds {
238238
// Must not be empty.
239-
repeated bytes allowed_feed_ids_to_remove = 1;
239+
repeated uint32 allowed_feed_ids_to_remove = 1;
240240
}
241241

242242
// Allow publisher to publish for only the specified feeds.
243243
// Remove all previous allowances.
244244
message SetPublisherAllowedFeedIds {
245-
repeated bytes allowed_feed_ids = 1;
245+
repeated uint32 allowed_feed_ids = 1;
246246
}
247247

248248
message SetPublisherActive {
@@ -317,6 +317,8 @@ message UpdateFeedProperties {
317317
optional string market_schedule = 106;
318318
// [optional]
319319
optional FeedState state = 107;
320+
// [required]
321+
optional FeedKind kind = 108;
320322
// [optional]
321323
optional bool is_enabled_in_shard = 201;
322324
}

lazer/publisher_sdk/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth-lazer-publisher-sdk"
3-
version = "0.13.0"
3+
version = "0.14.0"
44
edition = "2021"
55
description = "Pyth Lazer Publisher SDK types."
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)