diff --git a/.github/workflows/evm.yml b/.github/workflows/evm.yml index bdd69a4..e3d0ddd 100644 --- a/.github/workflows/evm.yml +++ b/.github/workflows/evm.yml @@ -1,7 +1,7 @@ -name: test evm +name: test & check evm on: - push: + pull_request: paths: - "evm/**" @@ -15,6 +15,9 @@ jobs: name: Foundry project runs-on: ubuntu-latest + defaults: + run: + working-directory: evm steps: - uses: actions/checkout@v3 with: @@ -27,20 +30,18 @@ jobs: - name: Run Forge build run: | - cd evm forge --version forge build --sizes id: build - name: Run Forge format check run: | - forge --version - forge fmt --check - id: format + forge --version + forge fmt --check + id: format - name: Run Forge tests run: | - cd evm forge test -vvv id: test env: diff --git a/evm/src/template/manifest.yaml b/evm/src/template/manifest.yaml index 069da33..c15890d 100644 --- a/evm/src/template/manifest.yaml +++ b/evm/src/template/manifest.yaml @@ -5,8 +5,9 @@ author: # Protocol Constants constants: + # The expected average gas cost of a swap protocol_gas: 30000 - # minimum capabilities we can expect, individual pools may extend these + # Minimum capabilities we can expect, individual pools may extend these capabilities: - SellSide - BuySide