From c9ff2af7f05d8633732a871b526081567cf7af22 Mon Sep 17 00:00:00 2001 From: liyf Date: Tue, 19 Dec 2023 19:56:55 +0800 Subject: [PATCH] fix the message TransactionState and the enum TransactionState got conflicting when generate Java classes. --- spacemesh/v1/tx_types.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacemesh/v1/tx_types.proto b/spacemesh/v1/tx_types.proto index 7f9655b8..9b377fc8 100644 --- a/spacemesh/v1/tx_types.proto +++ b/spacemesh/v1/tx_types.proto @@ -43,7 +43,7 @@ message TransactionsStateStreamResponse { // and its side effects, check the Receipt in the GlobalStateService. message TransactionState { TransactionId id = 1; - enum TransactionState { + enum TransactionStateEnum { TRANSACTION_STATE_UNSPECIFIED = 0; // default state TRANSACTION_STATE_REJECTED = 1; // rejected from mempool due to, e.g., invalid syntax TRANSACTION_STATE_INSUFFICIENT_FUNDS = 2; // rejected from mempool by funds check @@ -52,7 +52,7 @@ message TransactionState { TRANSACTION_STATE_MESH = 5; // submitted to the mesh TRANSACTION_STATE_PROCESSED = 6; // processed by STF; check Receipt for success or failure } - TransactionState state = 2; + TransactionStateEnum state = 2; } // TransactionResultsRequest request object for results stream.