Skip to content

Commit

Permalink
Minor change + comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sunbreak1211 committed Oct 11, 2024
1 parent 48e7a8e commit 994e68b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion certora/VoteDelegate.spec
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ methods {
}

// Verify that each storage layout is only modified in the corresponding functions
rule storageAffected(method f) filtered { f -> !f.isView } {
rule storageAffected(method f) {
env e;

address anyAddr;
Expand Down Expand Up @@ -223,6 +223,7 @@ rule voteYays(address[] yays) {
rule voteYays_revert(address[] yays) {
env e;

// Temporary workaround until tool fixes this issue:
require(forall uint256 i. (
i >= yays.length || to_mathint(yays[i]) < 2^160
));
Expand Down

0 comments on commit 994e68b

Please sign in to comment.