Make MultiCall
an ERC2771 forwarder
#1485
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: tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly-59f354c179f4e7f6d7292acb3d068815c79286d1 | |
- name: Install dependencies | |
run: git submodule update --recursive --init | |
- name: Build UniswapV4 | |
run: forge build lib/v4-core/src/PoolManager.sol | |
- name: Build MultiCall | |
run: forge build src/multicall/MultiCall.sol | |
env: | |
FOUNDRY_EVM_VERSION: london | |
FOUNDRY_OPTIMIZER_RUNS: 1000000 | |
- name: Build contracts | |
run: forge build --skip UniswapV4UnitTest.t.sol --skip MultiCall.sol | |
- name: Build UniswapV4 tests | |
run: forge build --skip MultiCall.sol | |
- name: Run tests | |
run: forge test --skip MultiCall.sol -vvv | |
env: | |
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} |