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

fix: Added missing values for HistoryError to be sync with nwaku #1952

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
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
8 changes: 6 additions & 2 deletions packages/proto/src/generated/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,16 @@ export interface HistoryResponse {
export namespace HistoryResponse {
export enum HistoryError {
NONE = 'NONE',
INVALID_CURSOR = 'INVALID_CURSOR'
INVALID_CURSOR = 'INVALID_CURSOR',
TOO_MANY_RESULTS = 'TOO_MANY_RESULTS',
SERVICE_UNAVAILABLE = 'SERVICE_UNAVAILABLE'
}

enum __HistoryErrorValues {
NONE = 0,
INVALID_CURSOR = 1
INVALID_CURSOR = 1,
TOO_MANY_RESULTS = 429,
SERVICE_UNAVAILABLE = 503
}

export namespace HistoryError {
Expand Down
2 changes: 2 additions & 0 deletions packages/proto/src/lib/store.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ message HistoryResponse {
enum HistoryError {
NONE = 0;
INVALID_CURSOR = 1;
TOO_MANY_RESULTS = 429;
SERVICE_UNAVAILABLE = 503;
}
HistoryError error = 4;
}
Expand Down
Loading