makerdao / mkr-mcd-spec

High level KSpecification for the MCD System by Runtime Verification and Maker Foundation
GNU General Public License v3.0
28 stars 9 forks source link

Meeting Notes #22

Open ehildenb opened 5 years ago

ehildenb commented 5 years ago

Unfortunately we didn't take meeting notes from the beginning, but hopefully this helps the project owners on the MKR side report progress.

ehildenb commented 4 years ago

Wednesday October 07, 2020

ehildenb commented 3 years ago

Wednesday October 14, 2020

ehildenb commented 3 years ago

Wednesday October 21, 2020

ehildenb commented 3 years ago

Wednesday October 28, 2020

- add package.json - npm init -yf
- add truffle-config.js
- move test out of src/
For each test
- fix test imports
    - import "ds-test/test.sol" => import "../lib/ds-test/src/test.sol"
    - import "../dai.sol"            => import "../src/dai.sol"
- replace dapp asserts with truffle ones
    - import "truffle/Assert.sol"
    - assertEq    => Assert.equal
    - assertTrue => Assert.isTrue
    - I did it with a regex: s/assertEqual(\(.*\))/Assert.equal(\1, "");
- remove everything related to Hevm
    - Hevm hevm declaration in test contract
    - hevm.warp calls (https://github.com/dapphub/dapptools/tree/master/src/hevm#cheat-codes) (edited) 
ehildenb commented 3 years ago

Wednesday December 9, 2020

Proofs

Firefly

ehildenb commented 3 years ago

Wednesday December 16, 2020

Proofs

With 5 min timeout, 12 in parallel at a time (4 hrs):

tried:   813 - 0.8041543026706232
passing: 711 - 0.8745387453874539
timeout: 95 - 0.11685116851168512

Re-running with 20 min timeout, 8 in parallel at a time (4 hrs):

tried:   913 - 0.9030662710187932
passing: 840 - 0.9200438116100766
timeout: 52 - 0.056955093099671415

Re-running with 120 min timeout, 6 in parallel at a time (8 hrs):

tried:   936 - 0.9258160237388724
passing: 884 - 0.9444444444444444
timeout: 5 - 0.005341880341880342
ehildenb commented 3 years ago

Wedesday Jan 6, 2021

Proofs

Full run of all the proofs:

[test "deps"]
    step = rm -rf deps out
    step = git submodule update --init --recursive
    step = make include.mak
    step = make deps -j3

[test "5min"]
    step = rm -rf log-prove-5
    step = echo % Timeout = 5              >> log-prove
    step = echo                            >> log-prove
    step = make prove -j12 -k KLAB='profile log-prove-5   timeout 300  klab' CHECK_SUB_LEMMAS=true || true
    step = cat log-prove-5   | sort -h -k2 >> log-prove
    step = echo                            >> log-prove

[test "120min"]
    step = rm -rf log-prove-120
    step = echo % Timeout = 120            >> log-prove
    step = echo                            >> log-prove
    step = make prove -j8  -k KLAB='profile log-prove-120 timeout 7200 klab' CHECK_SUB_LEMMAS=true || true
    step = cat log-prove-120 | sort -h -k2 >> log-prove
    step = echo                            >> log-prove

Firefly

ehildenb commented 3 years ago

Wednesday January 13, 2021

Proofs

Firefly

ehildenb commented 3 years ago

Wednesday January 20, 2020

Proofs

Firefly