Skip to content

Commit

Permalink
Fix enum naming
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Feb 12, 2024
1 parent c96c526 commit 9bb9eec
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions proto/apis/massa/api/v1/public.proto
Original file line number Diff line number Diff line change
Expand Up @@ -892,16 +892,18 @@ message NewSlotExecutionOutputsResponse {

// Finality level to filter on in streams
enum FinalityLevel {
// Unspecified (receive both)
FINALITY_LEVEL_UNSPECIFIED = 0;
// Candidate level
CANDIDATE = 0;
FINALITY_LEVEL_CANDIDATE = 1;
// Final level
FINAL = 1;
FINALITY_LEVEL_FINAL = 2;
}

// NewSlotABICallStacks request
message NewSlotABICallStacksRequest {
// Finality level to receive informations from
optional FinalityLevel finality_level = 1;
FinalityLevel finality_level = 1;
}

// NewSlotABICallStacks response
Expand Down

0 comments on commit 9bb9eec

Please sign in to comment.