diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60c3f7ef6..418bae283 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ name: Build CI on: [push, pull_request] jobs: - build_lint: + build: runs-on: ubuntu-latest strategy: @@ -16,7 +16,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: yarn install, build and lint + - name: yarn install and build run: | yarn install --frozen-lockfile yarn build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0ef1f53ea..baaa40557 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,6 @@ name: Lint -on: [push] +on: [push, pull_request] jobs: lint: diff --git a/src/strategies/defi-app-voting/examples.json b/src/strategies/defi-app-voting/examples.json index 226ea60c4..0c0ab2f5e 100644 --- a/src/strategies/defi-app-voting/examples.json +++ b/src/strategies/defi-app-voting/examples.json @@ -16,4 +16,4 @@ ], "snapshot": 31224505 } -] \ No newline at end of file +] diff --git a/src/strategies/defi-app-voting/index.ts b/src/strategies/defi-app-voting/index.ts index 764084b03..15331e8b1 100644 --- a/src/strategies/defi-app-voting/index.ts +++ b/src/strategies/defi-app-voting/index.ts @@ -26,8 +26,12 @@ export async function strategy( const MFD_CONTRACT = options.lockingContract; const HOME_TOKEN = options.homeToken; - const locksMulticaller = new Multicaller(network, provider, mfdAbi, { blockTag }); - const homeMulticaller = new Multicaller(network, provider, erc20Abi, { blockTag }); + const locksMulticaller = new Multicaller(network, provider, mfdAbi, { + blockTag + }); + const homeMulticaller = new Multicaller(network, provider, erc20Abi, { + blockTag + }); addresses.forEach((address) => { locksMulticaller.call(address, MFD_CONTRACT, 'getUserLocks', [address]);