Llama is an onchain governance and access control framework for smart contracts.
47
stars
5
forks
source link
fix: Insufficient quantity checks in `validateActionCreation` of `LlamaAbsolutePeerReview` use the wrong quantity checkpoint #446
Closed
0xrajath closed 1 year ago
https://github.com/spearbit-audits/review-llama2/pull/7#discussion_r1272551595 https://github.com/spearbit-audits/review-llama2/pull/7#discussion_r1272591218
We need to use :
llamaPolicy.getPastQuantity(actionInfo.creator, approvalRole, block.timestamp - 1);
llamaPolicy.getPastQuantity(actionInfo.creator, disapprovalRole, block.timestamp - 1);