Skip to content
Closed
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
4 changes: 2 additions & 2 deletions src/app/routes/create-cluster/upload-keyshares.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import { useNavigate } from "react-router";
import { ref } from "valtio";
import { Tooltip } from "@/components/ui/tooltip";
import { globals } from "@/config";
import { globals, links } from "@/config";
import type { ClusterSize } from "@/components/operator/operator-picker/operator-cluster-size-picker.tsx";

export type GenerateKeySharesOfflineProps = {
Expand Down Expand Up @@ -96,7 +96,7 @@

useEffect(() => {
state.clusterSize = operatorIds.length as ClusterSize;
}, [operatorIds.length]);

Check warning on line 99 in src/app/routes/create-cluster/upload-keyshares.tsx

View workflow job for this annotation

GitHub Actions / github-workflow

React Hook useEffect has a missing dependency: 'state'. Either include it or remove the dependency array

const submit = () => {
state.shares =
Expand Down Expand Up @@ -264,7 +264,7 @@
as="a"
variant="link"
target="_blank"
href="https://docs.ssv.network/developers/tools/cluster-scanner#_x7nzjlwu00d0"
href={links.INCORRECT_OWNER_NONCE_LINK}
>
registration nonce
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const links = {
MONITOR_YOUR_NODE_URL:
"https://docs.ssv.network/operators/operator-node/setup-sidecars/configuring-mev",
INCORRECT_OWNER_NONCE_LINK:
"https://docs.ssv.network/developers/tools/cluster-scanner#_x7nzjlwu00d0",
"https://docs.ssv.network/stakers/tools/cluster-scanner-cli#nonce-arguments",
DKG_TROUBLESHOOTING_LINK:
"https://docs.ssv.network/developers/tools/ssv-dkg-client/generate-key-shares#troubleshooting",
};
8 changes: 5 additions & 3 deletions src/wagmi/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from "@rainbow-me/rainbowkit/wallets";

import { createPublicClient, http } from "viem";
import { createConfig, custom } from "wagmi";
import { createConfig } from "wagmi";
import { mainnet as mainnetBase } from "wagmi/chains";

const mainnet: Chain = {
Expand Down Expand Up @@ -38,7 +38,7 @@ export const hoodi = {
blockExplorers: {
default: {
name: "Explorer",
url: "https://hoodi.cloud.blockscout.com",
url: "https://hoodi.etherscan.io/",
},
},
iconBackground: "none",
Expand Down Expand Up @@ -80,6 +80,8 @@ export const config = createConfig({
[mainnet.id]: http(
"https://ethereum-rpc.publicnode.com/d8a2cc6e7483872e917d7899f9403d738b001c80e37d66834f4e40e9efb54a27",
),
[hoodi.id]: custom(window.ethereum),
[hoodi.id]: http(
"https://ethereum-hoodi-rpc.publicnode.com/d8a2cc6e7483872e917d7899f9403d738b001c80e37d66834f4e40e9efb54a27",
),
},
});
Loading