Skip to content

fix: [hexen-r9] add overflow check for bin liquidity #547

fix: [hexen-r9] add overflow check for bin liquidity

fix: [hexen-r9] add overflow check for bin liquidity #547

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
forge-tests:
name: Forge Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- run: yarn
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-471e4ac317858b3419faaee58ade30c0671021e0 # Nightly (2024-10-03)
# If FOUNDRY_PROFILE is removed, test will not revert if exceed contract size limit
- name: Run tests
run: yarn test -vvv
env:
FOUNDRY_PROFILE: ${{ github.ref_name == 'main' && 'ci_main' || 'ci' }}