Skip to content

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

Merged
sean-sqds merged 2 commits into
mainfrom
feature/mul-754-v4-19-display-config-transaction-shows-removespendinglimit
Jul 29, 2026
Merged

sean-sqds merged 2 commits 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 Jul 29, 2026 12:33pm

Request Review

@sean-sqds
sean-sqds merged commit 0e015f9 into main Jul 29, 2026
4 of 5 checks passed
@jeff-sqds
jeff-sqds deleted the feature/mul-754-v4-19-display-config-transaction-shows-removespendinglimit branch October 7, 2026 18:28

This branch was successfully deployed

1 active deployment
Preview — 759b51dd Deployed Jul 29, 2026 by vercel[bot]
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.

3 participants