Description:Description\
The addSubmission function is used by the users in order to make a request and add it a new entry to the list.
The function does extensive checks to prevent faulty submissions.
More specifically it checks:
Submission is not already registered
Submission's status is None
Submission's requests are 0
The addSubmissionManually function is used by the Governor to add multiple submissions.
The checks that it performs are:
Submission's requests are 0
Effectively missing two checks compared to the addSubmission function.
Comments about the governor/owner being malicious (they are considered trusted and will be moved to the DAO).
Issues about the ability for a governor/owner to set parameters in a way breaking the contract (they are trusted to be both non-malicious and non-stupid).
Github username: -- Twitter username: dod4ufn Submission hash (on-chain): 0x3ff31d7630e6fd3ac6020b1cfb2dcce2e0af172d90c86e833df2f16437339020 Severity: low
Description: Description\ The
addSubmission
function is used by the users in order to make a request and add it a new entry to the list. The function does extensive checks to prevent faulty submissions. More specifically it checks:The
addSubmissionManually
function is used by the Governor to add multiple submissions. The checks that it performs are:Effectively missing two checks compared to the
addSubmission
function.Attachments
ProofOfHumanityOld.sol
The team should include the missing requirements to the
addSubmissionManually
function.