Skip to content

Update CIP-179 survey support to v5#132

Open
Cerkoryn wants to merge 1 commit into
nomos-guild:mainfrom
Cerkoryn:feat/cip-179-v5
Open

Update CIP-179 survey support to v5#132
Cerkoryn wants to merge 1 commit into
nomos-guild:mainfrom
Cerkoryn:feat/cip-179-v5

Conversation

@Cerkoryn

@Cerkoryn Cerkoryn commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates CGov’s existing CIP-179 implementation to the stable v5 specification, superseding the earlier implementation introduced in #109.

  • Replaces the legacy local codec with the reusable cip-179 package.
  • Renders linked surveys and their presentation metadata on governance action pages.
  • Supports the v5 public survey question and response types available to DReps.
  • Encodes survey responses as native CIP-179 label-17 transaction metadata alongside the governance vote.
  • Handles invalid, closed, unsupported, and unavailable surveys without blocking the governance vote.
  • Fixes survey input stability and linked-survey page layout.

This frontend change is intended to be used with the companion cgov-api CIP-179 v5 PR.

Verification

  • npm run lint
  • npm run test:cip179
  • npx tsc --noEmit

All four focused CIP-179 tests pass. The only lint warning is an existing unrelated <img> warning in AIChatPanel.tsx.

@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

@Cerkoryn is attempting to deploy a commit to the nomos-guild Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cgov Error Error Jul 20, 2026 8:06am

Request Review

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