diff --git a/internal/configs/sharding/mainnet.go b/internal/configs/sharding/mainnet.go index 0830662ef..e72a51adc 100644 --- a/internal/configs/sharding/mainnet.go +++ b/internal/configs/sharding/mainnet.go @@ -36,7 +36,7 @@ const ( // MainNetHTTPPattern is the http pattern for mainnet. MainNetHTTPPattern = "https://api.s%d.t.hmny.io" // MainNetWSPattern is the websocket pattern for mainnet. - MainNetWSPattern = "wss://api.s%d.t.hmny.io" + MainNetWSPattern = "wss://ws.s%d.t.hmny.io" ) // MainnetSchedule is the mainnet sharding configuration schedule. diff --git a/internal/configs/sharding/pangaea.go b/internal/configs/sharding/pangaea.go index 35a9e129c..3b14e9065 100644 --- a/internal/configs/sharding/pangaea.go +++ b/internal/configs/sharding/pangaea.go @@ -14,7 +14,7 @@ const ( // PangaeaHTTPPattern is the http pattern for pangaea. PangaeaHTTPPattern = "https://api.s%d.pga.hmny.io" // PangaeaWSPattern is the websocket pattern for pangaea. - PangaeaWSPattern = "wss://api.s%d.pga.hmny.io" + PangaeaWSPattern = "wss://ws.s%d.pga.hmny.io" // transaction throttling disabled on pangaea network pangaeaEnableTxnThrottling = false ) diff --git a/internal/configs/sharding/testnet.go b/internal/configs/sharding/testnet.go index ef5a0b150..1ee650fa1 100644 --- a/internal/configs/sharding/testnet.go +++ b/internal/configs/sharding/testnet.go @@ -33,7 +33,7 @@ const ( // TestNetHTTPPattern is the http pattern for testnet. TestNetHTTPPattern = "https://api.s%d.b.hmny.io" // TestNetWSPattern is the websocket pattern for testnet. - TestNetWSPattern = "wss://api.s%d.b.hmny.io" + TestNetWSPattern = "wss://ws.s%d.b.hmny.io" ) func (testnetSchedule) InstanceForEpoch(epoch *big.Int) Instance {