AllowanceHolder Use top-level calldata for authentication and avoid Permit2 ecrecover
and nonce cancellation PRO-73
#296
Workflow file for this run
This file contains 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: Integration Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install dependencies | |
run: git submodule update --recursive --init | |
- name: Check contract sizes | |
run: forge build --sizes | |
- name: Run tests | |
run: forge test | |
env: | |
FOUNDRY_PROFILE: integration | |
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} | |
- name: Install Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install node dependencies | |
run: npm install | |
- name: Gas comparison | |
run: npm run compare_gas |