Skip to content

Commit

Permalink
chore: Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: candida-d <[email protected]>
  • Loading branch information
jeremyletang and candida-d committed Aug 7, 2024
1 parent 70b93a0 commit 6ed5bf7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions protos/sources/vega/events/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -595,27 +595,27 @@ message TransactionResult {
STATUS_SUCCESS = 1;
// The transaction partially succeeded.
STATUS_PARTIAL_SUCCESS = 2;
// The transaction final state is failure.
// The transaction's final state is failure.
STATUS_FAILURE = 3;
}

// A mapping of a key to a list of errors.
message KeyErrors {
// The key.
string key = 1;
// The errors mapped to this key
// The errors mapped to this key.
repeated string errors = 2;
}

// Unique party ID for the related party
string party_id = 1;
// Status of the transaction, did it succeed or an error was raised.
// Status of the transaction, if it succeeded or an error was raised.
bool status = 2;
// Hash of the transaction
string hash = 3;
// Status of the transaction
// Backward compatible with previous events, as
// this field will default to UNSPECIEFIED by default.
// Status of the transaction.
// Backward compatible with previous events,
// as this field will default to UNSPECIFIED.
Status statusDetail = 4;

// Transaction itself as received by the network
Expand Down Expand Up @@ -667,7 +667,7 @@ message TransactionResult {
message FailureDetails {
// Error message explaining the reason for the transaction failing processing
string error = 1;
// A map of the detailed errors if any
// Map of the detailed errors, if any.
repeated KeyErrors errors = 2;
}
}
Expand Down

0 comments on commit 6ed5bf7

Please sign in to comment.