Skip to content

Commit 39b987e

Browse files
danwtclaude
andauthored
fix: use correct websocket URL scheme (wss://) in hub configurations (#1432)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0c2d1cd commit 39b987e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/consts/dymension.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var MainnetHubData = HubData{
55
ApiUrl: "https://dymension.api.onfinality.io:443/public",
66
ID: MainnetHubID,
77
RpcUrl: "https://dymension.api.onfinality.io:443/tendermint/public",
8-
WsUrl: "https://dymension.api.onfinality.io:443/public-ws",
8+
WsUrl: "wss://dymension.api.onfinality.io:443/public-ws",
99
ArchiveRpcUrl: "https://dymension.api.onfinality.io:443/tendermint/public",
1010
GasPrice: "7000000000",
1111
}
@@ -15,7 +15,7 @@ var BlumbusHubData = HubData{
1515
ApiUrl: "https://api-blumbus.mzonder.com:443",
1616
ID: BlumbusHubID,
1717
RpcUrl: "https://rpc-blumbus.mzonder.com:443",
18-
WsUrl: "https://rpc-blumbus.mzonder.com:443",
18+
WsUrl: "wss://rpc-blumbus.mzonder.com:443",
1919
ArchiveRpcUrl: "https://rpc-blumbus-archive.mzonder.com:443",
2020
GasPrice: "20000000000",
2121
}
@@ -25,7 +25,7 @@ var LocalHubData = HubData{
2525
ApiUrl: "http://localhost:1318",
2626
ID: LocalHubID,
2727
RpcUrl: "http://localhost:36657",
28-
WsUrl: "http://localhost:36657",
28+
WsUrl: "ws://localhost:36657",
2929
ArchiveRpcUrl: "http://localhost:36657",
3030
GasPrice: "100000000",
3131
}
@@ -45,7 +45,7 @@ var PlaygroundHubData = HubData{
4545
ApiUrl: "https://api-dymension-playground35.mzonder.com:443",
4646
ID: PlaygroundHubID,
4747
RpcUrl: "https://rpc-dymension-playground35.mzonder.com:443",
48-
WsUrl: "https://rpc-dymension-playground35.mzonder.com:443",
48+
WsUrl: "wss://rpc-dymension-playground35.mzonder.com:443",
4949
ArchiveRpcUrl: "https://rpc-dymension-playground35.mzonder.com:443",
5050
GasPrice: "2000000000",
5151
}

0 commit comments

Comments
 (0)