This repo contains tests for comparing the Certora Prover with Trail of Bits' Echidna fuzzer.
- Sign-up for Certora Free Tier
- Note: It's important to also set the CERTORAKEY environment variable.
- Install the Certora prover
The Certora tests are contained in the specs folder.
The tests were created to verify the following properties from the README:
- AP-04 - the total collateral in active pool should be equal to the sum of all individual CDP collateral (run with
certoraRun eBTC-certora-vs-echidna/certora/confs/AP04.conf
) - BO-07 - eBTC tokens are burned upon repayment of a CDP's debt (run with
certoraRun eBTC-certora-vs-echidna/certora/confs/BO07.conf
) - CDPM-06 - redemptions do not increase a CDPs debt (run with
certoraRun eBTC-certora-vs-echidna/certora/confs/CDPM06.conf
)