Skip to content

Commit

Permalink
Agreement: Update arapp json file (#1190)
Browse files Browse the repository at this point in the history
* Agreement: update arapp json file

* Agreement: Add comment clarifying challenge role
  • Loading branch information
facuspagnuolo authored Jul 6, 2020
1 parent 9b6d78f commit 94e1811
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 0 additions & 7 deletions apps/agreement/arapp.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
}
},
"roles": [
{
"name": "Sign Agreement",
"id": "SIGN_ROLE",
"params": [
"Signer address"
]
},
{
"name": "Change Agreement configuration",
"id": "CHANGE_AGREEMENT_ROLE",
Expand Down
2 changes: 2 additions & 0 deletions apps/agreement/contracts/Agreement.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ contract Agreement is IAgreement, AragonApp {
string internal constant ERROR_SUBMITTER_FINISHED_EVIDENCE = "AGR_SUBMITTER_FINISHED_EVIDENCE";
string internal constant ERROR_CHALLENGER_FINISHED_EVIDENCE = "AGR_CHALLENGER_FINISHED_EVIDENCE";

// This role is checked against the disputable apps when users try to challenge disuptable actions.
// Thus, it must be configured per disputable app. Please take a look at `canPerformChallenge` for reference.
// bytes32 public constant CHALLENGE_ROLE = keccak256("CHALLENGE_ROLE");
bytes32 public constant CHALLENGE_ROLE = 0xef025787d7cd1a96d9014b8dc7b44899b8c1350859fb9e1e05f5a546dd65158d;

Expand Down

0 comments on commit 94e1811

Please sign in to comment.