Skip to content

Commit

Permalink
Switch to prod relay host
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Jun 27, 2022
1 parent c8ba450 commit 7be541f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Example/IntegrationTests/Chat/ChatTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ final class ChatTests: XCTestCase {

func makeClient(prefix: String) -> Chat {
let logger = ConsoleLogger(suffix: prefix, loggingLevel: .debug)
let relayHost = "dev.relay.walletconnect.com"
let relayHost = "relay.walletconnect.com"
let projectId = "8ba9ee138960775e5231b70cc5ef1c3a"
let relayClient = RelayClient(relayHost: relayHost, projectId: projectId, socketFactory: SocketFactory(), logger: logger)
let keychain = KeychainStorage(keychainService: KeychainServiceFake(), serviceIdentifier: "")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ final class RelayClientEndToEndTests: XCTestCase {

let defaultTimeout: TimeInterval = 5

let relayHost = "dev.relay.walletconnect.com"
let relayHost = "relay.walletconnect.com"
let projectId = "8ba9ee138960775e5231b70cc5ef1c3a"
private var publishers = [AnyCancellable]()

Expand Down
2 changes: 1 addition & 1 deletion Example/IntegrationTests/Sign/SignClientTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final class SignClientTests: XCTestCase {

static private func makeClientDelegate(
name: String,
relayHost: String = "dev.relay.walletconnect.com",
relayHost: String = "relay.walletconnect.com",
projectId: String = "8ba9ee138960775e5231b70cc5ef1c3a"
) -> ClientDelegate {
let logger = ConsoleLogger(suffix: name, loggingLevel: .debug)
Expand Down
2 changes: 1 addition & 1 deletion Sources/WalletConnectSign/Sign/Sign.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Sign {
fatalError("Error - you must call configure(_:) before accessing the shared instance.")
}
relayClient = RelayClient(
relayHost: "dev.relay.walletconnect.com",
relayHost: "relay.walletconnect.com",
projectId: config.projectId,
socketFactory: config.socketFactory,
socketConnectionType: config.socketConnectionType
Expand Down
2 changes: 1 addition & 1 deletion Tests/WalletConnectSignTests/PairingEngineTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ final class PairingEngineTests: XCTestCase {

@MainActor
func testHandleSessionProposeResponse() async {
let uri = try! await engine.create()
let uri = try! await engine.create()
let pairing = storageMock.getPairing(forTopic: uri.topic)!
let topicA = pairing.topic
let relayOptions = RelayProtocolOptions(protocol: "", data: nil)
Expand Down

0 comments on commit 7be541f

Please sign in to comment.