From 58aa3bc8b0f8a1dd7fd9ec006ff870d59d8c01be Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Mon, 2 May 2022 11:42:47 +0200 Subject: proto: Enforce comment-linting for enum fields Enforce that enum fields must have a comment and add a placeholder for all instances where such a comment is missing. --- proto/transaction.proto | 3 +++ 1 file changed, 3 insertions(+) (limited to 'proto/transaction.proto') diff --git a/proto/transaction.proto b/proto/transaction.proto index 4e8864c81..992178165 100644 --- a/proto/transaction.proto +++ b/proto/transaction.proto @@ -75,8 +75,11 @@ message VoteTransactionResponse { // The outcome of the given transaction telling the client whether the // transaction should be committed or rolled back. enum TransactionState { + // This comment is left unintentionally blank. COMMIT = 0; + // This comment is left unintentionally blank. ABORT = 1; + // This comment is left unintentionally blank. STOP = 2; } -- cgit v1.2.3