Skip to content

[Certora] Universal rewards distributor verification #20

[Certora] Universal rewards distributor verification

[Certora] Universal rewards distributor verification #20

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:
- MerkleTree
- UniversalRewardsDistributor
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- 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 }}