feat(scratch): add CSM_DEPLOYMENT_ENABLED and CMV2_DEPLOYMENT_ENABLED… #4373
This file contains hidden or 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] | |
| jobs: | |
| test_hardhat_integration_fork: | |
| name: Hardhat / Mainnet | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 120 | |
| env: | |
| NODE_OPTIONS: --max_old_space_size=10240 | |
| SKIP_GAS_REPORT: true | |
| SKIP_CONTRACT_SIZE: true | |
| SKIP_INTERFACES_CHECK: true | |
| services: | |
| hardhat-node: | |
| image: ghcr.io/lidofinance/hardhat-node:2.28.0 | |
| env: | |
| ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }} | |
| ports: | |
| - 8545:8545 | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Common setup | |
| uses: ./.github/workflows/setup | |
| # https://github.com/foundry-rs/foundry-toolchain | |
| - name: Install foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Install just | |
| run: cargo install just | |
| - name: Run integration tests | |
| run: yarn test:integration:upgrade | |
| env: | |
| NETWORK: "mainnet" | |
| RUN_NETWORK: "local" | |
| # Target the DG proposal explicitly: the Aragon vote already executed on | |
| # mainnet, so its non-DG items must be skipped on the fork. Works both before | |
| # the proposal is enacted (DG items are mock-executed) and after (already | |
| # enacted -> skipped). See scripts/upgrade/steps/0500-mock-upgrade.ts. | |
| PROPOSAL_ID: "12" |