Skip to content

Commit

Permalink
Merge branch 'release/desktop-canary-4.0.0' into feat/prepare-canary-…
Browse files Browse the repository at this point in the history
…release
  • Loading branch information
cpl121 authored May 13, 2024
2 parents 8925027 + 25800c5 commit 36d28db
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export const EXPLORER_URLS: Readonly<{ [key in NetworkId]?: string }> = {
[NetworkId.Iota]: 'https://explorer.iota.org/mainnet',
[NetworkId.IotaAlphanet]: 'https://explorer.iota-alphanet.iotaledger.net/devnet',
[NetworkId.Shimmer]: 'https://explorer.shimmer.network/shimmer',
[NetworkId.Testnet]: 'https://explorer.shimmer.network/testnet',
[NetworkId.Testnet]: 'https://explorer.iota.works/iota2-testnet',
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { NetworkId } from '../enums'

export const FAUCET_URLS: Readonly<{ [key in NetworkId]?: string }> = {
[NetworkId.IotaAlphanet]: 'https://faucet.iota-alphanet.iotaledger.net/api/enqueue',
[NetworkId.Testnet]: 'https://faucet.testnet.shimmer.network/api/enqueue',
[NetworkId.Testnet]: 'https://faucet.nova-testnet.iotaledger.net/api/enqueue',
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export const OFFICIAL_NODE_URLS: Readonly<{ [key in NetworkId]?: string[] }> = {
[NetworkId.Iota]: ['https://api.stardust-mainnet.iotaledger.net', 'https://iota-node.tanglebay.com'],
[NetworkId.IotaAlphanet]: ['https://api.iota-alphanet.iotaledger.net'],
[NetworkId.Shimmer]: ['https://api.shimmer.network', 'https://shimmer-node.tanglebay.com'],
[NetworkId.Testnet]: ['https://api.testnet.shimmer.network'],
[NetworkId.Testnet]: ['https://api.nova-testnet.iotaledger.net/'],
}
2 changes: 1 addition & 1 deletion packages/shared/lib/core/network/tests/network.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('File: network.ts', () => {
[NetworkId.Iota]: ['https://api.stardust-mainnet.iotaledger.net', 'https://iota-node.tanglebay.com'],
[NetworkId.IotaAlphanet]: ['https://api.iota-alphanet.iotaledger.net'],
[NetworkId.Shimmer]: ['https://api.shimmer.network', 'https://shimmer-node.tanglebay.com'],
[NetworkId.Testnet]: ['https://api.testnet.shimmer.network'],
[NetworkId.Testnet]: ['https://api.nova-testnet.iotaledger.net/'],
}

const EXPECTED_NODES: Readonly<{ [key in NetworkId]: (INode | undefined)[] }> = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NetworkId } from '../enums'

export function getNetworkIdFromNetworkName(networkName: string): NetworkId {
if (networkName.startsWith('iota2-alphanet')) {
if (networkName.startsWith('nova-testnet')) {
return NetworkId.Testnet
}
switch (networkName) {
Expand Down

0 comments on commit 36d28db

Please sign in to comment.