-
Notifications
You must be signed in to change notification settings - Fork 4
feat: support of http-path
multiaddresses
#116
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
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
http-path
multiaddresseshttp-path
multiaddresses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there!
Please see my comments below for what to improve.
On aside
The implementation in multiaddrToHttpUrl()
is becoming a bit complex too my taste, but I think that's ok:
- The complexity is fully contained inside
multiaddrToHttpUrl()
. This function is changed infrequently, so the complexity does not matter that much. - We have very high test coverage. It will be easy to refactor this function later because the tests will guide us and prevent regressions.
- The current implementation supports what we need right now, as demonstrated by the test cases.
Co-authored-by: Miroslav Bajtoš <[email protected]>
Co-authored-by: Julian Gruber <[email protected]>
Co-authored-by: Julian Gruber <[email protected]>
Co-authored-by: Julian Gruber <[email protected]>
Co-authored-by: Julian Gruber <[email protected]>
Co-authored-by: Julian Gruber <[email protected]>
Co-authored-by: Julian Gruber <[email protected]>
Co-authored-by: Julian Gruber <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
@NikolasHaimerl unfortunately CI currently frequently fails, as IPNI is having issues :| |
I'm asking IPNI about it here: https://space-meridian.slack.com/archives/C02T827T9N0/p1740479104123989 |
For some reason GitHub shows me that @bajtos requested changes, but I don't see any open change request.
CHANGELOG
http-path
multi addresses inmultiaddrToHttpUrl
http-path
linkshttp-path
linksImplementation Plan
Subtask of:
CheckerNetwork/roadmap#239
Related Issue:
CheckerNetwork/piece-indexer#117