Skip to content

Commit 78609e2

Browse files
authored
Merge pull request #429 from dappnode/marc/add-smooth-hoodi
update smooth hoodi testnet
2 parents 317e52b + 40a7c61 commit 78609e2

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

packages/common/src/params.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const STADER_POOL_FEE_RECIPIENT_MAINNET = "0x9d4C3166c59412CEdBe7d901f5fD
1515

1616
export const STADER_POOL_FEE_RECIPIENT_PRATER = "0x34E8Fac4962AF984d6040cec240d1d12eFfac14E" as const;
1717

18-
export const MEV_SP_ADDRESS_PRATER = "0xF21fbbA423f3a893A2402d68240B219308AbCA46" as const;
18+
export const MEV_SP_ADDRESS_HOODI = "0x9CDcc499D53Be0ADb5056355Be774828a593F267" as const;
1919

2020
export const MEV_SP_ADDRESS_MAINNET = "0xAdFb8D27671F14f297eE94135e266aAFf8752e35" as const;
2121

packages/ui/src/components/ValidatorList/KeystoresDataGrid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ export default function KeystoresDataGrid({
185185
headerClassName: "tableHeader",
186186
width: 360
187187
},
188-
// Only render Smooth column if mevSpFeeRecipient is not null (mainnet or prater)
189-
...(mevSpFeeRecipient != null && (network === "mainnet" || network === "prater")
188+
// Only render Smooth column if mevSpFeeRecipient is not null (mainnet or hoodi)
189+
...(mevSpFeeRecipient != null && (network === "mainnet" || network === "hoodi")
190190
? [
191191
{
192192
field: "spSubscription",

packages/ui/src/components/ValidatorList/ValidatorList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default function ValidatorList({
8282
alignItems: "left"
8383
}}
8484
>
85-
{(network === "prater" || network === "mainnet") && <SmoothBanner />}
85+
{(network === "hoodi" || network === "mainnet") && <SmoothBanner />}
8686

8787
<Card
8888
sx={{

packages/ui/src/params.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export interface AppParams {
2525
}
2626

2727
export const getSmoothUrlByNetwork = (network: Network): string => {
28-
if (network == "prater") {
29-
return "https://smooth-goerli.dappnode.io/";
28+
if (network == "hoodi") {
29+
return "https://smooth-hoodi.dappnode.io/";
3030
} else if (network == "mainnet") {
3131
return "https://smooth.dappnode.io/";
3232
} else {

packages/ui/src/utils/addresses.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { MEV_SP_ADDRESS_MAINNET, MEV_SP_ADDRESS_PRATER, Network } from "@stakingbrain/common";
1+
import { MEV_SP_ADDRESS_MAINNET, MEV_SP_ADDRESS_HOODI, Network } from "@stakingbrain/common";
22

33
// if not in a network that has a Smooth, return null
44
export const getSmoothAddressByNetwork = (network: Network) => {
55
if (network == "prater") {
6-
return MEV_SP_ADDRESS_PRATER;
6+
return MEV_SP_ADDRESS_HOODI;
77
} else if (network == "mainnet") {
88
return MEV_SP_ADDRESS_MAINNET;
99
} else {

0 commit comments

Comments
 (0)