Skip to content

Refactor dependencies to use latest versions and update CI workflows for safe-modules-allowance. #337

Refactor dependencies to use latest versions and update CI workflows for safe-modules-allowance.

Refactor dependencies to use latest versions and update CI workflows for safe-modules-allowance. #337

Workflow file for this run

name: certora
on:
push:
branches:
- main
paths:
- modules/4337/**
pull_request:
branches:
- main
paths:
- modules/4337/**
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
strategy:
matrix:
rule: ['Safe4337Module', 'TransactionExecutionMethods', 'ValidationDataLastBitOne', 'SignatureLengthCheck']
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install python
uses: actions/setup-python@v4
with: { python-version: 3.11 }
- name: Install certora cli
run: pip install -r modules/4337/certora/requirements.txt
- name: Install solc
run: |
wget https://github.com/ethereum/solidity/releases/download/v0.8.23/solc-static-linux
chmod +x solc-static-linux
sudo mv solc-static-linux /usr/local/bin/solc8.23
- name: Install dependencies
run: pnpm install
- name: Verify rule ${{ matrix.rule }}
working-directory: ./modules/4337
run: |
echo "Certora key length" ${#CERTORAKEY}
certoraRun certora/conf/${{ matrix.rule }}.conf --wait_for_results=all
env:
CERTORAKEY: ${{ secrets.CERTORA_KEY }}