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

feat(core)!: separating core.ip into core.grpc.ip and core.rpc.ip #3153

Closed
wants to merge 3 commits into from

Conversation

distractedm1nd
Copy link
Member

Closes #2931, although I fail to understand the requirements for the second todo, so can add next.

Breaks config by changing core.IP -> (core.RPCIP, core.GRPCIP).

We keep the --core.ip flag, which lets the user set both IPs at once. But it cannot be passed together with either of the new flags.

Failure cases:
image

@distractedm1nd distractedm1nd added area:core_and_app Relationship with Core node and Celestia-App kind:break! Attached to breaking PRs labels Feb 1, 2024
@distractedm1nd distractedm1nd self-assigned this Feb 1, 2024
Copy link
Collaborator

@ramin ramin left a comment

Choose a reason for hiding this comment

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

would be good to add a few basic tests around the DefaultConfig and the IP switching while we're here

@distractedm1nd
Copy link
Member Author

What do you mean by IP switching? ParseFlags?

@ramin
Copy link
Collaborator

ramin commented Mar 6, 2024

replaced by #3242

@ramin ramin closed this Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core_and_app Relationship with Core node and Celestia-App kind:break! Attached to breaking PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request][RPC][CLI]: Make providing GRPC and RPC endpoints possible in separate URLs
2 participants