Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api):better TransactionState.TransactionState->TransactionState.… #284

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions spacemesh/v1/tx_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down