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
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions lazer/publisher_sdk/proto/governance_instruction.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ message GovernanceInstruction {
// permanently rejected (e.g. if instruction #3 has been successfully processed before
// instruction #2 was observed, #2 will always be rejected). Sequence numbers are assigned and
// tracked separately for each governance source.
optional uint32 governance_sequence_no = 5;
optional uint64 governance_sequence_no = 5;
}

// Specifies which shards the governance instruction applies to.
Expand Down Expand Up @@ -112,6 +112,9 @@ message CreateShard {
// Shard ID must be unique across all shards in all groups.
// (Warning: it's not possible to enforce this rule within a shard!)
optional uint32 shard_id = 1;
// [required] Shard name. Must be unique. Used for governance instruction targeting and
// for logs, metrics, etc. Example: "shard1.tokyo.staging.pyth-lazer"
optional string shard_name = 4;
// [required] Group name, e.g. "production", "staging", "testing", etc.
// Data from shards belonging to the same group can be joined and served to consumers as a whole.
// Active feed names must be unique within a group, but not across all groups.
Expand Down Expand Up @@ -254,7 +257,7 @@ message AddFeed {
// [required]
optional DynamicValue.Map metadata = 3;
// [required]
optional string name = 101;
optional string symbol = 101;
// [required]
optional sint32 exponent = 102;
// [required]
Expand Down Expand Up @@ -301,7 +304,7 @@ message UpdateFeedProperties {
// [optional]
optional DynamicValue.Map metadata = 3;
// [optional]
optional string name = 101;
optional string symbol = 101;
// [optional]
optional sint32 exponent = 102;
// [optional]
Expand Down
4 changes: 2 additions & 2 deletions lazer/publisher_sdk/proto/state.proto
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ message Feed {
// are not directly used in the aggregator.
optional DynamicValue.Map metadata = 3;

// [required] A readable feed name. It must be unique across all feeds in the shard.
// [required] A unique string identifier of the feed that captures all the information related to the feed.
// Used for logs, metrics, feed search API, TradingView API.
optional string name = 101;
optional string symbol = 101;
// [required] Exponent applied to all price and rate values for this feed.
// Actual value is `mantissa * 10 ^ exponent`.
// Restricted to int16.
Expand Down
2 changes: 1 addition & 1 deletion lazer/publisher_sdk/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pyth-lazer-publisher-sdk"
version = "0.10.0"
version = "0.11.0"
edition = "2021"
description = "Pyth Lazer Publisher SDK types."
license = "Apache-2.0"
Expand Down