Skip to content

fix invariants tests #476

fix invariants tests

fix invariants tests #476

Workflow file for this run

name: Certora
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
conf:
- AccrueInterest
- AssetsAccounting
- ConsistentState
- ExactMath
- Health
- LibSummary
- Liveness
- RatioMath
- Reentrancy
- Reverts
- Transfer
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install python
uses: actions/setup-python@v4
- name: Install certora
run: pip install certora-cli
- name: Install solc
run: |
wget https://github.com/ethereum/solidity/releases/download/v0.8.19/solc-static-linux
chmod +x solc-static-linux
sudo mv solc-static-linux /usr/local/bin/solc
- name: Verify ${{ matrix.conf }}
run: certoraRun certora/confs/${{ matrix.conf }}.conf
env:
CERTORAKEY: ${{ secrets.CERTORAKEY }}