-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pending approval proposals have mutable approvers #791
Comments
Can be implemented as a SnapshotItem from |
Is that better than just storing it in the proposal struct? I like the idea of keeping the information close to the source instead of adding another query. It also removes the need for the frontend to perform an extra query and follows the pattern in the proposal modules where the proposal struct fully defines the config being used. |
We can still avoid an extra query on the frontend by returning a ProposalResponse (Proposal + Approver) instead of just Proposal from query. If we can fight state bloat, I think we should. |
Alright :) |
The
dao-pre-propose-approval-single
module only stores a singleapprover
and validates against it when a proposal is approved or rejected. Instead, it should snapshot the current approver when a pending proposal is created by storing it in its object so that it cannot be changed in the middle. This isn't a big deal but is probably a good idea.Either way, this is important for being able to reference past approvers.
The text was updated successfully, but these errors were encountered: