Skip to content

fix(cli): resolve SpendingLimit details on RemoveSpendingLimit display (MUL-754 / V4-19)#188

Open
bguillaumat-squads wants to merge 1 commit into
mainfrom
feature/mul-754-v4-19-display-config-transaction-shows-removespendinglimit
Open

fix(cli): resolve SpendingLimit details on RemoveSpendingLimit display (MUL-754 / V4-19)#188
bguillaumat-squads wants to merge 1 commit into
mainfrom
feature/mul-754-v4-19-display-config-transaction-shows-removespendinglimit

Conversation

@bguillaumat-squads

Copy link
Copy Markdown
Contributor

Summary

Resolves Cantina finding V4-19 (Linear MUL-754).

display-config-transaction rendered RemoveSpendingLimit as only an opaque PDA, so reviewers could not see which delegated spend authority was being revoked and could approve the wrong removal while a broader limit stayed live.

Change

  • Resolve the referenced SpendingLimit account (via the existing get_spending_limit SDK helper) and print its vault index, mint, amount, period, members, and destinations.
  • Print an explicit warning when the lookup/deserialization fails, instead of treating the bare PDA as adequate review material.

Scope: cli/src/command/display_config_transaction.rs only. Builds clean (cargo build -p squads-multisig-cli).

Closes MUL-754

🤖 Generated with Claude Code

MUL-754 (V4-19): display-config-transaction rendered RemoveSpendingLimit
as only an opaque PDA, hiding which delegated spend authority is being
revoked. Resolve the referenced SpendingLimit account and print its
vault, mint, amount, period, members, and destinations, with an explicit
warning when the lookup or deserialization fails.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@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 1:12am

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