Skip to content

Commit

Permalink
Remove tweaks that are now part of Kontrol's default behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanCoRo committed Oct 6, 2023
1 parent 0e93fd8 commit 49e0b50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
5 changes: 0 additions & 5 deletions test/FixedPointMathLib.k.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ contract FixedPointMathLibVerification is Test, KevmUtil {
// Constants
uint256 constant WAD = 1e18;

function setUp() public {
// Make KEVM abstract gas computations
kevm.infiniteGas();
}

function testMulWad(uint256 x, uint256 y) public {

if(y == 0 || x <= type(uint256).max / y) {
Expand Down
22 changes: 2 additions & 20 deletions test/run-kevm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ kontrol_kompile() {
--verbose \
--require ${lemmas} \
--module-import ${module} \
${rekompile} \
${regen} \
${llvm_library}
${rekompile}
}

kontrol_prove() {
Expand All @@ -30,7 +28,6 @@ kontrol_prove() {
${implication_every_block} \
${break_every_step} \
${break_on_calls} \
${auto_abstract} \
${tests} \
${use_booster}
}
Expand All @@ -57,10 +54,6 @@ smt_timeout=100000
workers=12

# Switch the options below to turn them on or off
# TODO: Describe this thoroughly
regen=--regen
#regen=

rekompile=--rekompile
#rekompile=

Expand All @@ -84,23 +77,12 @@ break_every_step=
break_on_calls=
break_on_calls=--no-break-on-calls

auto_abstract=--auto-abstract
auto_abstract=
auto_abstract=--auto-abstract-gas

bug_report=--bug-report
bug_report=

# For running the booster
llvm_library=
llvm_library=--with-llvm-library

# For running the booster
use_booster=
use_booster=--use-booster

kore_rpc_command=
kore_rpc_command=kore-rpc-booster\ --simplify-after-exec\ --llvm-backend-library\ out/kompiled/llvm-library/interpreter.so
#use_booster=

# List of tests to symbolically execute

Expand Down

0 comments on commit 49e0b50

Please sign in to comment.