[midnight adapter] Adapter #3433
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Certora | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| submit: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| statuses: write | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| token: ${{ secrets.MORPHO_V2_READ_TOKEN }} | |
| - name: Install Jq | |
| uses: sergeysova/jq-action@v2 | |
| - name: Run Certora Config Linter | |
| run: | | |
| file="certora/confs/${{ matrix.conf }}.conf" | |
| diff <(grep -v "//" "$file" | jq) <(grep -v "//" "$file") | |
| - name: Apply munging | |
| run: make -C lib/metamorpho/certora munged | |
| - name: Submit verification jobs to Certora Prover | |
| uses: Certora/certora-run-action@main | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| certora-key: ${{ secrets.CERTORAKEY }} | |
| debug-level: 1 | |
| gh-review: never | |
| solc-versions: |- | |
| 0.8.19 | |
| 0.8.21 | |
| 0.8.26 | |
| 0.8.28 | |
| configurations: |- | |
| certora/confs/AbdicatedFunctions.conf | |
| certora/confs/AccrueInterestReverts.conf | |
| certora/confs/AllocateDeallocateInputValidation.conf | |
| certora/confs/AllocateDeallocateReverts.conf | |
| certora/confs/AllocationMorphoMarketV1AdapterV2.conf | |
| certora/confs/AllocationMorphoVaultV1Adapter.conf | |
| certora/confs/AllocationVaultV2.conf | |
| certora/confs/ChangesMorphoMarketV1AdapterV2.conf | |
| certora/confs/ChangesMorphoVaultV1Adapter.conf | |
| certora/confs/EarliestTime.conf | |
| certora/confs/EntrypointEquivalence.conf | |
| certora/confs/ExchangeRate.conf | |
| certora/confs/Gates.conf | |
| certora/confs/IdsMorphoMarketV1AdapterV2.conf | |
| certora/confs/IdsMorphoVaultV1Adapter.conf | |
| certora/confs/Immutability.conf | |
| certora/confs/Invariants.conf | |
| certora/confs/Liveness.conf | |
| certora/confs/MarketIds.conf | |
| certora/confs/OwnerSafety.conf | |
| certora/confs/PreviewFunctions.conf | |
| certora/confs/Reentrancy.conf | |
| certora/confs/ReentrancyView.conf | |
| certora/confs/RelativeCaps.conf | |
| certora/confs/RemoveMarketLiveness.conf | |
| certora/confs/Reverts.conf | |
| certora/confs/SentinelLiveness.conf | |
| certora/confs/SentinelLivenessDeallocateMarketV1.conf | |
| certora/confs/SentinelLivenessDeallocateVaultV1.conf | |
| certora/confs/SkimMorphoMarketV1AdapterV2.conf | |
| certora/confs/SkimMorphoVaultV1Adapter.conf | |
| certora/confs/TokensMorphoMarketV1AdapterV2.conf | |
| certora/confs/TokensMorphoVaultV1Adapter.conf | |
| certora/confs/TokensNoAdapter.conf | |
| certora/confs/TotalAssetsChange.conf | |
| certora/confs/TotalAssetsIsUpToDate.conf |