Skip to content
Closed
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
8 changes: 8 additions & 0 deletions lazer/publisher_sdk/proto/transaction_envelope.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package pyth_lazer_transaction;

import "google/protobuf/timestamp.proto";
import "pyth_lazer_transaction.proto";
import "governance_instruction.proto";

// Envelope containing signed transaction and context attached by Pyth Lazer.
// Created by Pyth Lazer Relayers, which also generate and attach the context.
Expand All @@ -24,9 +25,16 @@ message PayloadContext {
// [required] context set based on type of transaction
oneof context {
PublisherUpdateContext publisher_update_context = 2;
GovernanceInstructionContext governance_instruction_context = 3;
}
}

// Context contains status of each governance instruction found in transaction
message GovernanceInstructionContext {
// [required] the governance instruction
GovernanceInstruction governance_instruction = 2;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// Context contains status of each feed update found in transaction
message PublisherUpdateContext {
// [required] ID of publisher based on the access token used to connect
Expand Down
Loading