-
Notifications
You must be signed in to change notification settings - Fork 245
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
[Internal audit] aragonOS 5 #612
Conversation
|
||
|
||
// Note |
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.
This is my primary note.
I've started thinking about the IAgreement
as a "disputable action registry" (IDisputableActionRegistry
), and backtracking on whether we need everything in this interface.
From a Disputable's standpoint, I think the main things its "action registry" should care about are:
- Registering new actions, which may be disputable
- Challenging an action
- Closing old actions
- Getting a little bit of information about a particular action or challenge
With that in mind, I started thinking that specific implementation-specific information about the "action registry" would be reduced and queried separately from the action disputable's information (e.g. when using subgraphs). For example, I noticed you only used the Agreement to find the vote's ID when disputes were created in the DisputableVoting subgraph.
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.
We decided not to force the IArbitrable
and IACL
inheritance at this level. The rest of the changes will be included in the aragonOS v6 roadmap
Thx for the audit @sohkai! I addressed your comments commit per commit, if it looks good we can release a new version and update the agreement and disputable voting apps |
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.
Last few things, I'm still wondering if we should eliminate more from IAgreement
🔪
@sohkai I like the idea! I addressed your comments, let me know your thoughts. About the app fees cashier inline doc, I had actually brought the content from the court repo, so I think we are fine :) |
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.
💃🕺 Let's merge!
Includes a number of small changes made during the audit, easiest to review commit by commit.
The only contract change:
IArbitrable
: aligns its ERC165 implementation with the other contracts