IntersectMBO / IntersectMBO/govtool

🐛 Live Voting and Outcomes Navigation Fails with CIP-129 Governance Action ID

Open
#3,619 4 comments 0 reactions 3 assignees Claimed by @Ciabas View on GitHub
🕵️‍♂️ Testing 🖥 Frontend 🗳️ Voting Pillar Nice to Have
Dominant language
HTML
Stars
21
Forks
29
Avg merge
2d 22h
Merged PRs (30d)
7

Description

### Area

Voting Pillar

### Domain

gov.tools

### Which wallet were you using?

_No response_

### Context

When attempting to navigate to the live voting page using a CIP-129 governance action ID, the system displays an error message: "Governance action with ID gov... does not exist." However, navigation works correctly when using a legacy CIP-105 governance action ID. The issue persists for both live voting and outcomes pages.

**Examples:**
- **CIP-129 (Fails):** [Live Voting](https://gov.tools/governance_actions/gov_action10k0unljvaej0kd89w7pn0zkgdx59c7xkl0x5q78dzvdtd73u0kmqq5xl5y5)

![Image](https://github.com/user-attachments/assets/e66c6354-1d90-40d9-9fa1-822cb5d91a49)

- **CIP-105 (Works):** [Live Voting](https://gov.tools/governance_actions/7d9fc9fe4cee64fb34e57783378ac869a85c78d6fbcd4078ed131ab6fa3c7db6#0)

![Image](https://github.com/user-attachments/assets/e9b1b25c-e336-4920-8ba7-fd96efca51a2)

Similarly, navigating to the outcomes page using a CIP-129 governance action ID results in a blank screen, while CIP-105 IDs function correctly. This issue is documented in [GitHub Issue #3306](https://github.com/IntersectMBO/govtool/issues/3306).

### Steps to reproduce

1. Navigate to the live voting page using a CIP-129 governance action ID (e.g., [CIP-129 URL](https://gov.tools/governance_actions/gov_action10k0unljvaej0kd89w7pn0zkgdx59c7xkl0x5q78dzvdtd73u0kmqq5xl5y5)).
2. Observe the error message with not found.
3. Navigate to the live voting page using a CIP-105 governance action ID (e.g., [CIP-105 URL](https://gov.tools/governance_actions/7d9fc9fe4cee64fb34e57783378ac869a85c78d6fbcd4078ed131ab6fa3c7db6#0)).
4. Confirm the governance action details are displayed.
5. Repeat the process for the outcomes page using both CIP-129 and CIP-105 governance action IDs. Note that CIP-129 results in a blank screen.

### Actual behavior

- Navigation using CIP-129 governance action IDs fails for both live voting (displays error) and outcomes (displays blank screen).
- CIP-105 governance action IDs work as expected for both pages.

### Expected behavior

- CIP-129 governance action IDs should be supported for navigation to live voting and outcomes pages via URL, displaying the relevant governance action details.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.