Skip to content

Commit

Permalink
Fix .dev
Browse files Browse the repository at this point in the history
Signed-off-by: deniallugo <[email protected]>
  • Loading branch information
Deniallugo committed Jul 29, 2022
1 parent d3fd18e commit 4edaef0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sdk/zksync.js/src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ export async function getDefaultProvider(
}
} else if (network === 'goerli-beta') {
if (transport === 'WS') {
return await Provider.newWebsocketProvider('wss://goerli-beta-api.zksync.io/jsrpc-ws', network);
return await Provider.newWebsocketProvider('wss://goerli-beta-api.zksync.dev/jsrpc-ws', network);
} else if (transport === 'HTTP') {
return await Provider.newHttpProvider(
'https://goerli-beta-api.zksync.io/jsrpc',
'https://goerli-beta-api.zksync.dev/jsrpc',
pollIntervalMilliSecs,
network
);
Expand Down
2 changes: 1 addition & 1 deletion sdk/zksync.js/src/rest-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export async function getDefaultRestProvider(
return await RestProvider.newProvider('https://rinkeby-api.zksync.io/api/v0.2', pollIntervalMilliSecs, network);
} else if (network === 'goerli-beta') {
return await RestProvider.newProvider(
'https://goerli-beta-api.zksync.io/api/v0.2',
'https://goerli-beta-api.zksync.dev/api/v0.2',
pollIntervalMilliSecs,
network
);
Expand Down

0 comments on commit 4edaef0

Please sign in to comment.