Skip to content

Commit

Permalink
remove rule_sanity from 4 rules, and move to 7.17.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nisnislevi committed Nov 20, 2024
1 parent 10b8bdb commit a57b013
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/certora-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with: { distribution: "zulu", java-version: "11", java-package: jre }

- name: Install certora cli
run: pip install certora-cli==7.14.2
run: pip install certora-cli==7.17.2

- name: Install solc
run: |
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- NEW-pool-simple-properties.conf --rule cannotDepositZeroAmount --msg "cannotDepositZeroAmount"
- NEW-pool-simple-properties.conf --rule cannotWithdrawZeroAmount --msg "cannotWithdrawZeroAmount"
- NEW-pool-simple-properties.conf --rule cannotWithdrawFromInactiveReserve --msg "cannotWithdrawFromInactiveReserve"
- NEW-pool-simple-properties.conf --rule cannotBorrowZeroAmount --msg "cannotBorrowZeroAmount"
- NEW-pool-simple-properties.conf --rule cannotBorrowOnInactiveReserve --msg "cannotBorrowOnInactiveReserve"
- NEW-pool-simple-properties.conf --rule cannotBorrowOnReserveDisabledForBorrowing --msg "cannotBorrowOnReserveDisabledForBorrowing"
- NEW-pool-simple-properties.conf --rule cannotBorrowOnFrozenReserve --msg "cannotBorrowOnFrozenReserve"
- NEW-pool-simple-properties.conf --rule_sanity none --rule cannotBorrowZeroAmount --msg "cannotBorrowZeroAmount"
- NEW-pool-simple-properties.conf --rule_sanity none --rule cannotBorrowOnInactiveReserve --msg "cannotBorrowOnInactiveReserve"
- NEW-pool-simple-properties.conf --rule_sanity none --rule cannotBorrowOnReserveDisabledForBorrowing --msg "cannotBorrowOnReserveDisabledForBorrowing"
- NEW-pool-simple-properties.conf --rule_sanity none --rule cannotBorrowOnFrozenReserve --msg "cannotBorrowOnFrozenReserve"
2 changes: 1 addition & 1 deletion .github/workflows/certora-stata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with: { distribution: "zulu", java-version: "11", java-package: jre }

- name: Install certora cli
run: pip install certora-cli==7.14.2
run: pip install certora-cli==7.17.2
- name: Install solc
run: |
wget https://github.com/ethereum/solidity/releases/download/v0.8.20/solc-static-linux
Expand Down
6 changes: 5 additions & 1 deletion certora/basic/scripts/run-all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CMN="--compilation_steps_only"
#CMN="--compilation_steps_only"
#CMN="--typecheck_only"


Expand Down Expand Up @@ -72,24 +72,28 @@ echo
echo "******** Running: simple:6 ***************"
certoraRun $CMN certora/basic/conf/NEW-pool-simple-properties.conf \
--rule cannotBorrowZeroAmount \
--rule_sanity none \
--msg "simple:6: NEW :: cannotBorrowZeroAmount"

echo
echo "******** Running: simple:7 ***************"
certoraRun $CMN certora/basic/conf/NEW-pool-simple-properties.conf \
--rule cannotBorrowOnInactiveReserve \
--rule_sanity none \
--msg "simple:7: NEW :: cannotBorrowOnInactiveReserve"

echo
echo "******** Running: simple:8 ***************"
certoraRun $CMN certora/basic/conf/NEW-pool-simple-properties.conf \
--rule cannotBorrowOnReserveDisabledForBorrowing \
--rule_sanity none \
--msg "simple:8: NEW :: cannotBorrowOnReserveDisabledForBorrowing"

echo
echo "******** Running: simple:9 ***************"
certoraRun $CMN certora/basic/conf/NEW-pool-simple-properties.conf \
--rule cannotBorrowOnFrozenReserve \
--rule_sanity none \
--msg "simple:9: NEW :: cannotBorrowOnFrozenReserve"


0 comments on commit a57b013

Please sign in to comment.