Improve docs - #763
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThe pull request updates circuit metadata and expands documentation for multisig proposals, shielded treasury accounting, stateless coin handling, and shielded burn destinations. It does not change executable logic or public declarations. ChangesMultisig metadata and documentation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@contracts/src/multisig/ProposalManager.compact`:
- Around line 203-206: Update the documentation near _cancelProposal to remove
the claim that an incompatible proposal is permanently Active. State that it
remains Active and unexecutable on that execution rail until cancelled, while
preserving the existing explanation of the execution-time failure.
In `@contracts/src/multisig/ShieldedTreasury.compact`:
- Around line 58-62: Update the zero-value deposit documentation near `_coins`
to qualify that a zero-value coin is inserted only when that color has no
existing entry; when `_coins` already contains `coin.color`, `_deposit` uses
`mergeCoinImmediate` and replaces the existing entry rather than adding a
separate coin.
- Around line 110-114: Update the notice above ShieldedSendResult to remove the
claim that returning it leaks nothing new. State that _coins publishes only the
retained change coin, removes entries when there is no change, and does not
store result.sent; therefore returning the result can disclose the sent coin
beyond public _coins state.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 9cfd5709-e5e7-4887-8893-212886f43e1a
📒 Files selected for processing (7)
contracts/src/multisig/ForwarderPrivate.compactcontracts/src/multisig/ForwarderShielded.compactcontracts/src/multisig/ForwarderUnshielded.compactcontracts/src/multisig/ProposalManager.compactcontracts/src/multisig/ShieldedTreasury.compactcontracts/src/multisig/ShieldedTreasuryStateless.compactcontracts/src/multisig/presets/ShieldedMultiSigV3.compact
Summary by CodeRabbit