Skip to content

Commit c1ea76d

Browse files
committed
Omit deployments with missing RPCs from fee table
1 parent d260f76 commit c1ea76d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

components/EntropyDeployments.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export interface EntropyDeployment {
44
explorer: string;
55
delay: string;
66
gasLimit: string;
7-
rpc: string;
7+
rpc?: string;
88
nativeCurrency: string;
99
}
1010

@@ -393,7 +393,6 @@ export const EntropyDeployments: Record<string, EntropyDeployment> = {
393393
delay: "",
394394
gasLimit: "500K",
395395
network: "testnet",
396-
rpc: "",
397396
nativeCurrency: "MON",
398397
},
399398
};

pages/entropy/current-fees.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Note that the fees shown below will vary over time with prevailing gas prices on
99
<FeeTable
1010
deployments={Object.fromEntries(
1111
Object.entries(EntropyDeployments).filter(
12-
([k, v]) => v.network === "mainnet"
12+
([k, v]) => v.network === "mainnet" && v.rpc !== undefined
1313
)
1414
)}
1515
/>
@@ -19,7 +19,7 @@ Note that the fees shown below will vary over time with prevailing gas prices on
1919
<FeeTable
2020
deployments={Object.fromEntries(
2121
Object.entries(EntropyDeployments).filter(
22-
([k, v]) => v.network === "testnet"
22+
([k, v]) => v.network === "testnet" && v.rpc !== undefined
2323
)
2424
)}
2525
/>

0 commit comments

Comments
 (0)