-
Notifications
You must be signed in to change notification settings - Fork 53
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
feat: Enhance lightpush protocol error handling #2722
Comments
@chair28980 : Please help me add/create proper epic label for this issue. Thank you. |
@NagyZoltanPeter - Thanks for creating that! |
I will add a PR on the existing light push RFC this evening. |
One more thing that will be great to be rid of is the unnecessarily nested The protocol can simply be a |
@Ivansete-status
|
It is blocked until the new implementation in nim-libp2p is completed ( cc @NagyZoltanPeter ) |
Problem
Deriving from [Epic] Enhance light push protocol there is a certain need to enhance lightpush protocol error handling and request-responses to allow users properly answer to certain situation.
Suggested solution
Define proper Response RPC that reflects all possible edge cases.
For success case:
Hint:
Because of the lack of proper error propagation from GossipSub layer we probably will need to duplicate some checks to filter out such conditions.
With extending the waku_relay interface it is possible to reuse GossipSub level validators that can check against the message whished to push.
Additional context
This is a breaking change, that must be tested and introduced with care and in alignment with other subsidiaries like js-waku/go-waku.
Acceptance criteria
The text was updated successfully, but these errors were encountered: