Skip to content

feat: add mainnet factory and fix Forge deployment script #56

feat: add mainnet factory and fix Forge deployment script

feat: add mainnet factory and fix Forge deployment script #56

Workflow file for this run

name: hardhat-unit-test
on: [pull_request]
env:
PRIVATE_KEY: ${{ secrets.DUMMY_PKEY }}
DRPC_KEY: ${{ secrets.DRPC_KEY }}
jobs:
test:
runs-on: ubuntu-latest
name: Hardhat unit test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js environment
uses: actions/setup-node@v4
- name: Hardhat Test (Ethereum)
env:
FORK_NETWORK: "ethereum"
run: |
npm install
npx hardhat test test/MainChainGaugeInjectorV2.js
- name: Hardhat Test (Polygon)
env:
FORK_NETWORK: "polygon"
run: npx hardhat test test/ChildChainGaugeInjectorV2.js