Using wrappedToken in CompositeLiquidityRouter in ERC4626Pool operations #5855
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: CI | |
env: | |
CI: true | |
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} | |
SEPOLIA_RPC_URL: ${{ secrets.SEPOLIA_RPC_URL }} | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: ['*', '**/*'] | |
jobs: | |
lint-and-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Lint | |
run: yarn lint | |
- name: Build | |
run: yarn build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
FORGE_SNAPSHOT_CHECK: true | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
test-forge-vault: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-vault test:forge | |
test-hardhat-vault: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-vault test:hardhat | |
test-hardhat-solidity-utils: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-solidity-utils test:hardhat | |
test-forge-solidity-utils: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-solidity-utils test:forge | |
test-hardhat-pool-weighted: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-pool-weighted test:hardhat | |
test-forge-pool-weighted: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-pool-weighted test:forge | |
test-hardhat-pool-stable: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-pool-stable test:hardhat | |
test-forge-pool-stable: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-pool-stable test:forge | |
test-forge-pool-gyro: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-pool-gyro test:forge | |
test-hardhat-pool-utils: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-pool-utils test:hardhat | |
test-forge-pool-utils: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-pool-utils test:forge | |
test-forge-pool-hooks: | |
runs-on: ubuntu-latest | |
needs: lint-and-build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- uses: actions/download-artifact@v4 | |
with: | |
name: built-contracts | |
path: pkg/ | |
- name: Test | |
run: yarn workspace @balancer-labs/v3-pool-hooks test:forge |