OpenZeppelin / OpenZeppelin/compact-contracts

dev: rename the V2 multisig preset after its composition

Open
#890 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feat:multisig
Dominant language
TypeScript
Stars
55
Forks
29
Avg merge
5d 7h
Merged PRs (30d)
25

Description

multisig/presets/ShieldedMultiSigV2 is named after a version number, not after what it composes: an ECDSA signer manager over ShieldedTreasuryStateless. Its deposit also bypasses the treasury module and calls receiveShielded directly, so the treasury does not own both sides of the coin flow. The MultiSig word is redundant under multisig/.

Rename the preset, its example, mock and spec to NativeShieldedStatelessTreasury, route deposit through Treasury__deposit, and restyle the header to the section taxonomy the other presets use. Circuits, digests and the generated artifact stay unchanged; only the assert prefix moves.

Part of #886.

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.

Research direction

Start with multisig/presets/ShieldedMultiSigV2 and locate its example, mock, and spec. Rename these to NativeShieldedStatelessTreasury, route deposit through Treasury__deposit, and match the header taxonomy used by other presets; confirm circuits, digests, and the generated artifact are unchanged and only the assert prefix moves.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.