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

Infer 80/443 ports for http/https rpc-url #576

Merged
merged 3 commits into from
Apr 11, 2023
Merged

Infer 80/443 ports for http/https rpc-url #576

merged 3 commits into from
Apr 11, 2023

Conversation

leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Apr 10, 2023

What

Infer 80/443 ports for http/https rpc-url

Why

When not including a port in the rpc-url an error message is displayed because jsonrpsee requires the port to be specified (paritytech/jsonrpsee#1048). This is not particularly ergonomic. Although it has no otherwise functional impact and causes no other problem. Folks are just not accustomed to thinking about ports for http and https.

@leighmcculloch leighmcculloch marked this pull request as ready for review April 10, 2023 21:59
@leighmcculloch leighmcculloch linked an issue Apr 10, 2023 that may be closed by this pull request
@leighmcculloch leighmcculloch requested review from tsachiherman and removed request for paulbellamy April 10, 2023 22:02
@paulbellamy paulbellamy enabled auto-merge (squash) April 11, 2023 14:13
@paulbellamy paulbellamy merged commit c53cdb0 into main Apr 11, 2023
@paulbellamy paulbellamy deleted the rpcurlergo branch April 11, 2023 14:56
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.

--rpc-url seems to require a 443 port
3 participants