Skip to content

Commit

Permalink
refactor: Update validator addresses in tutorial and components
Browse files Browse the repository at this point in the history
  • Loading branch information
EdSDR committed Oct 15, 2024
1 parent 7147db1 commit 841657c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const tutorialData = {
description: "Staking on the Community Validator",
steps: [
"Navigate to the staking tab in your wallet",
"Add this validator address: 5DUWKpGBneBbna6PFHZk18Gp9wyvLUFPiWy5maAARjRjayPp (Community Validator official validator)",
"Add this validator address: 5Hgik8Kf7nq5VBtW41psbpXu1kinXpqRs4AHotPe6u1w6QX2 (Community Validator official validator)",
"Stake your desired amount (this determines your allocation power for modules and subnets)",
"Note: Your staked balance remains untouched; it only represents your voting power",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function DelegatedList() {
{ enabled: !!selectedAccount?.address },
);

const validatorAddress = "5DUWKpGBneBbna6PFHZk18Gp9wyvLUFPiWy5maAARjRjayPp";
const validatorAddress = "5Hgik8Kf7nq5VBtW41psbpXu1kinXpqRs4AHotPe6u1w6QX2";

function userWeightPower(
userStakes: { address: string; stake: string }[] | undefined,
Expand Down
6 changes: 5 additions & 1 deletion apps/commune-wallet/src/app/components/validators-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ export function ValidatorsList(props: ValidatorsListProps) {
description: "Validator of Communex platform.",
address: "5DUWKpGBneBbna6PFHZk18Gp9wyvLUFPiWy5maAARjRjayPp",
},
{
name: "Community Validator",
description: "Community Validator official validator.",
address: "5Hgik8Kf7nq5VBtW41psbpXu1kinXpqRs4AHotPe6u1w6QX2",
},
{
name: "vali::comstats",
description: "Validator of Comstats platform.",
Expand Down Expand Up @@ -60,7 +65,6 @@ export function ValidatorsList(props: ValidatorsListProps) {

const currentList = getValidatorsList();


return (
<div className="mt-4 w-full animate-fade-down border-t border-white/20 pt-2">
<div className="mb-4 border-b border-white/20">
Expand Down

0 comments on commit 841657c

Please sign in to comment.