From d49ff0a01e62b99f994cdefda11b7b6e37fb2412 Mon Sep 17 00:00:00 2001 From: Michael Danenberg <56533526+danenbm@users.noreply.github.com> Date: Tue, 31 Oct 2023 06:21:02 -0700 Subject: [PATCH] Clean up RPC endpoints (#1161) --- auction-house/cli/src/helpers/constants.ts | 2 +- auction-house/cli/src/helpers/upload/arweave-bundle.ts | 4 ++-- candy-machine/program/tests/initialize.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/auction-house/cli/src/helpers/constants.ts b/auction-house/cli/src/helpers/constants.ts index 6960eca891..1d4d183e4c 100644 --- a/auction-house/cli/src/helpers/constants.ts +++ b/auction-house/cli/src/helpers/constants.ts @@ -121,7 +121,7 @@ type Cluster = { export const CLUSTERS: Cluster[] = [ { name: 'mainnet-beta', - url: 'https://api.metaplex.solana.com/', + url: 'https://api.mainnet-beta.solana.com', }, { name: 'testnet', diff --git a/auction-house/cli/src/helpers/upload/arweave-bundle.ts b/auction-house/cli/src/helpers/upload/arweave-bundle.ts index 9a7aef39cf..cf293688f9 100644 --- a/auction-house/cli/src/helpers/upload/arweave-bundle.ts +++ b/auction-house/cli/src/helpers/upload/arweave-bundle.ts @@ -501,7 +501,7 @@ export async function* makeArweaveBundleUploadGenerator( walletKeyPair.secretKey, { timeout: 60000, - providerUrl: rpcUrl ?? 'https://api.metaplex.solana.com', + providerUrl: rpcUrl ?? 'https://api.mainnet-beta.solana.com', }, ) : new Bundlr( @@ -510,7 +510,7 @@ export async function* makeArweaveBundleUploadGenerator( walletKeyPair.secretKey, { timeout: 60000, - providerUrl: 'https://metaplex.devnet.rpcpool.com', + providerUrl: 'https://api.devnet.solana.com', }, ) : undefined; diff --git a/candy-machine/program/tests/initialize.rs b/candy-machine/program/tests/initialize.rs index 3d1a3b9f62..25affb15e5 100644 --- a/candy-machine/program/tests/initialize.rs +++ b/candy-machine/program/tests/initialize.rs @@ -102,7 +102,7 @@ async fn bot_tax_on_gatekeeper_expire_token() { let gatekeeper_network = Keypair::new(); let gatekeeper_authority = Keypair::new(); - let client = RpcClient::new("https://metaplex.devnet.rpcpool.com".to_string()); + let client = RpcClient::new("https://api.devnet.solana.com".to_string()); let gateway_account_pubkey = GATEWAY_ACCOUNT_PUBKEY; let gateway_executable_pubkey = @@ -240,7 +240,7 @@ async fn bot_tax_on_gatekeeper() { let gatekeeper_network = Keypair::new(); let gatekeeper_authority = Keypair::new(); - let client = RpcClient::new("https://metaplex.devnet.rpcpool.com".to_string()); + let client = RpcClient::new("https://api.devnet.solana.com".to_string()); let gateway_account_pubkey = GATEWAY_ACCOUNT_PUBKEY; let gateway_executable_pubkey =