OpenZeppelin / OpenZeppelin/compact-contracts

dev: follow-up — resolve CodeRabbit findings on #594 (multisig)

Open
#596 0 comments 0 reactions 1 assignee View on GitHub

@0xisk is already working on this.

Since Jul 9, 2026.

2-low blocking-release enhancement
Dominant language
TypeScript
Stars
55
Forks
29
Avg merge
5d 7h
Merged PRs (30d)
25

Description

CodeRabbit findings from #594, to be fixed in a dedicated follow-up PR (keeping #594 a clean migration):

  • ShieldedMultiSigV2.compact:87 — enforce threshold range > 0 and <= 2link
  • ShieldedMultiSigV2.compact:169 — operation hash lacks per-instance domain binding (replay) — link
  • ShieldedMultiSigV2.compact:262stubVerifySignature is fail-open (#470/#475) — link
  • ProposalManager.compact:327 — missing approve/revoke bookkeeping — link
  • ShieldedTreasuryStateless.compact:65link
  • SignerManager.compact:66assertThresholdMet should fail closed on 0link
  • SignerManager.test.ts:48link
  • ShieldedMultiSigV2Simulator.ts:33 — use fixed-length tuples — link
  • 3 nitpicks — review summaries 1 / 2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.