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

[Test] verify that diagnostic events cannot fail #962

Closed
jayz22 opened this issue Jul 24, 2023 · 2 comments
Closed

[Test] verify that diagnostic events cannot fail #962

jayz22 opened this issue Jul 24, 2023 · 2 comments

Comments

@jayz22
Copy link
Contributor

jayz22 commented Jul 24, 2023

Diagnostic events are non-metered, not part of the protocol. So if they fail, they will trigger the error path, which will cause validators different behaviors depending on whether diagnostics are enabled or not.
We should test/audit all the diagnostic event generating paths to make sure they are infallible.
cc @sisuresh

@sisuresh
Copy link
Contributor

yeah this is something @dmkozh also mentioned to me recently. We should just swallow errors instead of propagating them.

@jayz22
Copy link
Contributor Author

jayz22 commented Nov 14, 2023

Resolved by #1123 and #1138

@jayz22 jayz22 closed this as completed Nov 14, 2023
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

2 participants