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

Handle errors #9

Closed
jiguantong opened this issue Oct 21, 2024 · 0 comments
Closed

Handle errors #9

jiguantong opened this issue Oct 21, 2024 · 0 comments
Assignees

Comments

@jiguantong
Copy link
Collaborator

jiguantong commented Oct 21, 2024

API error

Any http error, including parameter errors, API unreachable errors, etc.
Allow error reporting. When the threshold error is reached, do not aggregate and directly publish the error.

Insufficient gas when publishing

ringecosystem/xapi-offchain#10
When the left gas may be insufficient, mark the request and try to publish it. When publishing it next time, publish an error message with very little gas. (Deprecated, because remark will be reverted when gas is insufficient)

Set the report limit size? If the limit is exceeded, reporter node can report error, treated as an API error 👆

Error callback?

Callback method for error?

try_aggregator_external?

Allow anyone to call try_aggregator?

@jiguantong jiguantong self-assigned this Oct 21, 2024
@jiguantong jiguantong mentioned this issue Oct 21, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant