Submitted by hansfriese, also found by Lambda
Project.sol#L238
addTasks() function checks this require() to make sure _taskCount is correct.
But it might revert when this function is called after a dispute because it takes a certain time to resolve disputes and other tasks might be added meanwhile.
The below scenario would be possible.
So currently, the project builder and contractor shouldnt add new tasks to make their previous dispute valid.
I think its reasonable to modify that they can add other tasks even though there is an active dispute.
Solidity Visual Developer of VSCode
I think we can modify not to compare taskCount when its called from disputes contract.
So we can modify this part like below.
parv3213 (Rigor) confirmed
