diff --git a/lazer/publisher_sdk/proto/transaction_envelope.proto b/lazer/publisher_sdk/proto/transaction_envelope.proto index bd89e9758e..a9ef8fadff 100644 --- a/lazer/publisher_sdk/proto/transaction_envelope.proto +++ b/lazer/publisher_sdk/proto/transaction_envelope.proto @@ -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. @@ -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; +} + // Context contains status of each feed update found in transaction message PublisherUpdateContext { // [required] ID of publisher based on the access token used to connect