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

Custom url #98

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Custom url #98

merged 2 commits into from
Apr 10, 2024

Conversation

taco-paco
Copy link
Contributor

Apologies that it went through couple iterations, motivation for this is:
We have a use case when we deploy services in containers, hence indexer gets its own IP. At this point communicating with it from da-rpc using 127.0.0.1 fails since it(da-rpc) is deployed in another container - relayer.

This PR intends to address this issue, requiring one to just provide custom url to the node. This allows such usages:

http://near-sffl-indexer:3030
http://ip:port

@taco-paco taco-paco requested a review from dndll as a code owner April 10, 2024 06:26
@firatNEAR firatNEAR self-requested a review April 10, 2024 11:44
Copy link
Contributor

@firatNEAR firatNEAR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use-case makes sense
LGTM

Copy link
Collaborator

@dndll dndll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have came across this hurdle too, lgtm

@dndll dndll merged commit ad8488f into Nuffle-Labs:main Apr 10, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants