From 0c1e9e22517fc615f859ca9f2f5bc6263a05b61b Mon Sep 17 00:00:00 2001 From: bbenligiray Date: Fri, 14 Apr 2023 12:48:40 +0300 Subject: [PATCH] Update network aliases in examples --- packages/airnode-examples/src/scripts/choose-integration.ts | 4 ++-- packages/airnode-examples/src/utils.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/airnode-examples/src/scripts/choose-integration.ts b/packages/airnode-examples/src/scripts/choose-integration.ts index 71fcab82d3..f6bf967286 100644 --- a/packages/airnode-examples/src/scripts/choose-integration.ts +++ b/packages/airnode-examples/src/scripts/choose-integration.ts @@ -130,11 +130,11 @@ const defaultProviderUrl = (network: string): string => { case 'localhost': // Hardhat network default return 'http://127.0.0.1:8545/'; - case 'goerli': + case 'ethereum-goerli-testnet': return getExamplePocketNetwork(network); case 'polygon-testnet': return `https://polygon-mumbai.g.alchemy.com/v2/`; - case 'sepolia': + case 'ethereum-sepolia-testnet': return 'https://sepolia.infura.io/v3/'; default: return getExamplePocketNetwork(network); diff --git a/packages/airnode-examples/src/utils.ts b/packages/airnode-examples/src/utils.ts index 8f7d6285b7..88403b150d 100644 --- a/packages/airnode-examples/src/utils.ts +++ b/packages/airnode-examples/src/utils.ts @@ -5,7 +5,7 @@ import prompts, { PromptObject } from 'prompts'; import isWsl from 'is-wsl'; import references from '@api3/airnode-protocol/deployments/references.json'; -export const supportedNetworks = ['sepolia', 'polygon-testnet', 'goerli'] as const; +export const supportedNetworks = ['ethereum-sepolia-testnet', 'polygon-testnet', 'ethereum-goerli-testnet'] as const; export interface IntegrationInfo { integration: string;