Skip to content

fix(cli): display proposals extra data#191

Open
sean-sqds wants to merge 1 commit into
mainfrom
feature/mul-763-v4-17-display-proposals-hides-whether-approved-proposals-are
Open

fix(cli): display proposals extra data#191
sean-sqds wants to merge 1 commit into
mainfrom
feature/mul-763-v4-17-display-proposals-hides-whether-approved-proposals-are

Conversation

@sean-sqds

Copy link
Copy Markdown
Contributor

This pull request enhances the display_proposals CLI command by improving how proposals and their linked transactions are fetched, classified, and displayed. It introduces transaction type detection, enables richer status reporting (including handling of stale and timelocked proposals), and adds a utility for formatting time durations.

Proposal and Transaction Fetching & Classification

  • Fetches both the proposal and its associated transaction account in a single RPC call, improving efficiency and reliability. The transaction account is then classified as a Vault, Config, or Batch transaction using a new TxKind enum. [1] [2]

Display Improvements

  • Displays the transaction type for each proposal and provides more informative status messages, including whether a proposal is stale, executable, or timelocked. The status color-coding is enhanced for better clarity.

Utility Functions

  • Adds a new format_duration function to present time until unlock in a human-friendly way.

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
v4-sdk-typedoc Ready Ready Preview, Comment Jun 10, 2026 12:33pm

Request Review

@sean-sqds sean-sqds marked this pull request as ready for review June 10, 2026 12:33
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