Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const apiChainConfigToEntrySchema = ApiChainConfigSchema.transform((chain) => {

const entropyDeploymentsSchema = z.array(apiChainConfigToEntrySchema);

const HIDDEN_CHAINS = new Set(["taiko"]);
const HIDDEN_CHAINS = new Set(["swellchain", "swellchain_testnet", "taiko"]);

export async function fetchEntropyDeployments(
url: string,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ type ChainStatus = {
const HIDDEN_CHAIN_IDS = new Set<string>([
"injective_inevm",
"injective_inevm_testnet",
// Swell has been sunset; keep contract-manager records for internal history,
// but do not advertise it in the public docs.
"swellchain",
"swellchain_testnet",
]);
const CHAIN_REGISTRY_URL = "https://chainid.network/chains.json";
const CHAIN_REGISTRY_REVALIDATE_SECONDS = 60 * 60 * 24;
Expand Down
2 changes: 2 additions & 0 deletions apps/developer-hub/src/components/LazerTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ const HIDDEN_CHAIN_IDS = new Set<string>([
"ethereal_devnet",
"polynomial",
"polynomial_testnet",
"swellchain",
"swellchain_testnet",
]);

// Community-maintained EVM chain registry (https://github.com/ethereum-lists/chains).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ type MigrationDeployment = {
explorer?: string;
};

const HIDDEN_CHAIN_IDS = new Set<string>();
// Chains with contract-manager records that should not be advertised in the
// public docs.
const HIDDEN_CHAIN_IDS = new Set<string>(["swellchain", "swellchain_testnet"]);

const CHAIN_REGISTRY_URL = "https://chainid.network/chains.json";
const CHAIN_REGISTRY_REVALIDATE_SECONDS = 60 * 60 * 24;
Expand Down