OpenZeppelin / OpenZeppelin/compact-contracts
dev: rename the V2 multisig preset after its composition
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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