Closed ilikesymmetry closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
web | ✅ Ready (Inspect) | Visit Preview | Oct 28, 2022 at 2:23PM (UTC) |
I'm testing out the branch, but there's no way for me to approve a multisig from the stepper 🤔 @mcgingras @symmtry is this a known issue?
I can approve here, but not on the stepper 🤔
I'm getting an error when I try to approve as a contributor, but the client is a multisig account that I'm also a part of. see the dev console, where the error is "missing representing role ids"
What's included in this pr + description
getRolesByProposalId
RoleSignature
useGetUsersRoles
to get the roles of a user by checking on address comparison to role or role's safe's signersuseGetUsersRolesCanApprove
to get the roles that use also can approve right nowRoleSignatureView
,RoleSignature
,ApproveProposalModal
,ProposalStepper
)Motivation & Context
useGetUsersRoleCanSignFor
to simplify logic and make use of cachinguseGetUsersRoleCanSignFor
hook into different hooks to be easier to composeSteps to test
For each case, propose for the combination and verify that you are still able to approve and pay as normal: