Skip to content
Merged
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
3 changes: 1 addition & 2 deletions components/EntropyDeployments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export interface EntropyDeployment {
explorer: string;
delay: string;
gasLimit: string;
rpc: string;
rpc?: string;
nativeCurrency: string;
}

Expand Down Expand Up @@ -393,7 +393,6 @@ export const EntropyDeployments: Record<string, EntropyDeployment> = {
delay: "",
gasLimit: "500K",
network: "testnet",
rpc: "",
nativeCurrency: "MON",
},
};
2 changes: 1 addition & 1 deletion components/FeeTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { StyledTd } from "./Table";
const FeeTable = ({
deployments,
}: {
deployments: Record<string, EntropyDeployment>;
deployments: Record<string, Required<EntropyDeployment>>;
}) => {
const [fees, setFees] = useState<Record<string, string>>({});

Expand Down
4 changes: 2 additions & 2 deletions pages/entropy/current-fees.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Note that the fees shown below will vary over time with prevailing gas prices on
<FeeTable
deployments={Object.fromEntries(
Object.entries(EntropyDeployments).filter(
([k, v]) => v.network === "mainnet"
([k, v]) => v.network === "mainnet" && v.rpc !== undefined
)
)}
/>
Expand All @@ -19,7 +19,7 @@ Note that the fees shown below will vary over time with prevailing gas prices on
<FeeTable
deployments={Object.fromEntries(
Object.entries(EntropyDeployments).filter(
([k, v]) => v.network === "testnet"
([k, v]) => v.network === "testnet" && v.rpc !== undefined
)
)}
/>
Loading