Skip to content

Commit

Permalink
Fix enum values
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Feb 12, 2024
1 parent 695a4d8 commit c96c526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proto/apis/massa/api/v1/public.proto
Original file line number Diff line number Diff line change
Expand Up @@ -893,9 +893,9 @@ message NewSlotExecutionOutputsResponse {
// Finality level to filter on in streams
enum FinalityLevel {
// Candidate level
CANDIDATE = 1;
CANDIDATE = 0;

Check failure on line 896 in proto/apis/massa/api/v1/public.proto

View workflow job for this annotation

GitHub Actions / check

Enum value name "CANDIDATE" should be prefixed with "FINALITY_LEVEL_".

Check failure on line 896 in proto/apis/massa/api/v1/public.proto

View workflow job for this annotation

GitHub Actions / check

Enum zero value name "CANDIDATE" should be suffixed with "_UNSPECIFIED".
// Final level
FINAL = 2;
FINAL = 1;

Check failure on line 898 in proto/apis/massa/api/v1/public.proto

View workflow job for this annotation

GitHub Actions / check

Enum value name "FINAL" should be prefixed with "FINALITY_LEVEL_".
}

// NewSlotABICallStacks request
Expand Down

0 comments on commit c96c526

Please sign in to comment.