Skip to content

change absolute diff to relative diff, increase price precision. #1130

change absolute diff to relative diff, increase price precision.

change absolute diff to relative diff, increase price precision. #1130

Workflow file for this run

name: Tests
on: [push, pull_request]
env:
FOUNDRY_PROFILE: ci
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- name: Install Python dependencies
run: pip install -r requirements.txt
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Install dependencies
run: forge install
- name: Check contract sizes
run: forge build --sizes
- name: Run tests
run: forge test -vvv --ffi
- name: Check gas snapshots
run: yarn compare