|
| 1 | +name: certora |
| 2 | + |
| 3 | +concurrency: |
| 4 | + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| 5 | + cancel-in-progress: true |
| 6 | + |
| 7 | +on: |
| 8 | + pull_request: |
| 9 | + branches: |
| 10 | + - certora |
| 11 | + - main |
| 12 | + push: |
| 13 | + branches: |
| 14 | + - main |
| 15 | + |
| 16 | + workflow_dispatch: |
| 17 | + |
| 18 | +jobs: |
| 19 | + verify: |
| 20 | + runs-on: ubuntu-latest |
| 21 | + if: |
| 22 | + github.event.pull_request.head.repo.full_name == github.repository || (github.event_name == 'push' && |
| 23 | + github.ref == format('refs/heads/{0}', github.event.repository.default_branch)) |
| 24 | + permissions: |
| 25 | + contents: read |
| 26 | + statuses: write |
| 27 | + pull-requests: write |
| 28 | + steps: |
| 29 | + - uses: actions/checkout@v4 |
| 30 | + with: |
| 31 | + submodules: recursive |
| 32 | + - uses: Certora/certora-run-action@v1 |
| 33 | + with: |
| 34 | + cli-version: 7.29.3 |
| 35 | + configurations: |- |
| 36 | + certora/conf/stakeToken/rules.conf |
| 37 | + certora/conf/stakeToken/invariants.conf |
| 38 | + certora/conf/rewards/mirrors.conf |
| 39 | + certora/conf/rewards/invariants.conf --rule distributionEnd_NEQ_0 |
| 40 | + certora/conf/rewards/invariants.conf --rule all_rewars_are_different |
| 41 | + certora/conf/rewards/invariants.conf --rule same_distributionEnd_values |
| 42 | + certora/conf/rewards/invariants.conf --rule lastUpdateTimestamp_LEQ_current_time |
| 43 | + certora/conf/rewards/invariants.conf --rule accrued_is_0_for_non_existing_reward |
| 44 | + certora/conf/rewards/invariants.conf --rule userIndex_is_0_for_non_existing_reward |
| 45 | + certora/conf/rewards/invariants.conf --rule distributionEnd_is_0_for_non_existing_reward |
| 46 | + certora/conf/rewards/invariants.conf --rule rewardIndex_is_0_for_non_existing_reward |
| 47 | + certora/conf/rewards/invariants.conf --rule userIndex_LEQ_rewardIndex |
| 48 | + certora/conf/rewards/invariants.conf --rule targetLiquidity_NEQ_0 |
| 49 | + certora/conf/rewards/double_reward.conf |
| 50 | + certora/conf/rewards/single_reward.conf --exclude_rule bob_cant_DOS_alice_to_claim bob_cant_DOS_alice_to_claim__claimSelectedRewards bob_cant_DOS_alice_to_claim__claimAllRewards bob_cant_affect_the_claimed_amount_of_alice |
| 51 | + certora/conf/rewards/single_reward-depth0.conf --rule bob_cant_DOS_alice_to_claim |
| 52 | + certora/conf/rewards/single_reward-depth0.conf --rule bob_cant_DOS_alice_to_claim__claimAllRewards |
| 53 | + certora/conf/rewards/single_reward-depth0.conf --rule bob_cant_DOS_alice_to_claim__claimSelectedRewards |
| 54 | + certora/conf/rewards/single_reward-special_config.conf --rule bob_cant_affect_the_claimed_amount_of_alice |
| 55 | + certora/conf/umbrella/invariants.conf |
| 56 | + certora/conf/umbrella/Umbrella.conf --rule slashing_cant_DOS_other_functions |
| 57 | + certora/conf/umbrella/Umbrella.conf --rule slashing_cant_DOS__coverDeficitOffset |
| 58 | + certora/conf/umbrella/Umbrella.conf --exclude_rule slashing_cant_DOS_other_functions slashing_cant_DOS__coverDeficitOffset |
| 59 | + solc-versions: 0.8.27 |
| 60 | + comment-fail-only: false |
| 61 | + solc-remove-version-prefix: "0." |
| 62 | + job-name: "Certora Prover Run" |
| 63 | + certora-key: ${{ secrets.CERTORAKEY }} |
| 64 | + install-java: true |
| 65 | + env: |
| 66 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments