Closed fabriziovigevani closed 4 years ago
Yes, we will need to change self
to msg.sender
there.
We'll have to make changes to these contracts when the audit comes through, so we can update it then if it needs to be changed. Provided it's a small change.
Yes was thinking exactly that. Now that we need to have everything ready for audits it made sense to update the function now and update the doc string after the radspec change is available.
closes #65 closes #74
Radspec PR has been merged https://github.com/aragon/radspec/pull/83 so now we could do something like
self.getSpamPenalty(msg.sender)
in the doc string.However, the client doesn't have this change yet so updated the doc string to use the contract address for now, so the evaluation wouldn't break.