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/add dxdvotingmachine interface in Scheme - S4 #259

Conversation

AugustoL
Copy link
Member

@AugustoL AugustoL commented Nov 7, 2022

The call on line 164 to the propose function of the voting machine is done using functionCall instead
of calling the propose function directly. The code will be more readable and gas efficient by just calling
the propose function:
proposalId = IVotingMachine(votingMachine).propose(_totalOptions, ...)
Recommendation: Replace the use of functionCall by calling the propose function of the voting
machine directly.

@AugustoL AugustoL force-pushed the fix/add-dxdvotingmachine-interface branch from b02f67e to d24f81f Compare November 7, 2022 14:34
@AugustoL AugustoL merged commit f0aaa55 into DXgovernance:refactor-dxdao-contracts Nov 8, 2022
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.

2 participants