Skip to content

Commit

Permalink
add RULE argument to certora script
Browse files Browse the repository at this point in the history
  • Loading branch information
0xb337r007 committed Jun 3, 2024
1 parent fd04a9a commit 0211ea2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion certora/scripts/verify-marketplace.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
if [[ "$1" ]]
then
RULE="--rule $1"
fi

if [[ "$2" ]]
then
MSG="- $2"
fi

certoraRun \
contracts/Marketplace.sol \
--verify Marketplace:certora/specs/Marketplace.spec \
--optimistic_loop \
--loop_iter 3 \
--rule_sanity "basic" \
--msg "Verifying Marketplace.sol"
$RULE \
--msg "Verifying Marketplace.sol $RULE $MSG"

0 comments on commit 0211ea2

Please sign in to comment.