-
Notifications
You must be signed in to change notification settings - Fork 52
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
add events #76
add events #76
Conversation
Pull Request Test Coverage Report for Build 3649813124
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty solid and straightforward code changes, along with the introduction of events. 👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, it will be much easier to view the interactions off-chain now.
Added some comments.
Also, is it possible to add an event for when a proposal is marked as invalid? So that we know we do not have to watch for that proposalId anymore and can mark it as invalid (even if it has not expired).
Ok, I've added the extra events. Given that I added extra functions, these changes are going to need to be audited. That being the case, I've also bumped the solidity version to 0.8.6 and added custom errors. I'll hold off on merging this until it has been audited. |
Are there any other changes that we should put in while we're at it? Perhaps it's worthwhile also adding these changes? |
This PR adds events and custom errors to the Reality contracts, along with some other housekeeping (bumps solidity version, additional set functions, updates tests, fixed some comments, adds hardhat-size-contracts).
Closes #75
Closes #74
Closes #69
Audit checklist: