Skip to content

Fix Voyager explorer link to use staker address instead of operator address#15

Merged
Pol-Lanski merged 2 commits intomainfrom
copilot/fix-validator-page-link
Mar 5, 2026
Merged

Fix Voyager explorer link to use staker address instead of operator address#15
Pol-Lanski merged 2 commits intomainfrom
copilot/fix-validator-page-link

Conversation

Copy link
Contributor

Copilot AI commented Mar 5, 2026

The "Validator Index" link in ValidatorList pointed to /staking?validator=[OPERATOR_ACCOUNT] on Voyager, but the Voyager staking page expects the staker account address.

Change

ui/components/ValidatorList.tsx — use v.stakerAddress (the connected wallet / staker account) instead of v.operatorAddress (the on-chain operational_address) in the Voyager href:

- href={getVoyagerUrl(`/staking?validator=${v.operatorAddress}`)}
+ href={getVoyagerUrl(`/staking?validator=${v.stakerAddress}`)}

stakerAddress is the wallet address used to call get_staker_info_v1 on-chain; operatorAddress is the separate operational_address field returned by that contract — a different account not recognized by Voyager's staking lookup.

Original prompt

This section details on the original issue you should resolve

<issue_title>Link to Explorer page of validator account points to wrong address</issue_title>
<issue_description>The UI link to the explorer page (voyager) points to https://voyager.online/staking?validator=[OPERATOR_ACCOUNT] when it should be pointing to https://voyager.online/staking?validator=[STAKER_ACCOUNT]</issue_description>

Comments on the Issue (you are @copilot in this section)


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: Pol-Lanski <19168735+Pol-Lanski@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix link to explorer page of validator account Fix Voyager explorer link to use staker address instead of operator address Mar 5, 2026
@Pol-Lanski Pol-Lanski marked this pull request as ready for review March 5, 2026 09:12
@Pol-Lanski Pol-Lanski merged commit bacfd22 into main Mar 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link to Explorer page of validator account points to wrong address

2 participants