Skip to content

Commit

Permalink
This mapping now tracks authorizations by ritual.
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Jul 9, 2023
1 parent 8853cfd commit f286509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/contracts/coordination/GlobalAllowList.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ contract GlobalAllowList is AccessControlDefaultAdminRules, IRitualAuthorizer {
require(coordinator.isRitualFinalized(ritualID),
"Only active rituals can add authorizations");
for (uint i=0; i<addresses.length; i++) {
rituals[ritualID][addresses[i]] = true;
authorizations[ritualID][addresses[i]] = true;
}
}

Expand All @@ -49,7 +49,7 @@ contract GlobalAllowList is AccessControlDefaultAdminRules, IRitualAuthorizer {
require(coordinator.isRitualFinalized(ritualID),
"Only active rituals can add authorizations");
for (uint i=0; i<addresses.length; i++) {
rituals[ritualID][addresses[i]] = false;
authorizations[ritualID][addresses[i]] = false;
}
}
}

0 comments on commit f286509

Please sign in to comment.