Skip to content

Commit 30e6aa5

Browse files
Merge pull request #3254 from pyth-network/devin/1764755696-entropy-chainlist-updates
Add Monad explorer link and hide Taiko from Entropy chainlist
2 parents 602bd9a + 110bec7 commit 30e6aa5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

apps/developer-hub/src/components/EntropyTable/entropy-api-data-fetcher.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ const apiChainConfigToEntrySchema = ApiChainConfigSchema.transform((chain) => {
5454

5555
const entropyDeploymentsSchema = z.array(apiChainConfigToEntrySchema);
5656

57+
const HIDDEN_CHAINS = new Set(["taiko"]);
58+
5759
export async function fetchEntropyDeployments(
5860
url: string,
5961
): Promise<Record<string, EntropyDeployment>> {
6062
const response = await fetch(url);
6163
const entries = entropyDeploymentsSchema.parse(await response.json());
62-
return Object.fromEntries(entries);
64+
return Object.fromEntries(
65+
entries.filter(([name]) => !HIDDEN_CHAINS.has(name)),
66+
);
6367
}

apps/developer-hub/src/components/EntropyTable/entropy-deployments-config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ export const EntropyDeploymentsConfig: Record<string, ChainOverride> = {
2424
},
2525
"143": {
2626
nativeCurrency: "MON",
27+
explorer: "https://monadvision.com",
2728
},
2829
};

0 commit comments

Comments
 (0)