Squads-Protocol / v4

Squads V4
https://v4-sdk-typedoc.vercel.app
GNU Affero General Public License v3.0
89 stars 32 forks source link

Additional duplicate check for multisig_add_member #102

Closed ogmedia closed 3 months ago

ogmedia commented 5 months ago

While the invariant functionality in the multisig struct offers comprehensive coverage of state management, we're adding an additional check in the multisig_add_member functionality to explicitly check for duplicates. This helps insure that the member key must be removed before re-added (in the case of changing permissions for example), as the invariant check is not able to distinguish which key should be removed upon upon the invariant check.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
v4-sdk-typedoc ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2024 7:10pm