Skip to content
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

fix: always use roles passed to contract for motions #289

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bassgeta
Copy link
Contributor

@bassgeta bassgeta commented Oct 28, 2024

Instead of getting the "delta" state and applying just the difference in roles in our database, we should just use whatever the FE passed to the contracts and apply it.
CDApp PR

@bassgeta bassgeta self-assigned this Oct 28, 2024
@bassgeta bassgeta requested a review from a team October 28, 2024 17:36
@bassgeta bassgeta marked this pull request as ready for review October 28, 2024 17:36
Copy link
Contributor

@iamsamgibbs iamsamgibbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed with the CDapp counterpart. All working as expected and nice simplification of the code here now.

Copy link
Contributor

@mmioana mmioana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and much easier to follow through with your changes @bassgeta Tested as part of the CDapp PR

Copy link
Member

@rdig rdig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested as part of JoinColony/colonyCDapp#3490

All working as intended. Nicely fixed 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants