-
Notifications
You must be signed in to change notification settings - Fork 281
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
fix: rpc "no port provided" error by backporting #1528
base: v0.34.x-celestia
Are you sure you want to change the base?
Conversation
@@ -24,7 +25,7 @@ const ( | |||
protoUNIX = "unix" | |||
) | |||
|
|||
//------------------------------------------------------------- | |||
var endsWithPortPattern = regexp.MustCompile(`:[0-9]+$`) |
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.
golangci-lint complains here
marked as a draft for a sec while I debug some simple but annoying IPv6 address handling. works locally, but fails here |
What's the actual problem here? Is it when you specify a rpc address as http://localhost:26657 as opposed to just localhost:26657 it doesn't work (because of the double colon) |
when I run most commands from the cli, I can't use most endpoints celestia-appd q tx 15D700B74DCFD16DD83295C650648B1B9A62150438A72C6E81D8548497B2061D --node https://rpc.lunaroasis.net
Error: post failed: Post "http://rpc.lunaroasis.net": dial tcp: address rpc.lunaroasis.net: missing port in address unless I use this branch, then it works like normal |
Description
fixing this insanely annoying error so we can actually use rpcs