Skip to content

fix(governance): pass the network organization to relinquish all votes - #1071

Open
bryzettler wants to merge 1 commit into
mainfrom
fix/relinquish-org-key
Open

bryzettler wants to merge 1 commit into
mainfrom
fix/relinquish-org-key

Conversation

@bryzettler

Copy link
Copy Markdown
Contributor

Problem

"Relinquish all votes" on a position card always fails. PositionCard derived the organization PDA with organizationKey(network), where network is 'hnt' | 'mobile' | 'iot'. The organization seed is the network name ('Helium', 'Helium MOBILE', 'Helium IOT'), so the PDA pointed at no account. blockchain-api relinquishPositionVotes fetches that organization and returns NOT_FOUND: Organization not found.

Fix

Use the organization that GovernanceProvider already exposes. It derives the key from networkName.

Testing

  • tsc --noEmit passes.
  • ESLint: no errors.
  • Not tested on a device.

@bryzettler
bryzettler requested a review from a team as a code owner November 19, 2026 17:58
@bryzettler
bryzettler requested review from allenan and removed request for a team November 19, 2026 17:58
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.

1 participant