changes in smart contract there is a critical bug which can lead to manipulation of election result + Gas optimization #165
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a new file - findings.md . Must have a look at it
Description
I have made some of the common and necessary changes that are needed for the contract, when it goes for audit in future.
Please have a look in a file -
findings.mdI have listed down all things in details for the changes that i have done. As well i have recommended some changes that would be really helpful for this project please go through all that, I haven't made that changes that would result in change in a bit architecture of the project, Once the core team confirms i will do the changes. There was no proper documentation for contracts, it was difficult to understand the role of functions.More things needed to be done
Type of change
Please mark the options that are relevant.
Checklist: