Skip to content

chore: update timestamp variables to uint40 and cleanup code #21

chore: update timestamp variables to uint40 and cleanup code

chore: update timestamp variables to uint40 and cleanup code #21

Workflow file for this run

name: Forge Fuzz Tests
on:
push:
branches:
- main
pull_request:
permissions: write-all
jobs:
check:
name: Fuzz Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: "21"
- name: Install NPM dependencies
run: npm install
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run Forge build
run: |
forge --version
make sizes
id: build
- name: Run Forge fuzz tests
run: make fuzz profile=ci
env:
# make fuzzing semi-deterministic to avoid noisy gas cost estimation
# due to non-deterministic fuzzing (but still use pseudo-random fuzzing seeds)
FOUNDRY_FUZZ_SEED: 0x${{ github.event.pull_request.base.sha || github.sha }}
MNEMONIC: ${{ secrets.MNEMONIC_FOR_TESTS }}